AliPhysics  b752f14 (b752f14)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskK0toPi0Pi0 Class Reference

#include <AliAnalysisTaskK0toPi0Pi0.h>

Inheritance diagram for AliAnalysisTaskK0toPi0Pi0:

Public Types

enum  PhotonType_t { kPCMPhoton = 0, kEMCALPhoton = 1, kUndefined = -1 }
 

Public Member Functions

 AliAnalysisTaskK0toPi0Pi0 ()
 
 AliAnalysisTaskK0toPi0Pi0 (const char *name)
 
virtual ~AliAnalysisTaskK0toPi0Pi0 ()
 
AliClusterContainerAddClusterContainer (const char *name)
 
void SetNameV0Reader (const char *name)
 
void SetEventCuts (AliConvEventCuts *cuts)
 
void SetConversionPhotonCuts (AliConversionPhotonCuts *cuts)
 
void SetCaloPhotonCuts (AliCaloPhotonCuts *cuts)
 
void SetPi0Cuts (AliConversionMesonCuts *cuts)
 
void SetPi0CutsCaloCalo (AliConversionMesonCuts *cuts)
 
void SetK0Cuts (AliConversionMesonCuts *cuts)
 

Protected Member Functions

virtual void UserCreateOutputObjects ()
 
virtual void UserExec (Option_t *)
 
virtual bool UserNotify ()
 
virtual void ExecOnce ()
 
virtual void RunChanged ()
 
virtual void FileChanged ()
 
std::vector
< AliAODConversionPhoton
MakeCaloPhotonCandidates (const AliClusterContainer &inputcont, AliCaloPhotonCuts &cuts)
 
std::vector
< AliAODConversionPhoton
MakeConversionPhotonCandidates (const AliV0ReaderV1 &reader, AliConversionPhotonCuts &cuts)
 
std::vector
< AliAODConversionMother
SelectMeson (std::vector< AliAODConversionMother > &candidates, AliConversionMesonCuts &cuts)
 
std::vector
< AliAODConversionMother
MakePi0Candidates (const std::vector< AliAODConversionPhoton > *primaryLeg, const std::vector< AliAODConversionPhoton > *secondaryLeg, AliConversionMesonCuts &cuts)
 
std::vector
< AliAODConversionMother
MakeK0ShortCandidates (const std::vector< AliAODConversionMother > *primaryLeg, const std::vector< AliAODConversionMother > *secondaryLeg, AliConversionMesonCuts &cuts)
 
void MakePhotonQACalo (const std::vector< AliAODConversionPhoton > &photons, AliConvEventCuts &cuts)
 
void MakePhotonQAConv (const std::vector< AliAODConversionPhoton > &photons, AliConvEventCuts &cuts)
 
void MakePi0QA (const std::vector< AliAODConversionMother > &pi0s, const char *reccase, TString selectionStatus)
 
void MakeK0ShortQA (const std::vector< AliAODConversionMother > &k0s, const char *reccase, TString selectionStatus)
 

Private Member Functions

 AliAnalysisTaskK0toPi0Pi0 (const AliAnalysisTaskK0toPi0Pi0 &)
 
AliAnalysisTaskK0toPi0Pi0operator= (const AliAnalysisTaskK0toPi0Pi0 &)
 

Private Attributes

Bool_t fLocalInitialized
 Check whether the task was initialized (triggers ExecOnce) More...
 
Int_t fCurrentRun
 Current run number (triggers RunChanged) More...
 
Bool_t fNewFile
 New file loaded (triggers fileChanged) More...
 
AliV0ReaderV1fV0Reader
 ! V0 reader More...
 
TString fV0ReaderName
 Name of the V0 reader. More...
 
AliClusterContainerfClusterContainer
 Cluster container. More...
 
Bool_t fIsMC
 Switch whether we run over data or MC. More...
 
Double_t fWeightJetJetMC
 Weight of the jet-jet event. More...
 
Double_t fEventPlaneAngle
 Event Plane Angle. More...
 
AliConvEventCutsfEventCuts
 Event cuts. More...
 
AliConversionPhotonCutsfConvPhotonCuts
 Cuts on conversion photons. More...
 
AliCaloPhotonCutsfCaloPhotonCuts
 Calo photon cuts. More...
 
AliConversionMesonCutsfPi0Cuts
 Cuts on the pi0. More...
 
AliConversionMesonCutsfPi0CutsCaloCalo
 Cuts on the pi0 for the calo calo case. More...
 
AliConversionMesonCutsfK0Cuts
 Cuts on the K0. More...
 
AliGammaConversionAODBGHandlerfBGHandler
 ! Background Handler More...
 
THistManagerfHistos
 Container for Histograms. More...
 
TListfOutput
 Global output container. More...
 

Detailed Description

Definition at line 48 of file AliAnalysisTaskK0toPi0Pi0.h.

Member Enumeration Documentation

Enumerator
kPCMPhoton 
kEMCALPhoton 
kUndefined 

Definition at line 50 of file AliAnalysisTaskK0toPi0Pi0.h.

Constructor & Destructor Documentation

AliAnalysisTaskK0toPi0Pi0::AliAnalysisTaskK0toPi0Pi0 ( )

Definition at line 49 of file AliAnalysisTaskK0toPi0Pi0.cxx.

AliAnalysisTaskK0toPi0Pi0::AliAnalysisTaskK0toPi0Pi0 ( const char *  name)

Definition at line 73 of file AliAnalysisTaskK0toPi0Pi0.cxx.

AliAnalysisTaskK0toPi0Pi0::~AliAnalysisTaskK0toPi0Pi0 ( )
virtual

Definition at line 99 of file AliAnalysisTaskK0toPi0Pi0.cxx.

AliAnalysisTaskK0toPi0Pi0::AliAnalysisTaskK0toPi0Pi0 ( const AliAnalysisTaskK0toPi0Pi0 )
private

Member Function Documentation

AliClusterContainer * AliAnalysisTaskK0toPi0Pi0::AddClusterContainer ( const char *  name)

Definition at line 583 of file AliAnalysisTaskK0toPi0Pi0.cxx.

void AliAnalysisTaskK0toPi0Pi0::ExecOnce ( )
protectedvirtual

Definition at line 208 of file AliAnalysisTaskK0toPi0Pi0.cxx.

Referenced by UserExec().

virtual void AliAnalysisTaskK0toPi0Pi0::FileChanged ( )
inlineprotectedvirtual

Definition at line 75 of file AliAnalysisTaskK0toPi0Pi0.h.

std::vector< AliAODConversionPhoton > AliAnalysisTaskK0toPi0Pi0::MakeCaloPhotonCandidates ( const AliClusterContainer inputcont,
AliCaloPhotonCuts cuts 
)
protected

Definition at line 371 of file AliAnalysisTaskK0toPi0Pi0.cxx.

Referenced by UserExec().

std::vector< AliAODConversionPhoton > AliAnalysisTaskK0toPi0Pi0::MakeConversionPhotonCandidates ( const AliV0ReaderV1 reader,
AliConversionPhotonCuts cuts 
)
protected

Definition at line 410 of file AliAnalysisTaskK0toPi0Pi0.cxx.

Referenced by UserExec().

std::vector< AliAODConversionMother > AliAnalysisTaskK0toPi0Pi0::MakeK0ShortCandidates ( const std::vector< AliAODConversionMother > *  primaryLeg,
const std::vector< AliAODConversionMother > *  secondaryLeg,
AliConversionMesonCuts cuts 
)
protected

Definition at line 500 of file AliAnalysisTaskK0toPi0Pi0.cxx.

Referenced by UserExec().

void AliAnalysisTaskK0toPi0Pi0::MakeK0ShortQA ( const std::vector< AliAODConversionMother > &  k0s,
const char *  reccase,
TString  selectionStatus 
)
protected

Definition at line 568 of file AliAnalysisTaskK0toPi0Pi0.cxx.

Referenced by UserExec().

void AliAnalysisTaskK0toPi0Pi0::MakePhotonQACalo ( const std::vector< AliAODConversionPhoton > &  photons,
AliConvEventCuts cuts 
)
protected

Definition at line 527 of file AliAnalysisTaskK0toPi0Pi0.cxx.

Referenced by UserExec().

void AliAnalysisTaskK0toPi0Pi0::MakePhotonQAConv ( const std::vector< AliAODConversionPhoton > &  photons,
AliConvEventCuts cuts 
)
protected

Definition at line 534 of file AliAnalysisTaskK0toPi0Pi0.cxx.

Referenced by UserExec().

std::vector< AliAODConversionMother > AliAnalysisTaskK0toPi0Pi0::MakePi0Candidates ( const std::vector< AliAODConversionPhoton > *  primaryLeg,
const std::vector< AliAODConversionPhoton > *  secondaryLeg,
AliConversionMesonCuts cuts 
)
protected

Definition at line 468 of file AliAnalysisTaskK0toPi0Pi0.cxx.

Referenced by UserExec().

void AliAnalysisTaskK0toPi0Pi0::MakePi0QA ( const std::vector< AliAODConversionMother > &  pi0s,
const char *  reccase,
TString  selectionStatus 
)
protected

Definition at line 542 of file AliAnalysisTaskK0toPi0Pi0.cxx.

Referenced by UserExec().

AliAnalysisTaskK0toPi0Pi0& AliAnalysisTaskK0toPi0Pi0::operator= ( const AliAnalysisTaskK0toPi0Pi0 )
private
virtual void AliAnalysisTaskK0toPi0Pi0::RunChanged ( )
inlineprotectedvirtual

Definition at line 74 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by UserExec().

std::vector< AliAODConversionMother > AliAnalysisTaskK0toPi0Pi0::SelectMeson ( std::vector< AliAODConversionMother > &  candidates,
AliConversionMesonCuts cuts 
)
protected

Definition at line 453 of file AliAnalysisTaskK0toPi0Pi0.cxx.

Referenced by UserExec().

void AliAnalysisTaskK0toPi0Pi0::SetCaloPhotonCuts ( AliCaloPhotonCuts cuts)
inline

Definition at line 64 of file AliAnalysisTaskK0toPi0Pi0.h.

void AliAnalysisTaskK0toPi0Pi0::SetConversionPhotonCuts ( AliConversionPhotonCuts cuts)
inline

Definition at line 63 of file AliAnalysisTaskK0toPi0Pi0.h.

void AliAnalysisTaskK0toPi0Pi0::SetEventCuts ( AliConvEventCuts cuts)
inline

Definition at line 62 of file AliAnalysisTaskK0toPi0Pi0.h.

void AliAnalysisTaskK0toPi0Pi0::SetK0Cuts ( AliConversionMesonCuts cuts)
inline

Definition at line 67 of file AliAnalysisTaskK0toPi0Pi0.h.

void AliAnalysisTaskK0toPi0Pi0::SetNameV0Reader ( const char *  name)
inline

Definition at line 61 of file AliAnalysisTaskK0toPi0Pi0.h.

void AliAnalysisTaskK0toPi0Pi0::SetPi0Cuts ( AliConversionMesonCuts cuts)
inline

Definition at line 65 of file AliAnalysisTaskK0toPi0Pi0.h.

void AliAnalysisTaskK0toPi0Pi0::SetPi0CutsCaloCalo ( AliConversionMesonCuts cuts)
inline

Definition at line 66 of file AliAnalysisTaskK0toPi0Pi0.h.

void AliAnalysisTaskK0toPi0Pi0::UserCreateOutputObjects ( )
protectedvirtual

Definition at line 104 of file AliAnalysisTaskK0toPi0Pi0.cxx.

void AliAnalysisTaskK0toPi0Pi0::UserExec ( Option_t )
protectedvirtual

Definition at line 219 of file AliAnalysisTaskK0toPi0Pi0.cxx.

virtual bool AliAnalysisTaskK0toPi0Pi0::UserNotify ( )
inlineprotectedvirtual

Definition at line 72 of file AliAnalysisTaskK0toPi0Pi0.h.

Member Data Documentation

AliGammaConversionAODBGHandler* AliAnalysisTaskK0toPi0Pi0::fBGHandler
private

! Background Handler

Definition at line 107 of file AliAnalysisTaskK0toPi0Pi0.h.

AliCaloPhotonCuts* AliAnalysisTaskK0toPi0Pi0::fCaloPhotonCuts
private

Calo photon cuts.

Definition at line 102 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by SetCaloPhotonCuts(), UserCreateOutputObjects(), and UserExec().

AliClusterContainer* AliAnalysisTaskK0toPi0Pi0::fClusterContainer
private

Cluster container.

Definition at line 95 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by AddClusterContainer(), ExecOnce(), and UserExec().

AliConversionPhotonCuts* AliAnalysisTaskK0toPi0Pi0::fConvPhotonCuts
private

Cuts on conversion photons.

Definition at line 101 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by ExecOnce(), SetConversionPhotonCuts(), UserCreateOutputObjects(), and UserExec().

Int_t AliAnalysisTaskK0toPi0Pi0::fCurrentRun
private

Current run number (triggers RunChanged)

Definition at line 91 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by UserExec().

AliConvEventCuts* AliAnalysisTaskK0toPi0Pi0::fEventCuts
private

Event cuts.

Definition at line 100 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by SetEventCuts(), UserCreateOutputObjects(), and UserExec().

Double_t AliAnalysisTaskK0toPi0Pi0::fEventPlaneAngle
private

Event Plane Angle.

Definition at line 98 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by MakeConversionPhotonCandidates().

THistManager* AliAnalysisTaskK0toPi0Pi0::fHistos
private
Bool_t AliAnalysisTaskK0toPi0Pi0::fIsMC
private

Switch whether we run over data or MC.

Definition at line 96 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by MakeCaloPhotonCandidates().

AliConversionMesonCuts* AliAnalysisTaskK0toPi0Pi0::fK0Cuts
private

Cuts on the K0.

Definition at line 105 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by SetK0Cuts(), UserCreateOutputObjects(), and UserExec().

Bool_t AliAnalysisTaskK0toPi0Pi0::fLocalInitialized
private

Check whether the task was initialized (triggers ExecOnce)

Definition at line 90 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by UserExec().

Bool_t AliAnalysisTaskK0toPi0Pi0::fNewFile
private

New file loaded (triggers fileChanged)

Definition at line 92 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by UserNotify().

TList* AliAnalysisTaskK0toPi0Pi0::fOutput
private

Global output container.

Definition at line 109 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by UserCreateOutputObjects(), and UserExec().

AliConversionMesonCuts* AliAnalysisTaskK0toPi0Pi0::fPi0Cuts
private

Cuts on the pi0.

Definition at line 103 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by SetPi0Cuts(), UserCreateOutputObjects(), and UserExec().

AliConversionMesonCuts* AliAnalysisTaskK0toPi0Pi0::fPi0CutsCaloCalo
private

Cuts on the pi0 for the calo calo case.

Definition at line 104 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by SetPi0CutsCaloCalo(), UserCreateOutputObjects(), and UserExec().

AliV0ReaderV1* AliAnalysisTaskK0toPi0Pi0::fV0Reader
private

! V0 reader

Definition at line 93 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TString AliAnalysisTaskK0toPi0Pi0::fV0ReaderName
private

Name of the V0 reader.

Definition at line 94 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by SetNameV0Reader(), and UserCreateOutputObjects().

Double_t AliAnalysisTaskK0toPi0Pi0::fWeightJetJetMC
private

Weight of the jet-jet event.

Definition at line 97 of file AliAnalysisTaskK0toPi0Pi0.h.


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