AliPhysics  cdeda5a (cdeda5a)
 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 #if !(defined(__CINT__) || defined(__MAKECINT__))
8 #endif
9 
10 class TH1;
11 class TClonesArray;
12 
13 class AliVParticle;
14 
58  public:
61 
62  // Sets up and runs the task
65  void ExecOnce();
66  Bool_t Run();
67 
68  protected:
69  Int_t GetMomBin(Double_t p) const;
71  void DoMatching();
72  void UpdateTracks();
73  void UpdateClusters();
74  Bool_t IsTrackInEmcalAcceptance(AliVParticle* part, Double_t edges=0.9) const;
75 
83 
84 #if !(defined(__CINT__) || defined(__MAKECINT__))
85  // Handle mapping between index and containers
88 #endif
89 
90  TClonesArray *fEmcalTracks;
91  TClonesArray *fEmcalClusters;
96  TH1 *fHistMatchEta[8][9][2];
97  TH1 *fHistMatchPhi[8][9][2];
98 
99  private:
102 
103  // Allows the registration of the class so that it is available to be used by the correction task.
105 
107  ClassDef(AliEmcalCorrectionClusterTrackMatcher, 2); // EMCal cluster track matcher correction component
109 };
110 
111 #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
AliEmcalContainerIndexMap< AliClusterContainer, AliVCluster > fClusterContainerIndexMap
! Mapping between index and cluster containers
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
AliEmcalContainerIndexMap< AliParticleContainer, AliVParticle > fParticleContainerIndexMap
! Mapping between index and particle containers