AliPhysics  6133e27 (6133e27)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalCorrectionClusterHadronicCorrection.h
Go to the documentation of this file.
1 #ifndef ALIEMCALCORRECTIONCLUSTERHADRONICCORRECTION_H
2 #define ALIEMCALCORRECTIONCLUSTERHADRONICCORRECTION_H
3 
5 
6 #if !(defined(__CINT__) || defined(__MAKECINT__))
8 #endif
9 
10 class TH1;
11 class TH2;
12 
35  public:
38 
39  // Sets up and runs the task
42  void ExecOnce();
43  Bool_t Run();
44 
45 protected:
46  Double_t ApplyHadCorrOneTrack(Int_t icluster, Double_t hadCorr);
47  Double_t ApplyHadCorrAllTracks(Int_t icluster, Double_t hadCorr);
48  void DoMatchedTracksLoop(Int_t icluster, Double_t &totalTrkP, Int_t &Nmatches, Double_t &trkPMCfrac, Int_t &NMCmatches);
49  void DoTrackLoop();
50  Double_t GetEtaSigma(Int_t pbin) const;
51  UInt_t GetMomBin(Double_t pt) const;
52  Double_t GetPhiMean(Int_t pbin, Int_t centbin) const;
53  Double_t GetPhiSigma(Int_t pbin, Int_t centbin) const;
54 
55  // Task configuration
62 
63 #if !(defined(__CINT__) || defined(__MAKECINT__))
64  // Handle mapping between index and containers
67 #endif
68 
69  // QA plots
70  TH2 *fHistMatchEtaPhi[10][9][2];
92 
93  private:
96 
97  // Allows the registration of the class so that it is available to be used by the correction task.
99 
101  ClassDef(AliEmcalCorrectionClusterHadronicCorrection, 3); // EMCal cluster hadronic correction component
103 };
104 
105 #endif /* ALIEMCALCORRECTIONCLUSTERHADRONICCORRECTION_H */
AliEmcalCorrectionClusterHadronicCorrection & operator=(const AliEmcalCorrectionClusterHadronicCorrection &)
double Double_t
Definition: External.C:58
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 * fHistOversubMCClusters[5]
!Over-subtracted energy / cluster energy (cluster MC energy fraction > 95%)
static RegisterCorrectionComponent< AliEmcalCorrectionClusterHadronicCorrection > reg
TH2 * fHistOversubNonMCClusters[5]
!Over-subtracted energy / cluster energy (cluster MC energy fraction < 5%)
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)
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) ...
int Int_t
Definition: External.C:63
unsigned int UInt_t
Definition: External.C:33
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
Hadronic correction component in the EMCal correction framework.
TH1 * fHistEbefore
!average energy of clusters before correction vs. centrality
void DoMatchedTracksLoop(Int_t icluster, Double_t &totalTrkP, Int_t &Nmatches, Double_t &trkPMCfrac, Int_t &NMCmatches)
Definition: External.C:220
TH1 * fHistNclusMatchvsCent
!n clusters matched to some track vs. centrality
bool Bool_t
Definition: External.C:53
AliEmcalContainerIndexMap< AliParticleContainer, AliVParticle > fParticleContainerIndexMap
! Mapping between index and particle containers
TH2 * fHistOversub[5]
!Over-subtracted energy / cluster energy
TH2 * fHistEmbTrackMatchesOversub[5]
!Over-subtracted energy / cluster energy with embedded track matches (non-embedded matches < 5%) ...
Definition: External.C:196
TH2 * fHistMatchEtaPhiAllCl
!deta vs. dphi of all cluster-track pairs (cl loop)
TH2 * fHistNClusMatchCent
!n clusters macthed to some track (tracks allowed to match more than one cluster) ...