AliPhysics  aaf9c62 (aaf9c62)
AliAnalysisTaskGammaCocktailMC Class Reference

#include <AliAnalysisTaskGammaCocktailMC.h>

Inheritance diagram for AliAnalysisTaskGammaCocktailMC:

Public Member Functions

 AliAnalysisTaskGammaCocktailMC ()
 
 AliAnalysisTaskGammaCocktailMC (const char *name)
 
virtual ~AliAnalysisTaskGammaCocktailMC ()
 
virtual void UserCreateOutputObjects ()
 
virtual void UserExec (Option_t *)
 
virtual void Terminate (const Option_t *)
 
void SetIsMC (Int_t isMC)
 
void ProcessMCParticles ()
 
void SetLogBinningXTH1 (TH1 *histoRebin)
 
void SetLogBinningXTH2 (TH2 *histoRebin)
 
void SetMaxY (Double_t maxy)
 
void SetMaxEta (Double_t maxeta)
 
void SetLightOutput (Bool_t flag)
 
void InitializeDecayChannelHist (TH1F *hist, Int_t np)
 
void FillPythiaBranchingRatio (TH1F *histo, Int_t np)
 
void GetAndSetPtParametrizations (AliGenEMCocktailV2 *mcCocktailGen)
 
void GetAndSetPtYDistributions (AliGenEMCocktailV2 *mcCocktailGen)
 
void SetHasMother (UInt_t selectedMothers)
 
Int_t GetParticlePosLocal (Int_t pdg)
 
TH1SetHist1D (TH1 *hist, TString histType, TString histName, TString xTitle, TString yTitle, Int_t nBinsX, Double_t xMin, Double_t xMax, Bool_t optSumw2)
 
TH2SetHist2D (TH2 *hist, TString histType, TString histName, TString xTitle, TString yTitle, Int_t nBinsX, Double_t xMin, Double_t xMax, Int_t nBinsY, Double_t yMin, Double_t yMax, Bool_t optSumw2)
 
TH2SetHist2D (TH2 *hist, TString histType, TString histName, TString xTitle, TString yTitle, Int_t nBinsX, Double_t xMin, Double_t xMax, Int_t nBinsY, Double_t *binsY, Bool_t optSumw2)
 
Float_t GetDecayChannel (AliMCEvent *mcEvent, TParticle *part)
 

Protected Attributes

TListfOutputContainer
 
AliVEvent * fInputEvent
 
AliMCEvent * fMCEvent
 
AliMCGenHandler * fMCGenHandler
 
const AliGenerator * fMCGenerator
 
AliGenEMCocktailV2 * fMCCocktailGen
 
Bool_t fDoLightOutput
 
Bool_t fHasMother [17]
 
TH1F * fHistNEvents
 
TH2FfHistPtYGamma
 
TH2FfHistPtPhiGamma
 histo for gammas More...
 
TH2F ** fHistPtPhiGammaSource
 histo for phi of gammas More...
 
TH2F ** fHistPtPhiInput
 histo for phi of gammas from input particles More...
 
TH2F ** fHistPtYInput
 histo for phi of input particles More...
 
TH2F ** fHistPtYGammaSource
 histo for gammas from input particles More...
 
TH2F ** fHistPtAlphaInput
 histo for input particles More...
 
TH2F ** fHistPtDeltaPhiInput
 histo for asymmetry More...
 
TH1F ** fHistDecayChannelsInput
 histo for asymmetry More...
 
TH1F ** fHistPythiaBR
 histo for input particle decay channels More...
 
TH2F ** fHistPtGammaSourcePtInput
 histo for input particle BR from pythia More...
 
TH2F ** fHistPhiGammaSourcePhiInput
 histo for pt correlation of gammas from input particles to source More...
 
TH1IfHistPdgInputRest
 histo for phi correlation of gammas from input particles to source More...
 
TH1IfHistPdgGammaSourceRest
 histo for rest More...
 
Int_tfParticleList
 histo for gamma from rest More...
 
TStringfParticleListNames
 
TF1 * fPtParametrization [17]
 
TF1 * fPtParametrizationProton
 
TObjString * fCocktailSettings [12]
 
TH1DfMtScalingFactors
 
TH2FfPtYDistributions [17]
 
TH2FfHistPtYGammaSourceFromDalitzPi0
 
TH2FfHistPtPhiGammaSourceFromDalitzPi0
 
TH2FfHistPtYGammaSourceFromNonDalitzPi0
 
TH2FfHistPtPhiGammaSourceFromNonDalitzPi0
 
TListfUserInfo
 
TTreefOutputTree
 
Int_t fIsMC
 
Double_t fMaxY
 
Double_t fMaxEta
 

Private Member Functions

 AliAnalysisTaskGammaCocktailMC (const AliAnalysisTaskGammaCocktailMC &)
 
AliAnalysisTaskGammaCocktailMCoperator= (const AliAnalysisTaskGammaCocktailMC &)
 

Detailed Description

Definition at line 10 of file AliAnalysisTaskGammaCocktailMC.h.

Constructor & Destructor Documentation

AliAnalysisTaskGammaCocktailMC::AliAnalysisTaskGammaCocktailMC ( )

Definition at line 58 of file AliAnalysisTaskGammaCocktailMC.cxx.

AliAnalysisTaskGammaCocktailMC::AliAnalysisTaskGammaCocktailMC ( const char *  name)

Definition at line 103 of file AliAnalysisTaskGammaCocktailMC.cxx.

AliAnalysisTaskGammaCocktailMC::~AliAnalysisTaskGammaCocktailMC ( )
virtual

Definition at line 149 of file AliAnalysisTaskGammaCocktailMC.cxx.

AliAnalysisTaskGammaCocktailMC::AliAnalysisTaskGammaCocktailMC ( const AliAnalysisTaskGammaCocktailMC )
private

Member Function Documentation

void AliAnalysisTaskGammaCocktailMC::FillPythiaBranchingRatio ( TH1F *  histo,
Int_t  np 
)

Definition at line 1337 of file AliAnalysisTaskGammaCocktailMC.cxx.

Referenced by SetLightOutput(), and UserCreateOutputObjects().

void AliAnalysisTaskGammaCocktailMC::GetAndSetPtParametrizations ( AliGenEMCocktailV2 *  mcCocktailGen)

Definition at line 403 of file AliAnalysisTaskGammaCocktailMC.cxx.

Referenced by SetLightOutput(), and UserCreateOutputObjects().

void AliAnalysisTaskGammaCocktailMC::GetAndSetPtYDistributions ( AliGenEMCocktailV2 *  mcCocktailGen)

Definition at line 439 of file AliAnalysisTaskGammaCocktailMC.cxx.

Referenced by SetLightOutput(), and UserCreateOutputObjects().

Float_t AliAnalysisTaskGammaCocktailMC::GetDecayChannel ( AliMCEvent *  mcEvent,
TParticle *  part 
)

Definition at line 1050 of file AliAnalysisTaskGammaCocktailMC.cxx.

Referenced by ProcessMCParticles(), and SetLightOutput().

Int_t AliAnalysisTaskGammaCocktailMC::GetParticlePosLocal ( Int_t  pdg)

Definition at line 1932 of file AliAnalysisTaskGammaCocktailMC.cxx.

Referenced by ProcessMCParticles(), and SetLightOutput().

void AliAnalysisTaskGammaCocktailMC::InitializeDecayChannelHist ( TH1F *  hist,
Int_t  np 
)

Definition at line 871 of file AliAnalysisTaskGammaCocktailMC.cxx.

Referenced by SetLightOutput(), and UserCreateOutputObjects().

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

Definition at line 497 of file AliAnalysisTaskGammaCocktailMC.cxx.

Referenced by SetIsMC(), and UserExec().

void AliAnalysisTaskGammaCocktailMC::SetHasMother ( UInt_t  selectedMothers)

Definition at line 473 of file AliAnalysisTaskGammaCocktailMC.cxx.

Referenced by SetLightOutput(), and UserCreateOutputObjects().

TH1 * AliAnalysisTaskGammaCocktailMC::SetHist1D ( TH1 hist,
TString  histType,
TString  histName,
TString  xTitle,
TString  yTitle,
Int_t  nBinsX,
Double_t  xMin,
Double_t  xMax,
Bool_t  optSumw2 
)

Definition at line 1996 of file AliAnalysisTaskGammaCocktailMC.cxx.

Referenced by SetLightOutput(), and UserCreateOutputObjects().

TH2 * AliAnalysisTaskGammaCocktailMC::SetHist2D ( TH2 hist,
TString  histType,
TString  histName,
TString  xTitle,
TString  yTitle,
Int_t  nBinsX,
Double_t  xMin,
Double_t  xMax,
Int_t  nBinsY,
Double_t  yMin,
Double_t  yMax,
Bool_t  optSumw2 
)

Definition at line 2013 of file AliAnalysisTaskGammaCocktailMC.cxx.

Referenced by SetLightOutput(), and UserCreateOutputObjects().

TH2 * AliAnalysisTaskGammaCocktailMC::SetHist2D ( TH2 hist,
TString  histType,
TString  histName,
TString  xTitle,
TString  yTitle,
Int_t  nBinsX,
Double_t  xMin,
Double_t  xMax,
Int_t  nBinsY,
Double_t binsY,
Bool_t  optSumw2 
)

Definition at line 2030 of file AliAnalysisTaskGammaCocktailMC.cxx.

void AliAnalysisTaskGammaCocktailMC::SetIsMC ( Int_t  isMC)
inline

Definition at line 22 of file AliAnalysisTaskGammaCocktailMC.h.

void AliAnalysisTaskGammaCocktailMC::SetLightOutput ( Bool_t  flag)
inline

Definition at line 30 of file AliAnalysisTaskGammaCocktailMC.h.

void AliAnalysisTaskGammaCocktailMC::SetLogBinningXTH1 ( TH1 histoRebin)

Definition at line 843 of file AliAnalysisTaskGammaCocktailMC.cxx.

Referenced by SetIsMC().

void AliAnalysisTaskGammaCocktailMC::SetLogBinningXTH2 ( TH2 histoRebin)

Definition at line 857 of file AliAnalysisTaskGammaCocktailMC.cxx.

Referenced by SetIsMC().

void AliAnalysisTaskGammaCocktailMC::SetMaxEta ( Double_t  maxeta)
inline

Definition at line 29 of file AliAnalysisTaskGammaCocktailMC.h.

void AliAnalysisTaskGammaCocktailMC::SetMaxY ( Double_t  maxy)
inline

Definition at line 28 of file AliAnalysisTaskGammaCocktailMC.h.

void AliAnalysisTaskGammaCocktailMC::Terminate ( const Option_t )
virtual

Definition at line 835 of file AliAnalysisTaskGammaCocktailMC.cxx.

void AliAnalysisTaskGammaCocktailMC::UserCreateOutputObjects ( )
virtual

Definition at line 157 of file AliAnalysisTaskGammaCocktailMC.cxx.

void AliAnalysisTaskGammaCocktailMC::UserExec ( Option_t )
virtual

Definition at line 386 of file AliAnalysisTaskGammaCocktailMC.cxx.

Member Data Documentation

TObjString* AliAnalysisTaskGammaCocktailMC::fCocktailSettings[12]
protected
Bool_t AliAnalysisTaskGammaCocktailMC::fDoLightOutput
protected

Definition at line 53 of file AliAnalysisTaskGammaCocktailMC.h.

Referenced by SetLightOutput(), and UserCreateOutputObjects().

Bool_t AliAnalysisTaskGammaCocktailMC::fHasMother[17]
protected
TH1F** AliAnalysisTaskGammaCocktailMC::fHistDecayChannelsInput
protected

histo for asymmetry

Definition at line 68 of file AliAnalysisTaskGammaCocktailMC.h.

Referenced by AliAnalysisTaskGammaCocktailMC(), ProcessMCParticles(), and UserCreateOutputObjects().

TH1F* AliAnalysisTaskGammaCocktailMC::fHistNEvents
protected
TH1I* AliAnalysisTaskGammaCocktailMC::fHistPdgGammaSourceRest
protected
TH1I* AliAnalysisTaskGammaCocktailMC::fHistPdgInputRest
protected

histo for phi correlation of gammas from input particles to source

Definition at line 74 of file AliAnalysisTaskGammaCocktailMC.h.

Referenced by AliAnalysisTaskGammaCocktailMC(), ProcessMCParticles(), and UserCreateOutputObjects().

TH2F** AliAnalysisTaskGammaCocktailMC::fHistPhiGammaSourcePhiInput
protected

histo for pt correlation of gammas from input particles to source

Definition at line 72 of file AliAnalysisTaskGammaCocktailMC.h.

Referenced by AliAnalysisTaskGammaCocktailMC(), ProcessMCParticles(), and UserCreateOutputObjects().

TH2F** AliAnalysisTaskGammaCocktailMC::fHistPtAlphaInput
protected

histo for input particles

Definition at line 66 of file AliAnalysisTaskGammaCocktailMC.h.

Referenced by AliAnalysisTaskGammaCocktailMC(), ProcessMCParticles(), and UserCreateOutputObjects().

TH2F** AliAnalysisTaskGammaCocktailMC::fHistPtDeltaPhiInput
protected

histo for asymmetry

Definition at line 67 of file AliAnalysisTaskGammaCocktailMC.h.

Referenced by AliAnalysisTaskGammaCocktailMC(), ProcessMCParticles(), and UserCreateOutputObjects().

TH2F** AliAnalysisTaskGammaCocktailMC::fHistPtGammaSourcePtInput
protected

histo for input particle BR from pythia

Definition at line 71 of file AliAnalysisTaskGammaCocktailMC.h.

Referenced by AliAnalysisTaskGammaCocktailMC(), ProcessMCParticles(), and UserCreateOutputObjects().

TH2F* AliAnalysisTaskGammaCocktailMC::fHistPtPhiGamma
protected
TH2F** AliAnalysisTaskGammaCocktailMC::fHistPtPhiGammaSource
protected

histo for phi of gammas

Definition at line 62 of file AliAnalysisTaskGammaCocktailMC.h.

Referenced by AliAnalysisTaskGammaCocktailMC(), ProcessMCParticles(), and UserCreateOutputObjects().

TH2F* AliAnalysisTaskGammaCocktailMC::fHistPtPhiGammaSourceFromDalitzPi0
protected
TH2F* AliAnalysisTaskGammaCocktailMC::fHistPtPhiGammaSourceFromNonDalitzPi0
protected
TH2F** AliAnalysisTaskGammaCocktailMC::fHistPtPhiInput
protected

histo for phi of gammas from input particles

Definition at line 63 of file AliAnalysisTaskGammaCocktailMC.h.

Referenced by AliAnalysisTaskGammaCocktailMC(), ProcessMCParticles(), and UserCreateOutputObjects().

TH2F* AliAnalysisTaskGammaCocktailMC::fHistPtYGamma
protected
TH2F** AliAnalysisTaskGammaCocktailMC::fHistPtYGammaSource
protected

histo for gammas from input particles

Definition at line 65 of file AliAnalysisTaskGammaCocktailMC.h.

Referenced by AliAnalysisTaskGammaCocktailMC(), ProcessMCParticles(), and UserCreateOutputObjects().

TH2F* AliAnalysisTaskGammaCocktailMC::fHistPtYGammaSourceFromDalitzPi0
protected
TH2F* AliAnalysisTaskGammaCocktailMC::fHistPtYGammaSourceFromNonDalitzPi0
protected
TH2F** AliAnalysisTaskGammaCocktailMC::fHistPtYInput
protected

histo for phi of input particles

Definition at line 64 of file AliAnalysisTaskGammaCocktailMC.h.

Referenced by AliAnalysisTaskGammaCocktailMC(), ProcessMCParticles(), and UserCreateOutputObjects().

TH1F** AliAnalysisTaskGammaCocktailMC::fHistPythiaBR
protected

histo for input particle decay channels

Definition at line 69 of file AliAnalysisTaskGammaCocktailMC.h.

Referenced by AliAnalysisTaskGammaCocktailMC(), and UserCreateOutputObjects().

AliVEvent* AliAnalysisTaskGammaCocktailMC::fInputEvent
protected

Definition at line 45 of file AliAnalysisTaskGammaCocktailMC.h.

Referenced by UserExec().

Int_t AliAnalysisTaskGammaCocktailMC::fIsMC
protected
Double_t AliAnalysisTaskGammaCocktailMC::fMaxEta
protected
Double_t AliAnalysisTaskGammaCocktailMC::fMaxY
protected
AliGenEMCocktailV2* AliAnalysisTaskGammaCocktailMC::fMCCocktailGen
protected

Definition at line 49 of file AliAnalysisTaskGammaCocktailMC.h.

Referenced by UserCreateOutputObjects().

AliMCEvent* AliAnalysisTaskGammaCocktailMC::fMCEvent
protected

Definition at line 46 of file AliAnalysisTaskGammaCocktailMC.h.

Referenced by ProcessMCParticles(), and UserExec().

const AliGenerator* AliAnalysisTaskGammaCocktailMC::fMCGenerator
protected

Definition at line 48 of file AliAnalysisTaskGammaCocktailMC.h.

Referenced by UserCreateOutputObjects().

AliMCGenHandler* AliAnalysisTaskGammaCocktailMC::fMCGenHandler
protected

Definition at line 47 of file AliAnalysisTaskGammaCocktailMC.h.

Referenced by UserCreateOutputObjects().

TH1D* AliAnalysisTaskGammaCocktailMC::fMtScalingFactors
protected
TList* AliAnalysisTaskGammaCocktailMC::fOutputContainer
protected

Definition at line 43 of file AliAnalysisTaskGammaCocktailMC.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TTree* AliAnalysisTaskGammaCocktailMC::fOutputTree
protected
Int_t* AliAnalysisTaskGammaCocktailMC::fParticleList
protected

histo for gamma from rest

Definition at line 77 of file AliAnalysisTaskGammaCocktailMC.h.

Referenced by AliAnalysisTaskGammaCocktailMC(), and UserCreateOutputObjects().

TString* AliAnalysisTaskGammaCocktailMC::fParticleListNames
protected
TF1* AliAnalysisTaskGammaCocktailMC::fPtParametrization[17]
protected
TF1* AliAnalysisTaskGammaCocktailMC::fPtParametrizationProton
protected
TH2F* AliAnalysisTaskGammaCocktailMC::fPtYDistributions[17]
protected
TList* AliAnalysisTaskGammaCocktailMC::fUserInfo
protected

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