AliPhysics  master (3d17d9d)
AliAnalysisTaskOmegaMCStudies Class Reference

#include <AliAnalysisTaskOmegaMCStudies.h>

Inheritance diagram for AliAnalysisTaskOmegaMCStudies:

Public Types

enum  AcceptanceType_t { kPCMAcceptance = 1, kEMCALAcceptance = 2, kPHOSAcceptance = 3 }
 Enumeration for acceptance type. More...
 
enum  SupportedPdg_t {
  kPdgPi0 = 111, kPdgRho0 = 113, kPdgK0Long = 130, kPdgPiPlus = 211,
  kPdgPiMinus = -211, kPdgRhoPlus = 213, kPdgRhoMinus = -213, kPdgEta = 221,
  kPdgOmega = 223, kPdgK0Short = 310, kPdgKStar = 313, kPdgKPlus = 321,
  kPdgKMinus = -321, kPdgEtaPrime = 331, kPdgPhi = 333, kPdgJPsi = 443,
  kPdgDeltaMinus = 1114, kPdgDelta0 = 2114, kPdgDeltaPlus = 2214, kPdgDeltaPlusPlus = 2224,
  kPdgSigmaMinus = 3112, kPdgSigma0 = 3212, kPdgLambda = 3122, kPdgSigmaPlus = 3222,
  kPdgXiMinus = 3312, kPdgXi0 = 3322, kPdgPhoton = 22, kPdgElectron = 11,
  kPdgGluon = 21
}
 Definition of constants for PDG codes used within the task. More...
 
enum  ProcessCodes_t {
  kPromptPhotonCompton = 201, kPromptPhotonAnnihilation = 202, kPromptPhotongg2ggamma = 203, kPromptPhotonffbar2gammagamma = 204,
  kPromptPhotongg2gammagamma = 205
}
 

Public Member Functions

 AliAnalysisTaskOmegaMCStudies ()
 
 AliAnalysisTaskOmegaMCStudies (const char *name)
 
virtual ~AliAnalysisTaskOmegaMCStudies ()
 
virtual void UserCreateOutputObjects ()
 
virtual void UserExec (Option_t *)
 
virtual void Terminate (const Option_t *)
 
void SetIsMC (Int_t isMC)
 
void ProcessMCParticles ()
 
bool IsPiPlusPiMinusPiZeroDecay (TParticle *part) const
 
bool IsPiPlusPiMinusEtaDecay (TParticle *part) const
 
Int_t ReturnPi0FromOmega (TParticle *part)
 
Int_t ReturnEtaFromEtaPrime (TParticle *part)
 
bool IsInPCMAcceptance (TParticle *part) const
 
bool IsInPHOSAcceptance (TParticle *part) const
 
bool IsInEMCalAcceptance (TParticle *part) const
 
bool IsInFOCALAcceptance (TParticle *part) const
 
bool IsInLHCbAcceptance (TParticle *part) const
 
bool IsInMidAcceptance (TParticle *part) const
 
void SetLogBinningXTH1 (TH1 *histoRebin)
 
void SetLogBinningXTH2 (TH2 *histoRebin)
 
void SetLogBinningYTH2 (TH2 *histoRebin)
 
void SetMaxPt (Double_t pTmax)
 
void SetNEvents (Double_t nevents)
 

Protected Attributes

TListfOutputContainer
 
TH1F * fHistNEvents
 Output container. More...
 
TH1DfHistXSection
 number of events histo More...
 
TH1F * fHistPtHard
 xSection More...
 
TH2FfHistPtYOmega
 ptHard More...
 
TH2FfHistPtYOmegaPiPiPi
 histo for omega pT distribution More...
 
TH2FfHistPtYPi0
 distribution of omegas that decay to pi+pi-pi0 More...
 
TH2FfHistPtYEtaPrime
 histo for pi0 in general More...
 
TH2FfHistPtYEtaPrimeEtaPiPi
 histo for eta' pT distribution More...
 
TH2FfHistOmegaPtPi0Pt
 distribution of eta' that decay to pi+pi-eta More...
 
TH2FfHistEtaPrimePtEtaPt
 pT of omega vs pT pi0 More...
 
Int_t fIsMC
 pT of eta' vs pT eta More...
 
Double_t fMaxpT
 
Int_t fProcessCode
 
Float_t fWeight
 
Int_t fEventCounter
 
Int_t fNTotEvents
 
Int_t fNRejectEvents
 

Private Member Functions

 AliAnalysisTaskOmegaMCStudies (const AliAnalysisTaskOmegaMCStudies &)
 
AliAnalysisTaskOmegaMCStudiesoperator= (const AliAnalysisTaskOmegaMCStudies &)
 

Detailed Description

Definition at line 7 of file AliAnalysisTaskOmegaMCStudies.h.

Member Enumeration Documentation

Enumeration for acceptance type.

Enumerator
kPCMAcceptance 

PCM Acceptance.

kEMCALAcceptance 

EMCAL Acceptance.

kPHOSAcceptance 

PHOS Acceptance.

Definition at line 13 of file AliAnalysisTaskOmegaMCStudies.h.

Enumerator
kPromptPhotonCompton 

kPromptPhotonCompton

kPromptPhotonAnnihilation 

kPromptPhotonAnnihilation

kPromptPhotongg2ggamma 

kPromptPhotongg2ggamma

kPromptPhotonffbar2gammagamma 

kPromptPhotonffbar2gammagamma

kPromptPhotongg2gammagamma 

kPromptPhotongg2gammagamma

Definition at line 56 of file AliAnalysisTaskOmegaMCStudies.h.

Definition of constants for PDG codes used within the task.

Enumerator
kPdgPi0 

kPdgPi0

kPdgRho0 

kPdgRho0

kPdgK0Long 

kPdgK0Long

kPdgPiPlus 

kPdgPiPlus

kPdgPiMinus 

kPdgPiMinus

kPdgRhoPlus 

kPdgRhoPlus

kPdgRhoMinus 

kPdgRhoMinus

kPdgEta 

kPdgEta

kPdgOmega 

kPdgOmega

kPdgK0Short 

kPdgK0Short

kPdgKStar 

kPdgKStar

kPdgKPlus 

kPdgKPlus

kPdgKMinus 

kPdgKMinus

kPdgEtaPrime 

kPdgEtaPrime

kPdgPhi 

kPdgPhi

kPdgJPsi 

kPdgJPsi

kPdgDeltaMinus 

kPdgDeltaMinus

kPdgDelta0 

kPdgDelta0s

kPdgDeltaPlus 

kPdgDeltaPlus

kPdgDeltaPlusPlus 

kPdgDeltaPlusPlus

kPdgSigmaMinus 

kPdgSigmaMinus

kPdgSigma0 

kPdgSigma0

kPdgLambda 

kPdgLambda

kPdgSigmaPlus 

kPdgSigmaPlus

kPdgXiMinus 

kPdgXiMinus

kPdgXi0 

kPdgXi0

kPdgPhoton 

kPdgPhoton

kPdgElectron 

kPdgElectron

kPdgGluon 

kPdgGluon

Definition at line 23 of file AliAnalysisTaskOmegaMCStudies.h.

Constructor & Destructor Documentation

AliAnalysisTaskOmegaMCStudies::AliAnalysisTaskOmegaMCStudies ( )

Definition at line 56 of file AliAnalysisTaskOmegaMCStudies.cxx.

AliAnalysisTaskOmegaMCStudies::AliAnalysisTaskOmegaMCStudies ( const char *  name)

Definition at line 80 of file AliAnalysisTaskOmegaMCStudies.cxx.

AliAnalysisTaskOmegaMCStudies::~AliAnalysisTaskOmegaMCStudies ( )
virtual

Definition at line 106 of file AliAnalysisTaskOmegaMCStudies.cxx.

AliAnalysisTaskOmegaMCStudies::AliAnalysisTaskOmegaMCStudies ( const AliAnalysisTaskOmegaMCStudies )
private

Member Function Documentation

bool AliAnalysisTaskOmegaMCStudies::IsInEMCalAcceptance ( TParticle *  part) const

Definition at line 406 of file AliAnalysisTaskOmegaMCStudies.cxx.

Referenced by SetIsMC().

bool AliAnalysisTaskOmegaMCStudies::IsInFOCALAcceptance ( TParticle *  part) const

Definition at line 418 of file AliAnalysisTaskOmegaMCStudies.cxx.

Referenced by SetIsMC().

bool AliAnalysisTaskOmegaMCStudies::IsInLHCbAcceptance ( TParticle *  part) const

Definition at line 427 of file AliAnalysisTaskOmegaMCStudies.cxx.

Referenced by SetIsMC().

bool AliAnalysisTaskOmegaMCStudies::IsInMidAcceptance ( TParticle *  part) const

Definition at line 436 of file AliAnalysisTaskOmegaMCStudies.cxx.

Referenced by SetIsMC().

bool AliAnalysisTaskOmegaMCStudies::IsInPCMAcceptance ( TParticle *  part) const

Definition at line 384 of file AliAnalysisTaskOmegaMCStudies.cxx.

Referenced by SetIsMC().

bool AliAnalysisTaskOmegaMCStudies::IsInPHOSAcceptance ( TParticle *  part) const

Definition at line 394 of file AliAnalysisTaskOmegaMCStudies.cxx.

Referenced by SetIsMC().

bool AliAnalysisTaskOmegaMCStudies::IsPiPlusPiMinusEtaDecay ( TParticle *  part) const

Definition at line 321 of file AliAnalysisTaskOmegaMCStudies.cxx.

Referenced by ProcessMCParticles(), and SetIsMC().

bool AliAnalysisTaskOmegaMCStudies::IsPiPlusPiMinusPiZeroDecay ( TParticle *  part) const

Definition at line 294 of file AliAnalysisTaskOmegaMCStudies.cxx.

Referenced by ProcessMCParticles(), and SetIsMC().

AliAnalysisTaskOmegaMCStudies& AliAnalysisTaskOmegaMCStudies::operator= ( const AliAnalysisTaskOmegaMCStudies )
private
void AliAnalysisTaskOmegaMCStudies::ProcessMCParticles ( )

Definition at line 255 of file AliAnalysisTaskOmegaMCStudies.cxx.

Referenced by SetIsMC(), and UserExec().

Int_t AliAnalysisTaskOmegaMCStudies::ReturnEtaFromEtaPrime ( TParticle *  part)

Definition at line 367 of file AliAnalysisTaskOmegaMCStudies.cxx.

Referenced by ProcessMCParticles(), and SetIsMC().

Int_t AliAnalysisTaskOmegaMCStudies::ReturnPi0FromOmega ( TParticle *  part)

Definition at line 348 of file AliAnalysisTaskOmegaMCStudies.cxx.

Referenced by ProcessMCParticles(), and SetIsMC().

void AliAnalysisTaskOmegaMCStudies::SetIsMC ( Int_t  isMC)
inline

Definition at line 73 of file AliAnalysisTaskOmegaMCStudies.h.

void AliAnalysisTaskOmegaMCStudies::SetLogBinningXTH1 ( TH1 histoRebin)

Definition at line 452 of file AliAnalysisTaskOmegaMCStudies.cxx.

Referenced by SetIsMC().

void AliAnalysisTaskOmegaMCStudies::SetLogBinningXTH2 ( TH2 histoRebin)

Definition at line 466 of file AliAnalysisTaskOmegaMCStudies.cxx.

Referenced by SetIsMC().

void AliAnalysisTaskOmegaMCStudies::SetLogBinningYTH2 ( TH2 histoRebin)

Definition at line 480 of file AliAnalysisTaskOmegaMCStudies.cxx.

Referenced by SetIsMC().

void AliAnalysisTaskOmegaMCStudies::SetMaxPt ( Double_t  pTmax)
inline

Definition at line 90 of file AliAnalysisTaskOmegaMCStudies.h.

void AliAnalysisTaskOmegaMCStudies::SetNEvents ( Double_t  nevents)
inline

Definition at line 91 of file AliAnalysisTaskOmegaMCStudies.h.

void AliAnalysisTaskOmegaMCStudies::Terminate ( const Option_t )
virtual

Definition at line 444 of file AliAnalysisTaskOmegaMCStudies.cxx.

void AliAnalysisTaskOmegaMCStudies::UserCreateOutputObjects ( )
virtual

Definition at line 112 of file AliAnalysisTaskOmegaMCStudies.cxx.

void AliAnalysisTaskOmegaMCStudies::UserExec ( Option_t )
virtual

Definition at line 171 of file AliAnalysisTaskOmegaMCStudies.cxx.

Member Data Documentation

Int_t AliAnalysisTaskOmegaMCStudies::fEventCounter
protected

Definition at line 114 of file AliAnalysisTaskOmegaMCStudies.h.

Referenced by UserExec().

TH2F* AliAnalysisTaskOmegaMCStudies::fHistEtaPrimePtEtaPt
protected

pT of omega vs pT pi0

Definition at line 108 of file AliAnalysisTaskOmegaMCStudies.h.

Referenced by ProcessMCParticles(), and UserCreateOutputObjects().

TH1F* AliAnalysisTaskOmegaMCStudies::fHistNEvents
protected

Output container.

Definition at line 98 of file AliAnalysisTaskOmegaMCStudies.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH2F* AliAnalysisTaskOmegaMCStudies::fHistOmegaPtPi0Pt
protected

distribution of eta' that decay to pi+pi-eta

Definition at line 107 of file AliAnalysisTaskOmegaMCStudies.h.

Referenced by ProcessMCParticles(), and UserCreateOutputObjects().

TH1F* AliAnalysisTaskOmegaMCStudies::fHistPtHard
protected

xSection

Definition at line 100 of file AliAnalysisTaskOmegaMCStudies.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH2F* AliAnalysisTaskOmegaMCStudies::fHistPtYEtaPrime
protected

histo for pi0 in general

Definition at line 105 of file AliAnalysisTaskOmegaMCStudies.h.

Referenced by ProcessMCParticles(), and UserCreateOutputObjects().

TH2F* AliAnalysisTaskOmegaMCStudies::fHistPtYEtaPrimeEtaPiPi
protected

histo for eta' pT distribution

Definition at line 106 of file AliAnalysisTaskOmegaMCStudies.h.

Referenced by ProcessMCParticles(), and UserCreateOutputObjects().

TH2F* AliAnalysisTaskOmegaMCStudies::fHistPtYOmega
protected

ptHard

Definition at line 102 of file AliAnalysisTaskOmegaMCStudies.h.

Referenced by ProcessMCParticles(), and UserCreateOutputObjects().

TH2F* AliAnalysisTaskOmegaMCStudies::fHistPtYOmegaPiPiPi
protected

histo for omega pT distribution

Definition at line 103 of file AliAnalysisTaskOmegaMCStudies.h.

Referenced by ProcessMCParticles(), and UserCreateOutputObjects().

TH2F* AliAnalysisTaskOmegaMCStudies::fHistPtYPi0
protected

distribution of omegas that decay to pi+pi-pi0

Definition at line 104 of file AliAnalysisTaskOmegaMCStudies.h.

Referenced by ProcessMCParticles(), and UserCreateOutputObjects().

TH1D* AliAnalysisTaskOmegaMCStudies::fHistXSection
protected

number of events histo

Definition at line 99 of file AliAnalysisTaskOmegaMCStudies.h.

Referenced by UserCreateOutputObjects(), and UserExec().

Int_t AliAnalysisTaskOmegaMCStudies::fIsMC
protected

pT of eta' vs pT eta

Definition at line 110 of file AliAnalysisTaskOmegaMCStudies.h.

Referenced by SetIsMC(), and UserExec().

Double_t AliAnalysisTaskOmegaMCStudies::fMaxpT
protected

Definition at line 111 of file AliAnalysisTaskOmegaMCStudies.h.

Referenced by SetMaxPt(), and UserCreateOutputObjects().

Int_t AliAnalysisTaskOmegaMCStudies::fNRejectEvents
protected

Definition at line 116 of file AliAnalysisTaskOmegaMCStudies.h.

Int_t AliAnalysisTaskOmegaMCStudies::fNTotEvents
protected

Definition at line 115 of file AliAnalysisTaskOmegaMCStudies.h.

Referenced by SetNEvents(), and UserExec().

TList* AliAnalysisTaskOmegaMCStudies::fOutputContainer
protected

Definition at line 96 of file AliAnalysisTaskOmegaMCStudies.h.

Referenced by UserCreateOutputObjects(), and UserExec().

Int_t AliAnalysisTaskOmegaMCStudies::fProcessCode
protected

Definition at line 112 of file AliAnalysisTaskOmegaMCStudies.h.

Referenced by UserExec().

Float_t AliAnalysisTaskOmegaMCStudies::fWeight
protected

Definition at line 113 of file AliAnalysisTaskOmegaMCStudies.h.

Referenced by ProcessMCParticles(), and UserExec().


The documentation for this class was generated from the following files: