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: *
The first approach for energy correction


is obsolete and should be in principle removed.

What I personally used/implemented is the class
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 ( &S=6d7276e6f9612e28feff1e110f9d321d) for details.

Example how to use it is in

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?

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: Tue Sep 27 11:11:02 CEST 2022

Total time taken to generate the page: 0.01317 seconds