AliPhysics  c7b8e89 (c7b8e89)
AliAnalysisTaskGammaPureMC.h
Go to the documentation of this file.
1 #ifndef ALIANLYSISTASKGAMMAPUREMC_cxx
2 #define ALIANLYSISTASKGAMMAPUREMC_cxx
3 
4 #include "AliAnalysisTaskSE.h"
5 #include "AliAnalysisManager.h"
6 
8  public:
17  };
18 
24  kPdgPi0 = 111,
25  kPdgRho0 = 113,
26  kPdgK0Long = 130,
27  kPdgPiPlus = 211,
28  kPdgPiMinus = -211,
29  kPdgRhoPlus = 213,
30  kPdgRhoMinus = -213,
31  kPdgEta = 221,
32  kPdgOmega = 223,
33  kPdgK0Short = 310,
34  kPdgKStar = 313,
35  kPdgKPlus = 321,
36  kPdgKMinus = -321,
37  kPdgEtaPrime = 331,
38  kPdgPhi = 333,
39  kPdgJPsi = 443,
40  kPdgDeltaMinus = 1114,
41  kPdgDelta0 = 2114,
42  kPdgDeltaPlus = 2214,
44  kPdgSigmaMinus = 3112,
45  kPdgSigma0 = 3212,
46  kPdgLambda = 3122,
47  kPdgSigmaPlus = 3222,
48  kPdgXiMinus = 3312,
49  kPdgXi0 = 3322
50  };
51 
53  AliAnalysisTaskGammaPureMC(const char *name);
55 
56  virtual void UserCreateOutputObjects();
57  virtual void UserExec(Option_t *);
58  virtual void Terminate(const Option_t*);
59 
60  // MC functions
62  void ProcessMCParticles();
63  bool IsInPCMAcceptance(TParticle* part) const;
64  bool IsInPHOSAcceptance(TParticle* part) const;
65  bool IsInEMCalAcceptance(TParticle* part) const;
66 
67  // additional functions
68  void SetLogBinningXTH1(TH1* histoRebin);
69  void SetLogBinningXTH2(TH2* histoRebin);
70  void SetIsK0(Int_t isK0){fIsK0 = isK0;}
71  void SetMaxPt(Double_t pTmax){fMaxpT = pTmax;}
72 
73  protected:
75  // histograms events
76  TH1F* fHistNEvents;
78  TH1F* fHistPtHard;
79  // histograms mesons
102 
119 
131 
143 
151 
159 
160 
161  Int_t fIsK0; // k0 flag
162  Int_t fIsMC; // MC flag
163  Double_t fMaxpT; // MC flag
164 
165 
166  private:
167  AliAnalysisTaskGammaPureMC(const AliAnalysisTaskGammaPureMC&); // Prevent copy-construction
168  AliAnalysisTaskGammaPureMC &operator=(const AliAnalysisTaskGammaPureMC&); // Prevent assignment
169 
170  ClassDef(AliAnalysisTaskGammaPureMC, 5);
171 };
172 
173 #endif
TH2F * fHistPtYPi0FromKGGEMCAccDiffPi0
histo for Pi0 from K gamma gamma channel, acceptance by same pi0
TH2F * fHistPtYEtaGGPCMEMCAcc
histo for Etas gamma gamma channel, PHOS acceptance
TH2F * fHistPtYPi0FromKGGEMCAccSamePi0
histo for Pi0 from K gamma gamma channel, EMC-PCM acceptance
TH2F * fHistPtYEtaPrimeGGPCMPHOAcc
histo for EtaPrims gamma gamma channel, PCM-EMCal acceptance
TH2F * fHistPtAlphaEtaPrimeGGPCMPHOAcc
histo for Eta's gamma gamma channel, PCM-EMCal acceptance
double Double_t
Definition: External.C:58
TH2F * fHistPtAlphaPi0FromKGG
histo for Pi0 from K gamma gamma channel, mixed acceptance
Definition: External.C:236
TH2F * fHistPtAlphaPi0GGPHOAcc
histo for Pi0s gamma gamma channel, EMCal acceptance
TH2F * fHistPtYPi0FromKGGEMCPCMAcc
histo for Pi0 from K gamma gamma channel, PCM-EMC acceptance
SupportedPdg_t
Definition of constants for PDG codes used within the task.
TH2F * fHistPtAlphaEtaPrimeGGPCMAcc
histo for Pi0s gamma gamma channel, PCM-PHOS acceptance
TH2F * fHistPtAlphaEtaGGPCMAcc
histo for Etas gamma gamma channel, PCM-PHOS acceptance
virtual void Terminate(const Option_t *)
TH2F * fHistPtYPi0GGEMCAcc
histo for Pi0s gamma gamma channel, PCM acceptance
AliAnalysisTaskGammaPureMC & operator=(const AliAnalysisTaskGammaPureMC &)
TH2F * fHistPtYDeltaMi
histo for Delta+
TH2F * fHistPtAlphaPi0FromKGGPCMEMCAcc
histo for Pi0 from K gamma gamma channel, EMC acceptance (Alpha)
TH2F * fHistPtAlphaEtaPrimeGGPHOAcc
histo for Eta's gamma gamma channel, EMCal acceptance
TH2F * fHistPtYPi0GGPCMAcc
histo for Pi0s gamma gamma channel
TH2F * fHistPtYEtaGGPCMPHOAcc
histo for Etas gamma gamma channel, PCM-EMCal acceptance
bool IsInPCMAcceptance(TParticle *part) const
TH2F * fHistPtAlphaEtaGGPCMEMCAcc
histo for Etas gamma gamma channel, PHOS acceptance
TH2F * fHistPtYEtaPrimeGGEMCAcc
histo for EtaPrims gamma gamma channel, PCM acceptance
TH2F * fHistPtAlphaPi0FromKGGPCMAcc
histo for Pi0 from K gamma gamma channel (Alpha)
TH2F * fHistPtYEtaGGPHOAcc
histo for Etas gamma gamma channel, EMCal acceptance
TH2F * fHistPtYEtaGG
histo for Pi0s gamma gamma channel, PCM-PHOS acceptance
TH2F * fHistPtYSigma0
histo for J/psi
TH2F * fHistPtAlphaEtaPrimeGGEMCAcc
histo for Eta's gamma gamma channel, PCM acceptance
TH2F * fHistPtYEtaPrimeGG
histo for Etas gamma gamma channel, PCM-PHOS acceptance
TH1F * fHistNEvents
Output container.
int Int_t
Definition: External.C:63
TH2F * fHistPtYDeltaPl
histo for Delta++
TH2F * fHistPtYPi0GGPCMEMCAcc
histo for Pi0s gamma gamma channel, PHOS acceptance
TH2F * fHistPtYPi0GG
histo for Pi-s from Ks
TH2F * fHistPtAlphaPi0GGPCMPHOAcc
histo for Pi0s gamma gamma channel, PCM-EMCal acceptance
TH2F * fHistPtYPi0GGPHOAcc
histo for Pi0s gamma gamma channel, EMCal acceptance
TH2F * fHistPtYEtaGGEMCAcc
histo for Etas gamma gamma channel, PCM acceptance
bool IsInEMCalAcceptance(TParticle *part) const
TH2F * fHistPtYPiMiFromK
histo for Pi+s form Ks
Definition: External.C:212
TH2F * fHistPtYRho0
histo for Omegas
TH2F * fHistPtAlphaPi0FromKGGEMCAccSamePi0
histo for Pi0 from K gamma gamma channel, EMC-PCM acceptance (Alpha)
TH2F * fHistPtAlphaPi0FromKGGEMCAcc
histo for Pi0 from K gamma gamma channel, PCM acceptance (Alpha)
TH2F * fHistPtAlphaEtaGGPCMPHOAcc
histo for Etas gamma gamma channel, PCM-EMCal acceptance
TH2F * fHistPtYPi0FromKGGEMCAcc
histo for Pi0 from K gamma gamma channel, PCM acceptance
AcceptanceType_t
Enumeration for acceptance type.
TH2F * fHistPtYPi0GGPCMPHOAcc
histo for Pi0s gamma gamma channel, PCM-EMCal acceptance
TH2F * fHistPtYLambda
histo for Delta0
TH2F * fHistPtAlphaPi0GGPCMAcc
histo for Pi0s gamma gamma channel, PCM-PHOS acceptance
TH1D * fHistXSection
number of events histo
TH2F * fHistPtAlphaEtaPrimeGGPCMEMCAcc
histo for Eta's gamma gamma channel, PHOS acceptance
Bool_t isMC
TH2F * fHistPtAlphaPi0GGPCMEMCAcc
histo for Pi0s gamma gamma channel, PHOS acceptance
TH2F * fHistPtYPi0FromK
histo for Pi0s from Lambdas
TH2F * fHistPtYDelta0
histo for Delta-
TH2F * fHistPtYEtaPrime
histo for Etas
Definition: External.C:220
TH2F * fHistPtYEtaPrimeGGPCMAcc
histo for Etas gamma gamma channel
TH2F * fHistPtYK0s
histo for Sigma0
TH2F * fHistPtYEtaPrimeGGPHOAcc
histo for EtaPrims gamma gamma channel, EMCal acceptance
TH2F * fHistPtAlphaPi0GGEMCAcc
histo for Pi0s gamma gamma channel, PCM acceptance
TH2F * fHistPtYPi0FromKGG
histo for Eta's gamma gamma channel, PCM-PHOS acceptance
TH2F * fHistPtYEtaGGPCMAcc
histo for Etas gamma gamma channel
TH2F * fHistPtYOmega
histo for EtaPrims
TH2F * fHistPtYPiPlFromK
histo for Pi0s from Ks
TH2F * fHistPtAlphaPi0FromKGGEMCAccDiffPi0
histo for Pi0 from K gamma gamma channel, acceptance by same pi0 (Alpha)
const char Option_t
Definition: External.C:48
bool IsInPHOSAcceptance(TParticle *part) const
TH2F * fHistPtAlphaPi0FromKGGEMCPCMAcc
histo for Pi0 from K gamma gamma channel, PCM-EMC acceptance (Alpha)
TH2F * fHistPtAlphaEtaGGEMCAcc
histo for Etas gamma gamma channel, PCM acceptance
TH2F * fHistPtAlphaEtaGGPHOAcc
histo for Etas gamma gamma channel, EMCal acceptance
Int_t fIsK0
histo for Pi0 from K gamma gamma channel, mixed acceptance (Alpha)
TH2F * fHistPtYPi0FromLambda
histo for Pi0s from Etas
TH2F * fHistPtYPi0FromKGGPCMAcc
histo for Pi0 from K gamma gamma channel
Definition: External.C:196
TH2F * fHistPtYPi0FromKGGPCMEMCAcc
histo for Pi0 from K gamma gamma channel, EMC acceptance
TH2F * fHistPtYEtaPrimeGGPCMEMCAcc
histo for EtaPrims gamma gamma channel, PHOS acceptance