AliPhysics  master (3d17d9d)
AliGammaConversionAODBGHandler Class Reference

#include <AliGammaConversionAODBGHandler.h>

Inheritance diagram for AliGammaConversionAODBGHandler:

Classes

struct  GammaConversionVertex
 

Public Types

typedef struct GammaConversionVertex GammaConversionVertex
 
typedef std::vector< AliGammaConversionAODVectorAliGammaConversionBGEventVector
 
typedef std::vector< AliGammaConversionBGEventVectorAliGammaConversionMultipicityVector
 
typedef std::vector< AliGammaConversionMultipicityVectorAliGammaConversionBGVector
 
typedef std::vector< AliGammaConversionMotherAODVectorAliGammaConversionMotherBGEventVector
 
typedef std::vector< AliGammaConversionMotherBGEventVectorAliGammaConversionMotherMultipicityVector
 
typedef std::vector< AliGammaConversionMotherMultipicityVectorAliGammaConversionMotherBGVector
 
typedef std::vector< AliAODMCParticleVectorAliGammaMCParticleBGEventVector
 
typedef std::vector< AliGammaMCParticleBGEventVectorAliGammaMCParticleMultipicityVector
 
typedef std::vector< AliGammaMCParticleMultipicityVectorAliAODMCParticleBGVector
 

Public Member Functions

 AliGammaConversionAODBGHandler ()
 
 AliGammaConversionAODBGHandler (Int_t binsZ, Int_t binsMultiplicity, Int_t nEvents)
 
 AliGammaConversionAODBGHandler (Int_t collisionSystem, Int_t centMin, Int_t centMax, Int_t nEvents, Bool_t useTrackMult, Int_t mode, Int_t binsZ, Int_t binsMultiplicity)
 
 AliGammaConversionAODBGHandler (const AliGammaConversionAODBGHandler &g)
 
AliGammaConversionAODBGHandleroperator= (const AliGammaConversionAODBGHandler &g)
 
virtual ~AliGammaConversionAODBGHandler ()
 
void Initialize (Double_t *const zBinLimitsArray, Double_t *const multiplicityBinLimitsArray)
 
Int_t GetZBinIndex (Double_t z) const
 
Int_t GetMultiplicityBinIndex (Int_t mult) const
 
Int_t GetNBackgroundEventsInBuffer (Int_t binz, int binMult) const
 
void AddEvent (TList *const eventGammas, Double_t xvalue, Double_t yvalue, Double_t zvalue, Int_t multiplicity, Double_t epvalue=-100)
 
void AddMesonEvent (TList *const eventMothers, Double_t xvalue, Double_t yvalue, Double_t zvalue, Int_t multiplicity, Double_t epvalue=-100)
 
void AddMesonEvent (const std::vector< AliAODConversionMother > &eventMother, Double_t xvalue, Double_t yvalue, Double_t zvalue, Int_t multiplicity, Double_t epvalue=-100)
 
void AddElectronEvent (TClonesArray *const eventENeg, Double_t zvalue, Int_t multiplicity)
 
void AddMCParticleEvent (TList *const eventGammas, Double_t xvalue, Double_t yvalue, Double_t zvalue, Int_t multiplicity, Double_t epvalue=-100)
 
Int_t GetNBGEvents () const
 
AliGammaConversionAODVectorGetBGGoodV0s (Int_t zbin, Int_t mbin, Int_t event)
 
AliAODMCParticleVectorGetBGGoodV0sMC (Int_t zbin, Int_t mbin, Int_t event)
 
AliGammaConversionMotherAODVectorGetBGGoodMesons (Int_t zbin, Int_t mbin, Int_t event)
 
AliGammaConversionAODVectorGetBGGoodENeg (Int_t event, Double_t zvalue, Int_t multiplicity)
 
void PrintBGArray ()
 
GammaConversionVertexGetBGEventVertex (Int_t zbin, Int_t mbin, Int_t event)
 
Double_t GetBGProb (Int_t z, Int_t m)
 

Private Attributes

Int_t fNEvents
 
Int_t ** fBGEventCounter
 
Int_t ** fBGEventENegCounter
 bg counter More...
 
Int_t ** fBGEventMesonCounter
 bg electron counter More...
 
Int_t ** fBGMCParticleEventCounter
 bg counter More...
 
Int_t ** fBGEventBufferCounter
 bg counter More...
 
Double_t ** fBGProbability
 bg counter More...
 
GammaConversionVertex *** fBGEventVertex
 prob per bin More...
 
Int_t fNBinsZ
 array of event vertex More...
 
Int_t fNBinsMultiplicity
 
Double_tfBinLimitsArrayZ
 
Double_tfBinLimitsArrayMultiplicity
 bin limits z array More...
 
AliGammaConversionBGVector fBGEvents
 bin limit multiplicity array More...
 
AliGammaConversionBGVector fBGEventsENeg
 
AliGammaConversionMotherBGVector fBGEventsMeson
 
AliAODMCParticleBGVector fBGEventsMCParticle
 

Detailed Description

Definition at line 29 of file AliGammaConversionAODBGHandler.h.

Member Typedef Documentation

Constructor & Destructor Documentation

AliGammaConversionAODBGHandler::AliGammaConversionAODBGHandler ( )

Definition at line 33 of file AliGammaConversionAODBGHandler.cxx.

AliGammaConversionAODBGHandler::AliGammaConversionAODBGHandler ( Int_t  binsZ,
Int_t  binsMultiplicity,
Int_t  nEvents 
)

Definition at line 56 of file AliGammaConversionAODBGHandler.cxx.

AliGammaConversionAODBGHandler::AliGammaConversionAODBGHandler ( Int_t  collisionSystem,
Int_t  centMin,
Int_t  centMax,
Int_t  nEvents,
Bool_t  useTrackMult,
Int_t  mode,
Int_t  binsZ,
Int_t  binsMultiplicity 
)

Definition at line 80 of file AliGammaConversionAODBGHandler.cxx.

AliGammaConversionAODBGHandler::AliGammaConversionAODBGHandler ( const AliGammaConversionAODBGHandler g)

Definition at line 386 of file AliGammaConversionAODBGHandler.cxx.

AliGammaConversionAODBGHandler::~AliGammaConversionAODBGHandler ( )
virtual

Definition at line 416 of file AliGammaConversionAODBGHandler.cxx.

Member Function Documentation

void AliGammaConversionAODBGHandler::AddElectronEvent ( TClonesArray *const  eventENeg,
Double_t  zvalue,
Int_t  multiplicity 
)

Definition at line 731 of file AliGammaConversionAODBGHandler.cxx.

void AliGammaConversionAODBGHandler::AddMCParticleEvent ( TList *const  eventGammas,
Double_t  xvalue,
Double_t  yvalue,
Double_t  zvalue,
Int_t  multiplicity,
Double_t  epvalue = -100 
)
void AliGammaConversionAODBGHandler::AddMesonEvent ( const std::vector< AliAODConversionMother > &  eventMother,
Double_t  xvalue,
Double_t  yvalue,
Double_t  zvalue,
Int_t  multiplicity,
Double_t  epvalue = -100 
)

Definition at line 702 of file AliGammaConversionAODBGHandler.cxx.

AliGammaConversionAODVector * AliGammaConversionAODBGHandler::GetBGGoodENeg ( Int_t  event,
Double_t  zvalue,
Int_t  multiplicity 
)

Definition at line 815 of file AliGammaConversionAODBGHandler.cxx.

Referenced by GetNBGEvents().

AliAODMCParticleVector * AliGammaConversionAODBGHandler::GetBGGoodV0sMC ( Int_t  zbin,
Int_t  mbin,
Int_t  event 
)
Double_t AliGammaConversionAODBGHandler::GetBGProb ( Int_t  z,
Int_t  m 
)
inline
Int_t AliGammaConversionAODBGHandler::GetMultiplicityBinIndex ( Int_t  mult) const

Definition at line 614 of file AliGammaConversionAODBGHandler.cxx.

Referenced by AddElectronEvent(), AddEvent(), AddMCParticleEvent(), AddMesonEvent(), AliAnalysisTaskGammaConvV1::CalculateBackground(), AliAnalysisTaskEtaToPiPlPiMiGamma::CalculateBackground(), AliAnalysisTaskGammaCalo::CalculateBackground(), AliAnalysisTaskGammaCaloDalitzV1::CalculateBackground(), AliAnalysisTaskGammaConvDalitzV1::CalculateBackground(), AliAnalysisTaskGammaCaloMix::CalculateBackground(), AliAnalysisTaskNeutralMesonToPiPlPiMiPiZero::CalculateBackground(), AliAnalysisTaskOmegaToPiZeroGamma::CalculateBackground(), AliAnalysisTaskConvCaloCalibration::CalculateBackground(), AliAnalysisTaskGammaConvCaloIso::CalculateBackground(), AliAnalysisTaskNeutralMesonToPiPlPiMiNeutralMeson::CalculateBackground(), AliAnalysisTaskGammaConvCalo::CalculateBackground(), AliAnalysisTaskHeavyNeutralMesonToGG::CalculateBackground(), AliAnalysisTaskGammaCaloIso::CalculateBackgroundIsolation(), AliAnalysisTaskGammaConvCalo::CalculateHBTBackgroundMC(), AliAnalysisTaskHeavyNeutralMesonToGG::CalculateMesonCandidates(), AliAnalysisTaskConvCaloCalibration::CalculateMesonCandidates(), AliAnalysisTaskEtaToPiPlPiMiGamma::CalculateMesonCandidates(), AliAnalysisTaskGammaConvCaloIso::CalculatePi0Candidates(), AliAnalysisTaskGammaCalo::CalculatePi0Candidates(), AliAnalysisTaskGammaCaloMix::CalculatePi0Candidates(), AliAnalysisTaskGammaConvCalo::CalculatePi0Candidates(), AliAnalysisTaskGammaConvV1::CalculatePi0Candidates(), AliAnalysisTaskGammaCaloIso::CalculatePi0CandidatesIsolation(), AliAnalysisTaskGammaCaloDalitzV1::CalculatePi0DalitzCandidates(), AliAnalysisTaskGammaConvDalitzV1::CalculatePi0DalitzCandidates(), GetBGGoodENeg(), and AliAnalysisTaskK0toPi0Pi0::UserExec().

Int_t AliGammaConversionAODBGHandler::GetNBackgroundEventsInBuffer ( Int_t  binz,
int  binMult 
) const

Definition at line 810 of file AliGammaConversionAODBGHandler.cxx.

Int_t AliGammaConversionAODBGHandler::GetZBinIndex ( Double_t  z) const

Definition at line 599 of file AliGammaConversionAODBGHandler.cxx.

Referenced by AddElectronEvent(), AddEvent(), AddMCParticleEvent(), AddMesonEvent(), AliAnalysisTaskGammaConvV1::CalculateBackground(), AliAnalysisTaskEtaToPiPlPiMiGamma::CalculateBackground(), AliAnalysisTaskGammaCalo::CalculateBackground(), AliAnalysisTaskGammaCaloDalitzV1::CalculateBackground(), AliAnalysisTaskGammaConvDalitzV1::CalculateBackground(), AliAnalysisTaskGammaCaloMix::CalculateBackground(), AliAnalysisTaskNeutralMesonToPiPlPiMiPiZero::CalculateBackground(), AliAnalysisTaskOmegaToPiZeroGamma::CalculateBackground(), AliAnalysisTaskConvCaloCalibration::CalculateBackground(), AliAnalysisTaskGammaConvCaloIso::CalculateBackground(), AliAnalysisTaskNeutralMesonToPiPlPiMiNeutralMeson::CalculateBackground(), AliAnalysisTaskGammaConvCalo::CalculateBackground(), AliAnalysisTaskHeavyNeutralMesonToGG::CalculateBackground(), AliAnalysisTaskGammaCaloIso::CalculateBackgroundIsolation(), AliAnalysisTaskGammaConvCalo::CalculateHBTBackgroundMC(), AliAnalysisTaskHeavyNeutralMesonToGG::CalculateMesonCandidates(), AliAnalysisTaskConvCaloCalibration::CalculateMesonCandidates(), AliAnalysisTaskEtaToPiPlPiMiGamma::CalculateMesonCandidates(), AliAnalysisTaskGammaConvCaloIso::CalculatePi0Candidates(), AliAnalysisTaskGammaCalo::CalculatePi0Candidates(), AliAnalysisTaskGammaCaloMix::CalculatePi0Candidates(), AliAnalysisTaskGammaConvCalo::CalculatePi0Candidates(), AliAnalysisTaskGammaConvV1::CalculatePi0Candidates(), AliAnalysisTaskGammaCaloIso::CalculatePi0CandidatesIsolation(), AliAnalysisTaskGammaCaloDalitzV1::CalculatePi0DalitzCandidates(), AliAnalysisTaskGammaConvDalitzV1::CalculatePi0DalitzCandidates(), GetBGGoodENeg(), and AliAnalysisTaskK0toPi0Pi0::UserExec().

void AliGammaConversionAODBGHandler::Initialize ( Double_t *const  zBinLimitsArray,
Double_t *const  multiplicityBinLimitsArray 
)

Definition at line 478 of file AliGammaConversionAODBGHandler.cxx.

Referenced by AliGammaConversionAODBGHandler().

AliGammaConversionAODBGHandler & AliGammaConversionAODBGHandler::operator= ( const AliGammaConversionAODBGHandler g)

Definition at line 409 of file AliGammaConversionAODBGHandler.cxx.

void AliGammaConversionAODBGHandler::PrintBGArray ( )

Definition at line 823 of file AliGammaConversionAODBGHandler.cxx.

Referenced by GetNBGEvents().

Member Data Documentation

Int_t** AliGammaConversionAODBGHandler::fBGEventBufferCounter
private
Int_t** AliGammaConversionAODBGHandler::fBGEventCounter
private
Int_t** AliGammaConversionAODBGHandler::fBGEventENegCounter
private

bg counter

Definition at line 97 of file AliGammaConversionAODBGHandler.h.

Referenced by AddElectronEvent(), Initialize(), and ~AliGammaConversionAODBGHandler().

Int_t** AliGammaConversionAODBGHandler::fBGEventMesonCounter
private

bg electron counter

Definition at line 98 of file AliGammaConversionAODBGHandler.h.

Referenced by AddMesonEvent(), Initialize(), and ~AliGammaConversionAODBGHandler().

AliGammaConversionBGVector AliGammaConversionAODBGHandler::fBGEvents
private

bin limit multiplicity array

Definition at line 107 of file AliGammaConversionAODBGHandler.h.

Referenced by AddEvent(), AddMesonEvent(), GetBGGoodV0s(), and PrintBGArray().

AliGammaConversionBGVector AliGammaConversionAODBGHandler::fBGEventsENeg
private

Definition at line 108 of file AliGammaConversionAODBGHandler.h.

Referenced by AddElectronEvent(), and GetBGGoodENeg().

AliAODMCParticleBGVector AliGammaConversionAODBGHandler::fBGEventsMCParticle
private

Definition at line 110 of file AliGammaConversionAODBGHandler.h.

Referenced by AddMCParticleEvent(), and GetBGGoodV0sMC().

AliGammaConversionMotherBGVector AliGammaConversionAODBGHandler::fBGEventsMeson
private

Definition at line 109 of file AliGammaConversionAODBGHandler.h.

Referenced by AddMesonEvent(), and GetBGGoodMesons().

GammaConversionVertex*** AliGammaConversionAODBGHandler::fBGEventVertex
private
Int_t** AliGammaConversionAODBGHandler::fBGMCParticleEventCounter
private

bg counter

Definition at line 99 of file AliGammaConversionAODBGHandler.h.

Referenced by AddMCParticleEvent(), Initialize(), and ~AliGammaConversionAODBGHandler().

Double_t** AliGammaConversionAODBGHandler::fBGProbability
private

bg counter

Definition at line 101 of file AliGammaConversionAODBGHandler.h.

Referenced by GetBGProb(), and Initialize().

Double_t* AliGammaConversionAODBGHandler::fBinLimitsArrayMultiplicity
private
Double_t* AliGammaConversionAODBGHandler::fBinLimitsArrayZ
private
Int_t AliGammaConversionAODBGHandler::fNBinsMultiplicity
private
Int_t AliGammaConversionAODBGHandler::fNBinsZ
private
Int_t AliGammaConversionAODBGHandler::fNEvents
private

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