AliPhysics  vAN-20150425 (2dcf1b0)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliEMCalTriggerRecJetAnalysisComponent.h
Go to the documentation of this file.
1 
11 #ifndef ALIEMCALTRIGGERRECJETANALYSISCOMPONENT_H
12 #define ALIEMCALTRIGGERRECJETANALYSISCOMPONENT_H
13 /* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
14  * See cxx source for full Copyright notice */
15 
18 
19 class TString;
20 class AliEmcalJet;
21 class AliMCEvnet;
22 class AliVParticle;
23 
31 namespace EMCalTriggerPtAnalysis {
32 
33 class AliEMCalPtTaskVTrackSelection;
34 class AliEMCalTriggerEventData;
35 
45 public:
49 
50  virtual void CreateHistos();
51  virtual void Process(const AliEMCalTriggerEventData * const data);
52 
58 
63  void SetMinimumJetPt(Double_t minpt) { fMinimumJetPt = minpt; }
64 
70 
75  void SetSwapEta(Bool_t doSwap = kTRUE) { fSwapEta = doSwap; }
76 
77 protected:
78  const AliVParticle * IsMCTrueTrack(const AliVTrack* const trk, const AliMCEvent* evnt) const;
79  void FillHistogram(const TString &histname, const AliVParticle *track, const AliEmcalJet *jet, double vz, double weight);
80  void FillJetHistogram(const TString &histname, const AliEmcalJet *recjet, double vz, double weight);
81  void FillTrackHistogramCentrality(const TString &histname, const AliVTrack * const trk, const AliEmcalJet *jet, double centpercent, double weight);
83  Double_t fMinimumJetPt;
84  Bool_t fRequestMCtrue;
85  Bool_t fSwapEta;
87 
89  ClassDef(AliEMCalTriggerRecJetAnalysisComponent, 1); // Analysis component for reconstructed Jets
91 };
92 
93 } /* namespace EMCalTriggerPtAnalysis */
94 
95 #endif /* ALIEMCALTRIGGERRECJETANALYSISCOMPONENT_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.
AliEMCalPtTaskVTrackSelection * fTrackSelection
Track selection cuts used in the analysis.
void FillTrackHistogramCentrality(const TString &histname, const AliVTrack *const trk, const AliEmcalJet *jet, double centpercent, double weight)
void FillHistogram(const TString &histname, const AliVParticle *track, const AliEmcalJet *jet, double vz, double weight)
Base class for analysis components in the analysis of EMCAL-triggered events.
void FillJetHistogram(const TString &histname, const AliEmcalJet *recjet, double vz, double weight)
ETriggerMethod_t fTriggerMethod
Method used for the trigger decision.
const AliVParticle * IsMCTrueTrack(const AliVTrack *const trk, const AliMCEvent *evnt) const