AliPhysics  9fe175b (9fe175b)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends 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 
24 namespace EMCalTriggerPtAnalysis {
25 
26 class AliEMCalTriggerEventData;
27 
37 public:
41 
42  virtual void CreateHistos();
43  virtual void Process(const AliEMCalTriggerEventData * const data);
44 
49  void SetMinimumJetPt(Double_t minpt) { fMinimumJetPt = minpt; }
50 
55  void SetSingleTrackCuts(AliEmcalTrackSelection * trackcuts) { fTrackSelection = trackcuts; }
56 
61  void SetSwapEta(Bool_t doSwap = kTRUE) { fSwapEta = doSwap; }
62 
63 protected:
64  const AliVParticle * IsMCTrueTrack(const AliVTrack* const trk, const AliMCEvent* evnt) const;
65  void FillHistogram(const TString &histname, const AliVParticle *track, const AliEmcalJet *jet, double vz, double weight);
66  void FillJetHistogram(const TString &histname, const AliEmcalJet *recjet, double vz, double weight);
67  void FillTrackHistogramCentrality(const TString &histname, const AliVTrack * const trk, const AliEmcalJet *jet, double centpercent, double weight);
69  Double_t fMinimumJetPt;
70  Bool_t fRequestMCtrue;
71  Bool_t fSwapEta;
72 
74  ClassDef(AliEMCalTriggerRecJetAnalysisComponent, 1); // Analysis component for reconstructed Jets
76 };
77 
78 } /* namespace EMCalTriggerPtAnalysis */
79 
80 #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)
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:44
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.