AliPhysics  f05a842 (f05a842)
 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 
7  public:
10 
11  // Sets up and runs the task
13  Bool_t Run();
14 
15 protected:
16  Int_t GetMomBin(Double_t p) const;
18  void DoMatching();
19  void UpdateTracks();
20  void UpdateClusters();
21  Bool_t IsTrackInEmcalAcceptance(AliVParticle* part, Double_t edges=0.9) const;
22 
23  Double_t fPropDist; // distance to surface (440cm default)
24  Bool_t fDoPropagation; // if true then propagate all hybrid tracks to EMCal surface
25  Bool_t fAttemptProp; // if true then attempt to propagate if not done yet
26  Bool_t fAttemptPropMatch; // if true then attempt to propagate if not done yet but IsEMCAL is true
27  Double_t fMaxDistance; // maximum distance to match clusters and tracks
28  Bool_t fUpdateTracks; // update tracks with matching info
29  Bool_t fUpdateClusters; // update clusters with matching info
30 
31  TClonesArray *fEmcalTracks;
32  TClonesArray *fEmcalClusters;
37  TH1 *fHistMatchEta[8][9][2];
38  TH1 *fHistMatchPhi[8][9][2];
39 
40  private:
43 
44  // Allows the registration of the class so that it is availble to be used by the correction task.
46 
47  ClassDef(AliEmcalCorrectionClusterTrackMatcher, 1) // EMCal cluster track matcher correction component
48 };
49 
50 #endif /* ALIEMCALCORRECTIONCLUSTERTRACKMATCHER_H */
double Double_t
Definition: External.C:58
int Int_t
Definition: External.C:63
AliEmcalCorrectionClusterTrackMatcher & operator=(const AliEmcalCorrectionClusterTrackMatcher &)
Bool_t IsTrackInEmcalAcceptance(AliVParticle *part, Double_t edges=0.9) const
bool Bool_t
Definition: External.C:53
static RegisterCorrectionComponent< AliEmcalCorrectionClusterTrackMatcher > reg
Definition: External.C:196