AliPhysics  1811c8f (1811c8f)
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 
77  if ( nGen > 5 ) fNMCGenerToAccept = 5 ;
78  else if ( nGen < 0 ) fNMCGenerToAccept = 0 ; }
79  void SetNameOfMCGeneratorsToAccept(Int_t ig, TString name) { if ( ig < 5 || ig >= 0 ) fMCGenerToAccept[ig] = name ; }
80 
90 
91 #if !(defined(__CINT__) || defined(__MAKECINT__))
92  // Handle mapping between index and containers
95 #endif
96 
97  TClonesArray *fEmcalTracks;
98  TClonesArray *fEmcalClusters;
103  TH1 *fHistMatchEta[10][9][2];
104  TH1 *fHistMatchPhi[10][9][2];
105 
109 
110 private:
113 
114  // Allows the registration of the class so that it is available to be used by the correction task.
116 
118  ClassDef(AliEmcalCorrectionClusterTrackMatcher, 4); // EMCal cluster track matcher correction component
120 };
121 
122 #endif /* ALIEMCALCORRECTIONCLUSTERTRACKMATCHER_H */
Bool_t fUpdateClusters
update clusters with matching info
Bool_t fUseDCA
Use DCA as starting point for track propagation, rather than primary vertex.
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
Bool_t fUsePIDmass
Use PID-based mass hypothesis for track propagation, rather than pion mass hypothesis.
TString part
use mixed event to constrain combinatorial background
Definition: InvMassFit.C:52
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
TString fMCGenerToAccept[5]
List with name of generators that should not be included.
Bool_t fMCGenerToAcceptForTrack
Activate the removal of tracks entering the track matching that come from a particular generator...
Int_t fNMCGenerToAccept
Number of MC generators that should not be included in analysis.
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