AliPhysics  db95e02 (db95e02)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalCorrectionClusterTrackMatcher.h
Go to the documentation of this file.
1 #ifndef ALIEMCALCORRECTIONCLUSTERTRACKMATCHER_H
2 #define ALIEMCALCORRECTIONCLUSTERTRACKMATCHER_H
3 
5 
6 class TH1;
7 class TClonesArray;
8 
9 class AliVParticle;
10 
54  public:
57 
58  // Sets up and runs the task
61  Bool_t Run();
62 
63  protected:
64  Int_t GetMomBin(Double_t p) const;
66  void DoMatching();
67  void UpdateTracks();
68  void UpdateClusters();
69  Bool_t IsTrackInEmcalAcceptance(AliVParticle* part, Double_t edges=0.9) const;
70 
78 
79  TClonesArray *fEmcalTracks;
80  TClonesArray *fEmcalClusters;
85  TH1 *fHistMatchEta[8][9][2];
86  TH1 *fHistMatchPhi[8][9][2];
87 
88  private:
91 
92  // Allows the registration of the class so that it is availble to be used by the correction task.
94 
96  ClassDef(AliEmcalCorrectionClusterTrackMatcher, 1); // EMCal cluster track matcher correction component
98 };
99 
100 #endif /* ALIEMCALCORRECTIONCLUSTERTRACKMATCHER_H */
Bool_t fUpdateClusters
update clusters with matching info
Double_t fPropDist
distance to surface (440cm default)
Bool_t fAttemptProp
if true then attempt to propagate if not done yet
double Double_t
Definition: External.C:58
Bool_t fUpdateTracks
update tracks with matching info
Bool_t fAttemptPropMatch
if true then attempt to propagate if not done yet but IsEMCAL is true
int Int_t
Definition: External.C:63
Cluster-track matcher component in the EMCal correction framework.
Base class for correction components in the EMCal correction framework.
Bool_t fDoPropagation
if true then propagate all hybrid tracks to EMCal surface
AliEmcalCorrectionClusterTrackMatcher & operator=(const AliEmcalCorrectionClusterTrackMatcher &)
Bool_t IsTrackInEmcalAcceptance(AliVParticle *part, Double_t edges=0.9) const
bool Bool_t
Definition: External.C:53
Double_t fMaxDistance
maximum distance to match clusters and tracks
static RegisterCorrectionComponent< AliEmcalCorrectionClusterTrackMatcher > reg
Definition: External.C:196