AliPhysics  97a96ce (97a96ce)
 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 
7  public:
10 
11  // Sets up and runs the task
13  Bool_t Run();
14 
15 protected:
16  Double_t ApplyHadCorrOneTrack(Int_t icluster, Double_t hadCorr);
17  Double_t ApplyHadCorrAllTracks(Int_t icluster, Double_t hadCorr);
18  void DoMatchedTracksLoop(Int_t icluster, Double_t &totalTrkP, Int_t &Nmatches, Double_t &trkPMCfrac, Int_t &NMCmatches);
19  void DoTrackLoop();
20  Double_t GetEtaSigma(Int_t pbin) const;
21  UInt_t GetMomBin(Double_t pt) const;
22  Double_t GetPhiMean(Int_t pbin, Int_t centbin) const;
23  Double_t GetPhiSigma(Int_t pbin, Int_t centbin) const;
24 
25  // Task configuration
26  Double_t fPhiMatch; // phi match value (pp=0.050)
27  Double_t fEtaMatch; // eta match value (pp=0.025)
28  Bool_t fDoTrackClus; // loop over tracks first
29  Double_t fHadCorr; // hadronic correction (fraction)
30  Double_t fEexclCell; // energy/cell that we cannot subtract from the clusters
31  Bool_t fDoExact; // do exact correction (embedding only)
32 
33  // QA plots
34  TH2 *fHistMatchEtaPhi[8][9][2];
57 
58  private:
61 
62  // Allows the registration of the class so that it is availble to be used by the correction task.
64 
65  ClassDef(AliEmcalCorrectionClusterHadronicCorrection, 1) // EMCal cluster hadronic correction component
66 };
67 
68 #endif /* ALIEMCALCORRECTIONCLUSTERHADRONICCORRECTION_H */
TH2 * fHistEsubPchRatAll[8]
Esub/momentum of matched tracks vs. total momentum of matched tracks (only 1 match) ...
AliEmcalCorrectionClusterHadronicCorrection & operator=(const AliEmcalCorrectionClusterHadronicCorrection &)
double Double_t
Definition: External.C:58
TH2 * fHistMatchEtaPhiAll
deta vs. dphi of matched cluster-track pairs
static RegisterCorrectionComponent< AliEmcalCorrectionClusterHadronicCorrection > reg
TH2 * fHistOversubNonMCClusters[4]
Over-subtracted energy / cluster energy (cluster MC energy fraction > 95%)
TH2 * fHistOversub[4]
Over-subtracted energy / cluster energy (cluster MC energy fraction < 5%)
TH2 * fHistMatchEvsP[4]
deta vs. dphi of all cluster-track pairs (cl loop)
TH2 * fHistEsubPchRat[8]
Esub vs. total momentum of matched tracks (only 1 match)
TH1 * fHistEafter
average energy of clusters before correction vs. centrality
int Int_t
Definition: External.C:63
unsigned int UInt_t
Definition: External.C:33
TH2 * fHistEoPCent
average energy of clusters after correction vs. centrality
TH2 * fHistNMatchEnergy[4]
cluster energy vs. track momentum of matched pairs
TH2 * fHistNonEmbTrackMatchesOversub[4]
Over-subtracted energy / cluster energy with embedded track matches (non-embedded matches < 5%) ...
TH1 * fHistEbefore
n clusters matched to some track vs. centrality
void DoMatchedTracksLoop(Int_t icluster, Double_t &totalTrkP, Int_t &Nmatches, Double_t &trkPMCfrac, Int_t &NMCmatches)
Definition: External.C:220
TH2 * fHistEmbTrackMatchesOversub[4]
Esub/momentum of matched tracks vs. total momentum of matched tracks (all number of matches) ...
TH2 * fHistMatchEtaPhiAllTr
deta vs. dphi of matched cluster-track pairs
bool Bool_t
Definition: External.C:53
TH1 * fHistEsubPch[8]
n clusters macthed to some track (tracks allowed to match more than one cluster)
TH2 * fHistOversubMCClusters[4]
Over-subtracted energy / cluster energy with non-embedded track matches (embedded matches < 5%) ...
Definition: External.C:196
TH2 * fHistMatchEtaPhiAllCl
deta vs. dphi of all cluster-track pairs (tr loop)