]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGJE/EMCALJetTasks/Tracks/AliEMCalTriggerMCJetAnalysisComponent.h
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGJE / EMCALJetTasks / Tracks / AliEMCalTriggerMCJetAnalysisComponent.h
CommitLineData
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
10class TString;
11class AliVParticle;
12class AliEmcalJet;
13
14namespace EMCalTriggerPtAnalysis {
15
16class AliEMCalTriggerEventData;
17
18class AliEMCalTriggerMCJetAnalysisComponent: public AliEMCalTriggerTracksAnalysisComponent {
19public:
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
30protected:
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 */