1 #ifndef ALIEMCALCORRECTIONCLUSTERHADRONICCORRECTION_H 2 #define ALIEMCALCORRECTIONCLUSTERHADRONICCORRECTION_H 6 #if !(defined(__CINT__) || defined(__MAKECINT__)) 69 #if !(defined(__CINT__) || defined(__MAKECINT__)) Double_t fHadCorr
hadronic correction (fraction)
AliEmcalCorrectionClusterHadronicCorrection & operator=(const AliEmcalCorrectionClusterHadronicCorrection &)
TH2 * fHistMatchEtaPhiAll
!deta vs. dphi of matched cluster-track pairs
TH2 * fHistMatchEtaPhi[10][9][2]
!deta vs. dphi of matched cluster-track pairs
TH2 * fHistNonEmbTrackMatchesOversub[5]
!Over-subtracted energy / cluster energy with non-embedded track matches (embedded matches < 5%) ...
TH2 * fHistNMatchEnergy[5]
!n matches vs. cluster energy
TH2 * fHistOversubMCClusters[5]
!Over-subtracted energy / cluster energy (cluster MC energy fraction > 95%)
Bool_t fUseConstantSubtraction
Flag to perform constant rather than fractional subtract (only applicable if using M02 scheme) ...
static RegisterCorrectionComponent< AliEmcalCorrectionClusterHadronicCorrection > reg
TH2 * fHistOversubNonMCClusters[5]
!Over-subtracted energy / cluster energy (cluster MC energy fraction < 5%)
Bool_t fDoNotOversubtract
do not oversubtract energy from cluster (embedding only)
AliEmcalContainerIndexMap< AliClusterContainer, AliVCluster > fClusterContainerIndexMap
! Mapping between index and cluster containers
TH2 * fHistMatchEvsP[5]
!cluster energy vs. track momentum of matched pairs
TH1 * fHistEsubPch[10]
!Esub vs. total momentum of matched tracks (only 1 match)
Double_t fEtaMatch
eta match value (pp=0.025)
Double_t ApplyHadCorrOneTrack(Int_t icluster, Double_t hadCorr)
TH1 * fHistEafter
!average energy of clusters after correction vs. centrality
TH2 * fHistEsubPchRatAll[5]
!Esub/momentum of matched tracks vs. total momentum of matched tracks (all number of matches) ...
Double_t ApplyHadCorrAllTracks(Int_t icluster, Double_t hadCorr)
TH2 * fHistNCellsEnergy[5][4]
!n cells vs. cluster energy
Base class for correction components in the EMCal correction framework.
TH2 * fHistEsubPchRat[10]
!Esub/momentum of matched tracks vs. total momentum of matched tracks (only 1 match) ...
Double_t fEexclCell
energy/cell that we cannot subtract from the clusters
TH2 * fHistNMatchCent
!n matches vs. centraity
std::map< AliVTrack *, AliParticleContainer * > fTrackToContainerMap
! Mapping between AliVTracks and their respective particle containers. Needed for AODs only...
TH2 * fHistEoPCent
!E/P vs. centrality
Double_t fPhiMatch
phi match value (pp=0.050)
AliEmcalCorrectionClusterHadronicCorrection()
Double_t GetPhiSigma(Int_t pbin, Int_t centbin) const
Bool_t fPlotOversubtractionHistograms
compute and plot oversubtracted energy from embedded/signal matches (embedding only) ...
Double_t ComputeM02Subtraction(const AliVCluster *cluster, Double_t energyclus, Int_t Nmatches, Double_t totalTrkP, Double_t hadCorr)
Hadronic correction component in the EMCal correction framework.
TH1 * fHistEbefore
!average energy of clusters before correction vs. centrality
Double_t GetEtaSigma(Int_t pbin) const
void DoMatchedTracksLoop(Int_t icluster, Double_t &totalTrkP, Int_t &Nmatches, Double_t &trkPMCfrac, Int_t &NMCmatches)
void GenerateTrackToContainerMap()
TH1 * fHistNclusMatchvsCent
!n clusters matched to some track vs. centrality
TH2 * fHistMatchdRvsEP[5]
!matching distance vs. E/P
Bool_t fDoTrackClus
loop over tracks first
AliEmcalContainerIndexMap< AliParticleContainer, AliVParticle > fParticleContainerIndexMap
! Mapping between index and particle containers
Bool_t fUseM02SubtractionScheme
Flag to enable hadronic correction scheme using cluster M02 value.
TH2 * fHistOversub[5]
!Over-subtracted energy / cluster energy
TH2 * fHistEmbTrackMatchesOversub[5]
!Over-subtracted energy / cluster energy with embedded track matches (non-embedded matches < 5%) ...
void UserCreateOutputObjects()
UInt_t GetMomBin(Double_t pt) const
TH1 * fHistNclusvsCent
!n clusters vs. centrality
TH2 * fHistMatchEtaPhiAllCl
!deta vs. dphi of all cluster-track pairs (cl loop)
virtual ~AliEmcalCorrectionClusterHadronicCorrection()
Double_t GetPhiMean(Int_t pbin, Int_t centbin) const
TH2 * fHistNClusMatchCent
!n clusters macthed to some track (tracks allowed to match more than one cluster) ...
Double_t fConstantSubtractionValue
Value to be used for constant subtraction (only applicable if using constant subtraction in M02 schem...