AliPhysics  9b6b435 (9b6b435)
AliAnalysisTaskCharmBaryonsMC.h
Go to the documentation of this file.
1 #ifndef AliAnalysisTaskCharmBaryonsMC_H
2 #define AliAnalysisTaskCharmBaryonsMC_H
3 
4 //
5 // Task used to analize simulations at generation level (i.e. only
6 // needs galice.root and Kinematics.root).
7 //
8 
9 class TH1F;
10 class TH1I;
11 class TGraphErrors;
12 
13 #include "AliAnalysisTaskSE.h"
14 
16  public:
18  AliAnalysisTaskCharmBaryonsMC(const char *name );
20 
21  virtual void UserCreateOutputObjects();
22  virtual void UserExec(Option_t *option);
23  virtual void Terminate(Option_t *);
24  void BookHistograms();
25 
26  void GetHistory(AliMCParticle *part, AliMCEvent *mcevt, Int_t *pdgarray, Int_t *labelarray, Int_t &ngen);
27  Bool_t Match(Int_t a, Int_t b);
29  Bool_t FromBottom(Int_t *hitory);
30  void Finalize();
31  TList * GetList() const { return fMyOut;}
32  private:
33 
36 
38  TH1F * fHistEvt;
39  TH1F * fHistMult;
58 
59  ClassDef(AliAnalysisTaskCharmBaryonsMC, 1);
60 };
61 
62 #endif
TH2D * fHistPtvsRapidityFeeddownLc
! Lc pT distribution in |y|<0.5
TH1D * fHistPtFeeddownXic0
! Xic0 pT distribution in |y|<0.5
void GetHistory(AliMCParticle *part, AliMCEvent *mcevt, Int_t *pdgarray, Int_t *labelarray, Int_t &ngen)
TH1D * fHistPtFeeddownLc
! Lc pT distribution in |y|<0.5
TH2D * fHistPtvsRapidityInclusiveXic0
! Xic0 pT distribution in |y|<0.5
int Int_t
Definition: External.C:63
TH2D * fHistPtvsRapidityPromptXic0
! Xic0 pT distribution in |y|<0.5
TH1D * fHistPtPromptLc
! Lc pT distribution in |y|<0.5
Definition: External.C:204
float Float_t
Definition: External.C:68
Definition: External.C:228
Definition: External.C:212
AliAnalysisTaskCharmBaryonsMC & operator=(const AliAnalysisTaskCharmBaryonsMC &)
virtual void UserExec(Option_t *option)
TH1D * fHistPtFeeddownD0
! D0 pT distribution in |y|<0.5
TH1D * fHistPtPromptD0
! D0 pT distribution in |y|<0.5
TH1D * fHistPtPromptXic0
! Xic0 pT distribution in |y|<0.5
TH2D * fHistPtvsRapidityPromptLc
! Lc pT distribution in |y|<0.5
TH1D * fHistPtInclusiveXic0
! Xic0 pT distribution in |y|<0.5
TH1D * fHistPtInclusiveLc
! Lc pT distribution in |y|<0.5
TH2D * fHistPtvsRapidityFeeddownD0
! D0 pT distribution in |y|<0.5
const char Option_t
Definition: External.C:48
TH1D * fHistPtInclusiveD0
! D0 pT distribution in |y|<0.5
TH2D * fHistPtvsRapidityInclusiveLc
! Lc pT distribution in |y|<0.5
bool Bool_t
Definition: External.C:53
TH2D * fHistPtvsRapidityFeeddownXic0
! Xic0 pT distribution in |y|<0.5
TH2D * fHistPtvsRapidityInclusiveD0
! D0 pT distribution in |y|<0.5
TH2D * fHistPtvsRapidityPromptD0
! D0 pT distribution in |y|<0.5
TList * fMyOut
! list of output histos