AliPhysics  vAN-20150723 (baea2bf)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliAnalysisTaskPtEfficiencyJets.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKPTEFFICIENCYJETS_H
2 #define ALIANALYSISTASKPTEFFICIENCYJETS_H
3 /* Copyright(c) 1998-2015, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 #include <AliAnalysisTaskEmcalJet.h>
7 #include <TString.h>
8 
9 class AliAnalysisUtils;
10 class AliEmcalJet;
11 class AliJetContainer;
12 class AliVParticle;
13 class AliVTrack;
14 class TNtuple;
15 
16 namespace EMCalTriggerPtAnalysis {
17 
18 class AliEMCalPtTaskVTrackSelection;
19 
20 class AliAnalysisTaskPtEfficiencyJets: public AliAnalysisTaskEmcalJet {
21 public:
23  AliAnalysisTaskPtEfficiencyJets(const char *name);
25 
26  virtual void UserCreateOutputObjects();
27  virtual Bool_t Run();
28 
29  void SetMCJetContainer(const char *name) { fMCJetContainer = name; }
31 
32 protected:
33  AliVTrack *FindAssociatedTrack(AliVParticle *trueParticle);
34  AliEmcalJet *FindAssociatedJet(AliVParticle *trueParticle, AliJetContainer *jets);
35  bool SelectTrueParticle(AliVParticle *part);
36 
37 private:
40 
41  AliAnalysisUtils *fAnalysisUtils;
42  TString fMCJetContainer;
44  TNtuple *fTrackNtuple;
45 
47 };
48 
49 } /* namespace EMCalTriggerPtAnalysis */
50 
51 #endif /* ALIANALYSISTASKPTEFFICIENCYJETS_H */
AliEmcalJet * FindAssociatedJet(AliVParticle *trueParticle, AliJetContainer *jets)
ClassDef(AliAnalysisTaskPtEfficiencyJets, 1)
AliVTrack * FindAssociatedTrack(AliVParticle *trueParticle)
AliAnalysisTaskPtEfficiencyJets & operator=(const AliAnalysisTaskPtEfficiencyJets &)