AliPhysics  8b695ca (8b695ca)
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 
91 
92 #if !(defined(__CINT__) || defined(__MAKECINT__))
93  // Handle mapping between index and containers
96 #endif
97 
98  TClonesArray *fEmcalTracks;
99  TClonesArray *fEmcalClusters;
104  TH1 *fHistMatchEta[10][9][2];
105  TH1 *fHistMatchPhi[10][9][2];
106 
110 
111 private:
114 
115  // Allows the registration of the class so that it is available to be used by the correction task.
117 
119  ClassDef(AliEmcalCorrectionClusterTrackMatcher, 5); // EMCal cluster track matcher correction component
121 };
122 
123 #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.
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 fUseOuterParamInESDs
Use TPC outer parameters instead of inner parameters for track propagation, ESDs only.
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