GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » EMC » Abnormal distribution
Re: Abnormal distribution [message #14381 is a reply to message #14379] Tue, 22 January 2013 12:55 Go to previous messageGo to previous message
Dima Melnychuk is currently offline  Dima Melnychuk
Messages: 213
Registered: April 2004
Location: National Centre for Nucle...
first-grade participant
From: *fuw.edu.pl
The first approach for energy correction

theHit->GetEnergyCorrected()

is obsolete and should be in principle removed.

What I personally used/implemented is the class
PndEmcClusterCalibrator(method),
which for
method=1 uses the same approach, but with corrected parametrization
and for
method=2 uses the same approach as in PndEmcCorrection class
but with recalculated histograms

See my old post ( https://forum.gsi.de/index.php?t=tree&th=3457&start=0&rid=78 &S=6d7276e6f9612e28feff1e110f9d321d) for details.

Example how to use it is in
/macro/emc/dedicated/EnergyPosCorrection/emc_correction_QA.C

But in short

PndEmcAbsClusterCalibrator * calibrator1= PndEmcClusterCalibrator::MakeEmcClusterCalibrator(1);
PndEmcAbsClusterCalibrator * calibrator2= PndEmcClusterCalibrator::MakeEmcClusterCalibrator(2);

PndEmcCluster *cluster=(PndEmcCluster*)cluster_array->At(i);

Double_t energy=cluster->energy();
Double_t energyC1 = calibrator1->Energy(cluster);
Double_t energyC2 = calibrator2->Energy(cluster);

Method 1 and 2 give in principle close results.

Could you recalculate you initial plot with these corrections?

Dima
 
Read Message
Read Message
Read Message icon2.gif
Read Message
Read Message
Previous Topic: EMC time-based simulation
Next Topic: CHEF2013 - Calorimetry for High Energy Frontier
Goto Forum:
  


Current Time: Fri Apr 19 15:37:41 CEST 2024

Total time taken to generate the page: 0.00968 seconds