AliPhysics  d497afb (d497afb)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskEmcalJetV0CF.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKEMCALJETV0CF_H
2 #define ALIANALYSISTASKEMCALJETV0CF_H
3 
4 #include <TH1D.h>
6 //=============================================================================
7 
8 class TClonesArray;
9 class TVector3;
10 
11 class AliAODEvent;
12 class AliESDEvent;
13 class AliCentrality;
14 
17 class AliJetContainer;
18 //=============================================================================
19 
21 
22  public :
23 
25  AliAnalysisTaskEmcalJetV0CF(const char *name, const Bool_t bHistos=kTRUE);
27 
28  virtual void Init();
29  virtual void LocalInit() { Init(); }
30  virtual void UserCreateOutputObjects();
31  virtual void Terminate(Option_t *opt);
32 
33  void SetKaCutNS(Double_t d) { fKaCutNS = d; }
34  void SetLaCutNS(Double_t d) { fLaCutNS = d; }
35  void SetHistoKshortInvM(TH1D const *h) { fHistoKshortInvM = new TH1D(*h); }
36  void SetHistoLambdaInvM(TH1D const *h) { fHistoLambdaInvM = new TH1D(*h); }
37  void SetHistoAntiLaInvM(TH1D const *h) { fHistoAntiLaInvM = new TH1D(*h); }
38  void SetV0EtaRange(Double_t dMin, Double_t dMax) { fV0CutMinEta = dMin, fV0CutMaxEta = dMax; }
39 //=============================================================================
40 
41  protected :
42 
43  virtual void ExecOnce();
44  virtual Bool_t FillGeneralHistograms();
45  virtual Bool_t FillHistograms();
46  virtual Bool_t IsEventSelected();
47  virtual Bool_t RetrieveEventObjects();
48  virtual Bool_t Run();
49 //=============================================================================
50 
51  private :
52 
55 
59 
60  Bool_t IsV0InJet(TVector3 vV0, Double_t dJetPtMin);
61 
64 
67 
70  AliCentrality *fCentInfo;
71 
75 
78 
79  TClonesArray *fV0s;
80 
84 
86 
87  ClassDef(AliAnalysisTaskEmcalJetV0CF, 2);
88 };
89 
90 #endif
double Double_t
Definition: External.C:58
Bool_t IsV0InJet(TVector3 vV0, Double_t dJetPtMin)
AliAnalysisTaskEmcalJetV0CF & operator=(const AliAnalysisTaskEmcalJetV0CF &)
virtual Bool_t Run()
Run function. This is the core function of the analysis and contains the user code. Therefore users have to implement this function.
virtual Bool_t RetrieveEventObjects()
Retrieve common objects from event.
Container for particles within the EMCAL framework.
virtual Bool_t FillHistograms()
Function filling histograms.
Definition: External.C:212
void SetV0EtaRange(Double_t dMin, Double_t dMax)
virtual Bool_t IsEventSelected()
Performing event selection.
Base task in the EMCAL jet framework.
const char Option_t
Definition: External.C:48
virtual Bool_t FillGeneralHistograms()
Filling general histograms.
bool Bool_t
Definition: External.C:53
virtual void ExecOnce()
Perform steps needed to initialize the analysis.
Container structure for EMCAL clusters.
virtual void Terminate(Option_t *opt)
Container for jet within the EMCAL jet framework.