AliPhysics  db95e02 (db95e02)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalClusTrackMatcherTask.h
Go to the documentation of this file.
1 #ifndef ALIEMCALCLUSTRACKMATCHERTASK_H
2 #define ALIEMCALCLUSTRACKMATCHERTASK_H
3 
4 #include "AliAnalysisTaskEmcal.h"
5 
7  public:
9  AliEmcalClusTrackMatcherTask(const char *name, Bool_t histo=kFALSE);
11 
12  void SetPropDist(Double_t d) { fPropDist = d; }
20 
21  protected:
22  void ExecOnce();
23  Int_t GetMomBin(Double_t p) const;
24  Bool_t Run();
26 
28  void DoMatching();
29  void UpdateTracks();
30  void UpdateClusters();
31 
32  Double_t fPropDist; // distance to surface (440cm default)
33  Bool_t fDoPropagation; // if true then propagate all hybrid tracks to EMCal surface
34  Bool_t fAttemptProp; // if true then attempt to propagate if not done yet
35  Bool_t fAttemptPropMatch; // if true then attempt to propagate if not done yet but IsEMCAL is true
36  Double_t fMaxDistance; // maximum distance to match clusters and tracks
37  Bool_t fAttachEmcalParticles; // attach emcal particles to the event, so that other tasks can use them
38  Bool_t fUpdateTracks; // update tracks with matching info
39  Bool_t fUpdateClusters; // update clusters with matching info
40 
41  TClonesArray *fEmcalTracks;
42  TClonesArray *fEmcalClusters;
47  TH1 *fHistMatchEta[8][9][2];
48  TH1 *fHistMatchPhi[8][9][2];
49 
50  private:
53 
54  ClassDef(AliEmcalClusTrackMatcherTask, 7) // Cluster-Track matching task
55 };
56 #endif
double Double_t
Definition: External.C:58
Base task in the EMCAL framework.
TClonesArray * fEmcalClusters
emcal tracks
TH1 * fHistMatchPhi[8][9][2]
deta distribution
int Int_t
Definition: External.C:63
AliEmcalClusTrackMatcherTask & operator=(const AliEmcalClusTrackMatcherTask &)
TH1 * fHistMatchEta[8][9][2]
dphi distribution
Int_t fNEmcalClusters
number of emcal tracks
bool Bool_t
Definition: External.C:53
TH1 * fHistMatchEtaAll
number of emcal clusters
Definition: External.C:196