AliPhysics  v5-06-11-01 (156c7f3)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
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 
15 
16 class TString;
17 class AliVParticle;
18 class AliVTrack;
19 class AliMCEvent;
20 
28 namespace EMCalTriggerPtAnalysis {
29 
30 class AliEMCalTriggerEventData;
31 class AliEMCalPtTaskVTrackSelection;
32 
44 public:
48 
49  virtual void CreateHistos();
50  virtual void Process(const AliEMCalTriggerEventData * const data);
51 
57  void SetSwapEta(Bool_t doSwap = kTRUE) { fSwapEta = doSwap; }
58 
67 
75  void SetRequestMCtrueTracks(Bool_t doRequest = kTRUE) { fRequestMCtrue = doRequest; }
76 
84 
85 protected:
86  const AliVParticle *IsMCTrueTrack(const AliVTrack *const trk, const AliMCEvent *evnt) const;
87  void FillHistogram(const TString &histname, const AliVTrack *const trk, const AliVParticle *assocMC, const AliVEvent * const recev, Bool_t useMCkine, Double_t weight);
88  void FillCorrelation(const AliVParticle *const genparticle, const AliVParticle * const recparticle, double weight = 1.);
89 
91  Bool_t fSwapEta;
93  Bool_t fRequestMCtrue;
94 
96  ClassDef(AliEMCalTriggerRecTrackAnalysisComponent, 1); // Analysis component for charged tracks
98 };
99 
100 } /* namespace EMCalTriggerPtAnalysis */
101 
102 #endif /* ALIEMCALTRIGGERRECTRACKANALYSISCOMPONENT_H */
ETriggerMethod_t
Methods available to select event as triggered events.
Declaration of class AliEMCalTriggerAnaTriggerDecision, a container for trigger decision in EMCAL-tri...
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.
AliEMCalPtTaskVTrackSelection * fTrackSelection
Track selection cuts used in the analysis.
virtual void CreateHistos()
Creating histograms for the analysis component.
Base class for analysis components in the analysis of EMCAL-triggered events.
void FillCorrelation(const AliVParticle *const genparticle, const AliVParticle *const recparticle, double weight=1.)
virtual void Process(const AliEMCalTriggerEventData *const data)
Run track loop on list of matching tracks.