]>
Commit | Line | Data |
---|---|---|
edc6be66 | 1 | #ifndef ALIEMCALTRIGGERMCJETANALYSISCOMPONENT_H |
2 | #define ALIEMCALTRIGGERMCJETANALYSISCOMPONENT_H | |
3 | /* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | // Author: Markus Fasel | |
7 | ||
8 | #include "AliEMCalTriggerTracksAnalysisComponent.h" | |
9 | ||
10 | class TString; | |
11 | class AliVParticle; | |
12 | class AliEmcalJet; | |
13 | ||
14 | namespace EMCalTriggerPtAnalysis { | |
15 | ||
16 | class AliEMCalTriggerEventData; | |
17 | ||
18 | class AliEMCalTriggerMCJetAnalysisComponent: public AliEMCalTriggerTracksAnalysisComponent { | |
19 | public: | |
20 | AliEMCalTriggerMCJetAnalysisComponent(); | |
21 | AliEMCalTriggerMCJetAnalysisComponent(const char * name); | |
22 | virtual ~AliEMCalTriggerMCJetAnalysisComponent() {} | |
23 | ||
24 | virtual void CreateHistos(); | |
25 | virtual void Process(const AliEMCalTriggerEventData * const data); | |
26 | ||
27 | void SetUsePatches(Bool_t doUse = kTRUE) { fUsePatches = doUse; } | |
28 | void SetMinimumJetPt(Double_t minpt) { fMinimumJetPt = minpt; } | |
29 | ||
30 | protected: | |
31 | void FillHistogram(const TString &histname, const AliVParticle *track, const AliEmcalJet *jet, double vz); | |
b22ca299 | 32 | void FillJetHistogram(const TString &histname, const AliEmcalJet *recjet, double vz); |
edc6be66 | 33 | |
34 | Double_t fMinimumJetPt; // Min. pt request for the jet | |
35 | Bool_t fUsePatches; // Use patches for trigger decision | |
36 | ||
37 | ClassDef(AliEMCalTriggerMCJetAnalysisComponent, 1); // Analysis component for MC Jets | |
38 | }; | |
39 | ||
40 | } /* namespace EMCalTriggerPtAnalysis */ | |
41 | ||
42 | #endif /* ALIEMCALTRIGGERMCJETANALYSISCOMPONENT_H */ |