AliPhysics  75b74d3 (75b74d3)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 
17 
18 class TString;
19 class AliEmcalJet;
21 class AliMCEvnet;
22 class AliVParticle;
23 
31 namespace EMCalTriggerPtAnalysis {
32 
33 class AliEMCalTriggerEventData;
34 
44 public:
48 
49  virtual void CreateHistos();
50  virtual void Process(const AliEMCalTriggerEventData * const data);
51 
56  void SetMinimumJetPt(Double_t minpt) { fMinimumJetPt = minpt; }
57 
62  void SetSingleTrackCuts(AliEmcalTrackSelection * trackcuts) { fTrackSelection = trackcuts; }
63 
68  void SetSwapEta(Bool_t doSwap = kTRUE) { fSwapEta = doSwap; }
69 
70 protected:
71  const AliVParticle * IsMCTrueTrack(const AliVTrack* const trk, const AliMCEvent* evnt) const;
72  void FillHistogram(const TString &histname, const AliVParticle *track, const AliEmcalJet *jet, double vz, double weight);
73  void FillJetHistogram(const TString &histname, const AliEmcalJet *recjet, double vz, double weight);
74  void FillTrackHistogramCentrality(const TString &histname, const AliVTrack * const trk, const AliEmcalJet *jet, double centpercent, double weight);
76  Double_t fMinimumJetPt;
77  Bool_t fRequestMCtrue;
78  Bool_t fSwapEta;
79 
81  ClassDef(AliEMCalTriggerRecJetAnalysisComponent, 1); // Analysis component for reconstructed Jets
83 };
84 
85 } /* namespace EMCalTriggerPtAnalysis */
86 
87 #endif /* ALIEMCALTRIGGERRECJETANALYSISCOMPONENT_H */
Interface for virtual track selection.
Base class for analysis components.
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)
Simple event container within the high- track analysis.
const AliVParticle * IsMCTrueTrack(const AliVTrack *const trk, const AliMCEvent *evnt) const
AliEmcalTrackSelection * fTrackSelection
Track selection cuts used in the analysis.