AliPhysics  64f4410 (64f4410)
AliAnalysisTaskK0toPi0Pi0 Class Reference

Class handling analysis of K0s decay into two pi0s. More...

#include <AliAnalysisTaskK0toPi0Pi0.h>

Inheritance diagram for AliAnalysisTaskK0toPi0Pi0:

Public Types

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

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 SetPi0CutsConvConv (AliConversionMesonCuts *cuts)
 
void SetPi0CutsCaloCalo (AliConversionMesonCuts *cuts)
 
void SetPi0CutsConvCalo (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< AliAODConversionPhotonMakeCaloPhotonCandidates (const AliClusterContainer &inputcont, AliCaloPhotonCuts &cuts)
 
std::vector< AliAODConversionPhotonMakeConversionPhotonCandidates (const AliV0ReaderV1 &reader, AliConversionPhotonCuts &cuts)
 
std::vector< AliAODConversionMotherSelectMeson (std::vector< AliAODConversionMother > &candidates, AliConversionMesonCuts &cuts, MesonType_t meson, const char *reccase)
 
std::vector< AliAODConversionMotherMakePi0Candidates (const std::vector< AliAODConversionPhoton > *primaryLeg, const std::vector< AliAODConversionPhoton > *secondaryLeg, AliConversionMesonCuts &cuts)
 
std::vector< AliAODConversionMotherMakeK0ShortCandidates (const std::vector< AliAODConversionMother > *primaryLeg, const std::vector< AliAODConversionMother > *secondaryLeg, AliConversionMesonCuts &cuts)
 
std::vector< AliAODConversionMotherMakeK0ShortCandidatesMixed (const std::vector< AliAODConversionMother > *sameEvent, const std::vector< AliAODConversionMother * > *mixedEvent, 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...
 
AliConversionMesonCutsfPi0CutsConvConv
 Cuts on the pi0 for the conv conv case. More...
 
AliConversionMesonCutsfPi0CutsCaloCalo
 Cuts on the pi0 for the calo calo case. More...
 
AliConversionMesonCutsfPi0CutsConvCalo
 Cuts on the pi0 for the conv calo case. More...
 
AliConversionMesonCutsfK0Cuts
 Cuts on the K0. More...
 
AliGammaConversionAODBGHandlerfSamePCMHandler
 ! Background Handler for same PCM More...
 
AliGammaConversionAODBGHandlerfSameEMCALHandler
 ! Background Handler for same EMC More...
 
AliGammaConversionAODBGHandlerfMixedHandler
 ! Background Handler for mixed case More...
 
THistManagerfHistos
 Container for Histograms. More...
 
TListfOutput
 Global output container. More...
 

Detailed Description

Class handling analysis of K0s decay into two pi0s.

Author
Hannah Bossi
Since
June 28th 2017

This task builds K0s from pi0s and distinguishes between the different methods of EMCAL,PCM and EMCAL-PCM.

Definition at line 59 of file AliAnalysisTaskK0toPi0Pi0.h.

Member Enumeration Documentation

Enumerator
kPi0 
kK0 

Definition at line 67 of file AliAnalysisTaskK0toPi0Pi0.h.

Enumerator
kPCMPhoton 
kEMCALPhoton 
kUndefined 

Definition at line 61 of file AliAnalysisTaskK0toPi0Pi0.h.

Constructor & Destructor Documentation

AliAnalysisTaskK0toPi0Pi0::AliAnalysisTaskK0toPi0Pi0 ( )

Definition at line 50 of file AliAnalysisTaskK0toPi0Pi0.cxx.

AliAnalysisTaskK0toPi0Pi0::AliAnalysisTaskK0toPi0Pi0 ( const char *  name)

Definition at line 77 of file AliAnalysisTaskK0toPi0Pi0.cxx.

AliAnalysisTaskK0toPi0Pi0::~AliAnalysisTaskK0toPi0Pi0 ( )
virtual

Definition at line 106 of file AliAnalysisTaskK0toPi0Pi0.cxx.

AliAnalysisTaskK0toPi0Pi0::AliAnalysisTaskK0toPi0Pi0 ( const AliAnalysisTaskK0toPi0Pi0 )
private

Member Function Documentation

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

Definition at line 637 of file AliAnalysisTaskK0toPi0Pi0.cxx.

void AliAnalysisTaskK0toPi0Pi0::ExecOnce ( )
protectedvirtual

Definition at line 241 of file AliAnalysisTaskK0toPi0Pi0.cxx.

Referenced by UserExec(), and UserNotify().

virtual void AliAnalysisTaskK0toPi0Pi0::FileChanged ( )
inlineprotectedvirtual

Definition at line 92 of file AliAnalysisTaskK0toPi0Pi0.h.

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

Definition at line 416 of file AliAnalysisTaskK0toPi0Pi0.cxx.

Referenced by FileChanged(), and UserExec().

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

Definition at line 455 of file AliAnalysisTaskK0toPi0Pi0.cxx.

Referenced by FileChanged(), and UserExec().

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

Definition at line 554 of file AliAnalysisTaskK0toPi0Pi0.cxx.

Referenced by FileChanged(), and UserExec().

std::vector< AliAODConversionMother > AliAnalysisTaskK0toPi0Pi0::MakeK0ShortCandidatesMixed ( const std::vector< AliAODConversionMother > *  sameEvent,
const std::vector< AliAODConversionMother * > *  mixedEvent,
AliConversionMesonCuts cuts 
)
protected

Definition at line 580 of file AliAnalysisTaskK0toPi0Pi0.cxx.

Referenced by FileChanged(), and UserExec().

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

Definition at line 624 of file AliAnalysisTaskK0toPi0Pi0.cxx.

Referenced by FileChanged(), and UserExec().

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

Definition at line 594 of file AliAnalysisTaskK0toPi0Pi0.cxx.

Referenced by FileChanged(), and UserExec().

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

Definition at line 601 of file AliAnalysisTaskK0toPi0Pi0.cxx.

Referenced by FileChanged(), and UserExec().

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

Definition at line 520 of file AliAnalysisTaskK0toPi0Pi0.cxx.

Referenced by FileChanged(), and UserExec().

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

Definition at line 609 of file AliAnalysisTaskK0toPi0Pi0.cxx.

Referenced by FileChanged(), and UserExec().

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

Definition at line 91 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by UserExec().

std::vector< AliAODConversionMother > AliAnalysisTaskK0toPi0Pi0::SelectMeson ( std::vector< AliAODConversionMother > &  candidates,
AliConversionMesonCuts cuts,
MesonType_t  meson,
const char *  reccase 
)
protected

Definition at line 498 of file AliAnalysisTaskK0toPi0Pi0.cxx.

Referenced by FileChanged(), and UserExec().

void AliAnalysisTaskK0toPi0Pi0::SetCaloPhotonCuts ( AliCaloPhotonCuts cuts)
inline

Definition at line 80 of file AliAnalysisTaskK0toPi0Pi0.h.

void AliAnalysisTaskK0toPi0Pi0::SetConversionPhotonCuts ( AliConversionPhotonCuts cuts)
inline

Definition at line 79 of file AliAnalysisTaskK0toPi0Pi0.h.

void AliAnalysisTaskK0toPi0Pi0::SetEventCuts ( AliConvEventCuts cuts)
inline

Definition at line 78 of file AliAnalysisTaskK0toPi0Pi0.h.

void AliAnalysisTaskK0toPi0Pi0::SetK0Cuts ( AliConversionMesonCuts cuts)
inline

Definition at line 84 of file AliAnalysisTaskK0toPi0Pi0.h.

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

Definition at line 77 of file AliAnalysisTaskK0toPi0Pi0.h.

void AliAnalysisTaskK0toPi0Pi0::SetPi0CutsCaloCalo ( AliConversionMesonCuts cuts)
inline

Definition at line 82 of file AliAnalysisTaskK0toPi0Pi0.h.

void AliAnalysisTaskK0toPi0Pi0::SetPi0CutsConvCalo ( AliConversionMesonCuts cuts)
inline

Definition at line 83 of file AliAnalysisTaskK0toPi0Pi0.h.

void AliAnalysisTaskK0toPi0Pi0::SetPi0CutsConvConv ( AliConversionMesonCuts cuts)
inline

Definition at line 81 of file AliAnalysisTaskK0toPi0Pi0.h.

void AliAnalysisTaskK0toPi0Pi0::UserCreateOutputObjects ( )
protectedvirtual

Definition at line 111 of file AliAnalysisTaskK0toPi0Pi0.cxx.

Referenced by SetK0Cuts().

void AliAnalysisTaskK0toPi0Pi0::UserExec ( Option_t )
protectedvirtual

Definition at line 252 of file AliAnalysisTaskK0toPi0Pi0.cxx.

Referenced by SetK0Cuts().

virtual bool AliAnalysisTaskK0toPi0Pi0::UserNotify ( )
inlineprotectedvirtual

Definition at line 89 of file AliAnalysisTaskK0toPi0Pi0.h.

Member Data Documentation

AliCaloPhotonCuts* AliAnalysisTaskK0toPi0Pi0::fCaloPhotonCuts
private

Calo photon cuts.

Definition at line 120 of file AliAnalysisTaskK0toPi0Pi0.h.

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

AliClusterContainer* AliAnalysisTaskK0toPi0Pi0::fClusterContainer
private

Cluster container.

Definition at line 113 of file AliAnalysisTaskK0toPi0Pi0.h.

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

AliConversionPhotonCuts* AliAnalysisTaskK0toPi0Pi0::fConvPhotonCuts
private

Cuts on conversion photons.

Definition at line 119 of file AliAnalysisTaskK0toPi0Pi0.h.

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

Int_t AliAnalysisTaskK0toPi0Pi0::fCurrentRun
private

Current run number (triggers RunChanged)

Definition at line 109 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by UserExec().

AliConvEventCuts* AliAnalysisTaskK0toPi0Pi0::fEventCuts
private

Event cuts.

Definition at line 118 of file AliAnalysisTaskK0toPi0Pi0.h.

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

Double_t AliAnalysisTaskK0toPi0Pi0::fEventPlaneAngle
private

Event Plane Angle.

Definition at line 116 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 114 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by MakeCaloPhotonCandidates().

AliConversionMesonCuts* AliAnalysisTaskK0toPi0Pi0::fK0Cuts
private

Cuts on the K0.

Definition at line 124 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 108 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by UserExec().

AliGammaConversionAODBGHandler* AliAnalysisTaskK0toPi0Pi0::fMixedHandler
private

! Background Handler for mixed case

Definition at line 128 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by UserCreateOutputObjects(), and UserExec().

Bool_t AliAnalysisTaskK0toPi0Pi0::fNewFile
private

New file loaded (triggers fileChanged)

Definition at line 110 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by UserNotify().

TList* AliAnalysisTaskK0toPi0Pi0::fOutput
private

Global output container.

Definition at line 130 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by UserCreateOutputObjects(), and UserExec().

AliConversionMesonCuts* AliAnalysisTaskK0toPi0Pi0::fPi0CutsCaloCalo
private

Cuts on the pi0 for the calo calo case.

Definition at line 122 of file AliAnalysisTaskK0toPi0Pi0.h.

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

AliConversionMesonCuts* AliAnalysisTaskK0toPi0Pi0::fPi0CutsConvCalo
private

Cuts on the pi0 for the conv calo case.

Definition at line 123 of file AliAnalysisTaskK0toPi0Pi0.h.

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

AliConversionMesonCuts* AliAnalysisTaskK0toPi0Pi0::fPi0CutsConvConv
private

Cuts on the pi0 for the conv conv case.

Definition at line 121 of file AliAnalysisTaskK0toPi0Pi0.h.

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

AliGammaConversionAODBGHandler* AliAnalysisTaskK0toPi0Pi0::fSameEMCALHandler
private

! Background Handler for same EMC

Definition at line 127 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by UserCreateOutputObjects(), and UserExec().

AliGammaConversionAODBGHandler* AliAnalysisTaskK0toPi0Pi0::fSamePCMHandler
private

! Background Handler for same PCM

Definition at line 126 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by UserCreateOutputObjects(), and UserExec().

AliV0ReaderV1* AliAnalysisTaskK0toPi0Pi0::fV0Reader
private

! V0 reader

Definition at line 111 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TString AliAnalysisTaskK0toPi0Pi0::fV0ReaderName
private

Name of the V0 reader.

Definition at line 112 of file AliAnalysisTaskK0toPi0Pi0.h.

Referenced by SetNameV0Reader(), and UserCreateOutputObjects().

Double_t AliAnalysisTaskK0toPi0Pi0::fWeightJetJetMC
private

Weight of the jet-jet event.

Definition at line 115 of file AliAnalysisTaskK0toPi0Pi0.h.


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