AliPhysics  41af4b0 (41af4b0)
AliEMCalTriggerRecTrackAnalysisComponent.h
Go to the documentation of this file.
1 
8 #ifndef ALIEMCALTRIGGERRECTRACKANALYSISCOMPONENT_H
9 #define ALIEMCALTRIGGERRECTRACKANALYSISCOMPONENT_H
10 /* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
11  * See cxx source for full Copyright notice */
12 
14 
15 class TList;
16 class TString;
17 class AliVParticle;
18 class AliVTrack;
19 class AliMCEvent;
21 
22 namespace EMCalTriggerPtAnalysis {
23 
24 class AliEMCalTriggerEventData;
25 
37 public:
41 
42  virtual void CreateHistos();
43  virtual void Process(const AliEMCalTriggerEventData * const data);
44 
50  void SetSwapEta(Bool_t doSwap = kTRUE) { fSwapEta = doSwap; }
51 
59  void SetRequestMCtrueTracks(Bool_t doRequest = kTRUE) { fRequestMCtrue = doRequest; }
60 
66  void SetRequestMatchTriggerPatches(Bool_t doRequest = kTRUE) { fDoMatchPatches = doRequest; }
67 
75 
76 protected:
77  const AliVParticle *IsMCTrueTrack(const AliVTrack *const trk, const AliMCEvent *evnt) const;
78  void FillHistogram(const TString &histname, const AliVTrack *const trk, const AliVParticle *assocMC, const AliVEvent * const recev, Bool_t useMCkine, Double_t weight);
79  void FillCorrelation(const AliVParticle *const genparticle, const AliVParticle * const recparticle, double weight = 1.);
80  void MatchTriggerPatches(const AliVTrack *rectrack, const TClonesArray *inputpatches, TList &outputpatches) const;
81  Bool_t HasMatchedPatchOfType(TString triggertype, const TList & patches) const;
82 
87 
89  ClassDef(AliEMCalTriggerRecTrackAnalysisComponent, 1); // Analysis component for charged tracks
91 };
92 
93 } /* namespace EMCalTriggerPtAnalysis */
94 
95 #endif /* ALIEMCALTRIGGERRECTRACKANALYSISCOMPONENT_H */
Interface for virtual track selection.
double Double_t
Definition: External.C:58
Base class for analysis components.
void FillHistogram(const TString &histname, const AliVTrack *const trk, const AliVParticle *assocMC, const AliVEvent *const recev, Bool_t useMCkine, Double_t weight)
Fill main track-based histogram.
const AliVParticle * IsMCTrueTrack(const AliVTrack *const trk, const AliMCEvent *evnt) const
Check whether track is a true signal track.
virtual void CreateHistos()
Creating histograms for the analysis component.
Base class for analysis components in the analysis of EMCAL-triggered events.
AliEmcalTrackSelection * fTrackSelection
Track selection cuts used in the analysis.
Analysis of high- tracks in triggered events.
Bool_t HasMatchedPatchOfType(TString triggertype, const TList &patches) const
void FillCorrelation(const AliVParticle *const genparticle, const AliVParticle *const recparticle, double weight=1.)
void MatchTriggerPatches(const AliVTrack *rectrack, const TClonesArray *inputpatches, TList &outputpatches) const
Simple event container within the high- track analysis.
bool Bool_t
Definition: External.C:53
virtual void Process(const AliEMCalTriggerEventData *const data)
Run track loop on list of matching tracks.