AliPhysics  59e0e03 (59e0e03)
AliAnalysisTaskEmcalTriggerJets.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKEMCALTRIGGERJETS_H
2 #define ALIANALYSISTASKEMCALTRIGGERJETS_H
3 // Copyright (C) 2017, Copyright Holders of the ALICE Collaboration
4 // All rights reserved.
5 
7 
8 class AliJetContainer;
9 class AliPIDResponse;
10 class THistManager;
11 class TString;
12 
13 namespace EmcalTriggerJets {
14 
16 public:
18  AliAnalysisTaskEmcalTriggerJets(const char *name);
20 
22 
23 protected:
24 
25  virtual void UserCreateOutputObjects();
26  virtual void UserExecOnce();
27  virtual bool Run();
28 
29  void FillJetPIDPlots(const AliEmcalJet *jet, double radius, const char *trigger, const char *detector);
30  void FillJetPIDPlotsLeading(const AliVTrack *leading, double ptjet, double radius, const char *trigger, const char *detector);
31 
32 private:
35 
36  AliPIDResponse *fPIDResponse;
38 
42 };
43 
44 } /* namespace EmcalTriggerJets */
45 
46 #endif /* ALIANALYSISTASKEMCALTRIGGERJETS_H */
AliAnalysisTaskEmcalTriggerJets & operator=(const AliAnalysisTaskEmcalTriggerJets &)
void FillJetPIDPlots(const AliEmcalJet *jet, double radius, const char *trigger, const char *detector)
virtual void UserExecOnce()
Task initializations handled in user tasks.
Base task in the EMCAL jet framework.
Represent a jet reconstructed using the EMCal jet framework.
Definition: AliEmcalJet.h:51
Container class for histograms.
Definition: THistManager.h:99
void FillJetPIDPlotsLeading(const AliVTrack *leading, double ptjet, double radius, const char *trigger, const char *detector)
Container for jet within the EMCAL jet framework.
virtual bool Run()
Run function. This is the core function of the analysis and contains the user code. Therefore users have to implement this function.
static AliAnalysisTaskEmcalTriggerJets * AddTaskEmcalTriggerJets(const char *name)