]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIEMCALTRIGGERRECJETANALYSISCOMPONENT_H | |
2 | #define ALIEMCALTRIGGERRECJETANALYSISCOMPONENT_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 AliEmcalJet; | |
12 | class AliMCEvnet; | |
13 | class AliVParticle; | |
14 | ||
15 | namespace EMCalTriggerPtAnalysis { | |
16 | ||
17 | class AliEMCalPtTaskVTrackSelection; | |
18 | class AliEMCalTriggerEventData; | |
19 | ||
20 | class AliEMCalTriggerRecJetAnalysisComponent: public AliEMCalTriggerTracksAnalysisComponent { | |
21 | public: | |
22 | AliEMCalTriggerRecJetAnalysisComponent(); | |
23 | AliEMCalTriggerRecJetAnalysisComponent(const char *name); | |
24 | virtual ~AliEMCalTriggerRecJetAnalysisComponent(); | |
25 | ||
26 | virtual void CreateHistos(); | |
27 | virtual void Process(const AliEMCalTriggerEventData * const data); | |
28 | ||
29 | void SetUsePatches(Bool_t doUse = kTRUE) { fUsePatches = doUse; } | |
30 | void SetMinimumJetPt(Double_t minpt) { fMinimumJetPt = minpt; } | |
31 | void SetSingleTrackCuts(AliEMCalPtTaskVTrackSelection * trackcuts) { fTrackSelection = trackcuts; } | |
32 | void SetSwapEta(Bool_t doSwap = kTRUE) { fSwapEta = doSwap; } | |
33 | ||
34 | protected: | |
35 | AliVParticle * IsMCTrueTrack(const AliVTrack* const trk, const AliMCEvent* evnt) const; | |
36 | void FillHistogram(const TString &histname, const AliVParticle *track, const AliEmcalJet *jet, double vz); | |
37 | void FillJetHistogram(const TString &histname, const AliEmcalJet *recjet, double vz); | |
38 | AliEMCalPtTaskVTrackSelection *fTrackSelection; // Track selection cuts used in the analysis | |
39 | Double_t fMinimumJetPt; // Minimum jet pt | |
40 | Bool_t fRequestMCtrue; // Request MC true track | |
41 | Bool_t fSwapEta; // Swap eta sign on request | |
42 | Bool_t fUsePatches; // Use patches for trigger decision | |
43 | ||
44 | ClassDef(AliEMCalTriggerRecJetAnalysisComponent, 1); // Analysis component for reconstructed Jets | |
45 | }; | |
46 | ||
47 | } /* namespace EMCalTriggerPtAnalysis */ | |
48 | ||
49 | #endif /* ALIEMCALTRIGGERRECJETANALYSISCOMPONENT_H */ |