AliPhysics  d565ceb (d565ceb)
AliAnalysisTaskSEB0toDStarPi Class Reference

#include <AliAnalysisTaskSEB0toDStarPi.h>

Inheritance diagram for AliAnalysisTaskSEB0toDStarPi:

Public Member Functions

 AliAnalysisTaskSEB0toDStarPi ()
 
 AliAnalysisTaskSEB0toDStarPi (const Char_t *name, AliRDHFCutsB0toDStarPi *cuts)
 
virtual ~AliAnalysisTaskSEB0toDStarPi ()
 
virtual void UserCreateOutputObjects ()
 Implementation of interface methods. More...
 
virtual void Init ()
 
virtual void LocalInit ()
 
virtual void UserExec (Option_t *option)
 
virtual void Terminate (Option_t *option)
 
void DefineHistograms ()
 
void B0toDStarPiSignalTracksInMC (TClonesArray *mcTrackArray, AliAODEvent *aodevent, TMatrix *B0toDStarPiLabelMatrix, TList *listout)
 
void D0PionSelection (AliAODEvent *aodEvent, TClonesArray *mcTrackArray, TMatrix *B0toDStarPiLabelMatrix)
 
void D0KaonSelection (AliAODEvent *aodEvent, TClonesArray *mcTrackArray, TMatrix *B0toDStarPiLabelMatrix)
 
void DStarPionSelection (AliAODEvent *aodEvent, TClonesArray *mcTrackArray, TMatrix *B0toDStarPiLabelMatrix)
 
void B0PionSelection (AliAODEvent *aodEvent, TClonesArray *mcTrackArray, TMatrix *B0toDStarPiLabelMatrix)
 
void D0Selection (AliAODEvent *aodEvent, AliAODVertex *primaryVertex, Double_t bz, TClonesArray *mcTrackArray, TMatrix *B0toDStarPiLabelMatrix)
 
void DStarAndB0Selection (AliAODEvent *aodEvent, AliAODVertex *primaryVertex, Double_t bz, TClonesArray *mcTrackArray, TMatrix *B0toDStarPiLabelMatrix)
 
AliAODVertex * RecalculateVertex (const AliVVertex *primary, TObjArray *tracks, Double_t bField, Int_t finderAlgorithm=1)
 
void FillFinalTrackHistograms (AliAODRecoCascadeHF *motherCascadeHF, Bool_t isDesiredCandidate, TClonesArray *mcTrackArray)
 
void FillD0Histograms (AliAODRecoDecayHF2Prong *selectedMother, AliAODVertex *primaryVertex, Double_t bz, Int_t motherType, Int_t histType)
 
void FillCascadeMotherHistograms (AliAODRecoCascadeHF *selectedMother, AliAODVertex *primaryVertex, Double_t bz, Int_t motherType, Int_t histType)
 
void SetMC (Bool_t bUseMCInfo)
 
Bool_t GetMC () const
 
Double_t DeltaInvMassDStarKpipi (AliAODRecoCascadeHF *DStar) const
 
Double_t DeltaInvMassB0Kpipipi (AliAODRecoCascadeHF *B0) const
 
void SetQuickSignalAnalysis (Bool_t value)
 
void SetGetCutInfo (Bool_t value)
 

Private Member Functions

 AliAnalysisTaskSEB0toDStarPi (const AliAnalysisTaskSEB0toDStarPi &source)
 
AliAnalysisTaskSEB0toDStarPioperator= (const AliAnalysisTaskSEB0toDStarPi &source)
 

Private Attributes

Int_t fEvents
 
Bool_t fUseMCInfo
 n. of events More...
 
TListfOutput
 Use MC info. More...
 
TListfOutputD0Pion
 
TListfOutputD0Kaon
 
TListfOutputDStarPion
 
TListfOutputB0Pion
 
TListfOutputD0
 
TListfOutputDStar
 
TListfOutputB0
 
TListfOutputD0_D0Pt
 
TListfOutputD0_DStarPt
 
TListfOutputDStar_DStarPt
 
TListfOutputB0MC
 ! User output 7 More...
 
AliRDHFCutsB0toDStarPifCuts
 
TH1F * fCEvents
 Cuts - sent to output slot 3. More...
 
AliNormalizationCounterfCounter
 !Counter for normalization slot 4 More...
 
std::vector< Int_t > * fD0PionTracks
 
std::vector< Int_t > * fD0KaonTracks
 
std::vector< Int_t > * fDStarPionTracks
 
std::vector< Int_t > * fB0PionTracks
 
TClonesArray * fD0Tracks
 
TClonesArray * fDStarTracks
 
TClonesArray * fB0Tracks
 
Int_t fnPtBins
 
Int_t fnPtBinLimits
 
Float_tfPtBinLimits
 
Int_t fnPtBinsD0forD0ptbin
 
Int_t fnPtBinsD0forD0ptbinLimits
 
Float_tfPtBinLimitsD0forD0ptbin
 
Int_t fnPtBinsD0forDStarptbin
 
Int_t fnPtBinsD0forDStarptbinLimits
 
Float_tfPtBinLimitsD0forDStarptbin
 
Int_t fnPtBinsDStarforDStarptbin
 
Int_t fnPtBinsDStarforDStarptbinLimits
 
Float_tfPtBinLimitsDStarforDStarptbin
 
Int_tfDaughterHistogramArray [4][5][15]
 
Int_tfDaughterHistogramArray2D [4][6]
 
Int_tfMotherHistogramArray [6][50][46]
 
Int_tfMotherHistogramArray2D [6][7]
 
Bool_t fQuickSignalAnalysis
 
Bool_t fGetCutInfo
 

Detailed Description

Definition at line 34 of file AliAnalysisTaskSEB0toDStarPi.h.

Constructor & Destructor Documentation

AliAnalysisTaskSEB0toDStarPi::AliAnalysisTaskSEB0toDStarPi ( )

Default ctor

Definition at line 87 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by SetGetCutInfo().

AliAnalysisTaskSEB0toDStarPi::AliAnalysisTaskSEB0toDStarPi ( const Char_t name,
AliRDHFCutsB0toDStarPi cuts 
)

Constructor. Initialization of Inputs and Outputs

Definition at line 137 of file AliAnalysisTaskSEB0toDStarPi.cxx.

AliAnalysisTaskSEB0toDStarPi::~AliAnalysisTaskSEB0toDStarPi ( )
virtual

destructor

Definition at line 258 of file AliAnalysisTaskSEB0toDStarPi.cxx.

AliAnalysisTaskSEB0toDStarPi::AliAnalysisTaskSEB0toDStarPi ( const AliAnalysisTaskSEB0toDStarPi source)
private

Member Function Documentation

void AliAnalysisTaskSEB0toDStarPi::B0PionSelection ( AliAODEvent aodEvent,
TClonesArray *  mcTrackArray,
TMatrix *  B0toDStarPiLabelMatrix 
)

Definition at line 2067 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by LocalInit(), and UserExec().

void AliAnalysisTaskSEB0toDStarPi::B0toDStarPiSignalTracksInMC ( TClonesArray *  mcTrackArray,
AliAODEvent aodevent,
TMatrix *  B0toDStarPiLabelMatrix,
TList listout 
)

Definition at line 1353 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by LocalInit(), and UserExec().

void AliAnalysisTaskSEB0toDStarPi::D0KaonSelection ( AliAODEvent aodEvent,
TClonesArray *  mcTrackArray,
TMatrix *  B0toDStarPiLabelMatrix 
)

Definition at line 1715 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by LocalInit(), and UserExec().

void AliAnalysisTaskSEB0toDStarPi::D0PionSelection ( AliAODEvent aodEvent,
TClonesArray *  mcTrackArray,
TMatrix *  B0toDStarPiLabelMatrix 
)

Definition at line 1540 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by LocalInit(), and UserExec().

void AliAnalysisTaskSEB0toDStarPi::D0Selection ( AliAODEvent aodEvent,
AliAODVertex *  primaryVertex,
Double_t  bz,
TClonesArray *  mcTrackArray,
TMatrix *  B0toDStarPiLabelMatrix 
)

Definition at line 2243 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by LocalInit(), and UserExec().

void AliAnalysisTaskSEB0toDStarPi::DefineHistograms ( )

Create histograms

Definition at line 629 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by LocalInit(), and UserCreateOutputObjects().

Double_t AliAnalysisTaskSEB0toDStarPi::DeltaInvMassB0Kpipipi ( AliAODRecoCascadeHF B0) const

4 prong invariant mass of the D0 daughters, the soft pion, and the B0 pion

Definition at line 3431 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by DStarAndB0Selection(), FillCascadeMotherHistograms(), and GetMC().

Double_t AliAnalysisTaskSEB0toDStarPi::DeltaInvMassDStarKpipi ( AliAODRecoCascadeHF DStar) const

3 prong invariant mass of the D0 daughters and the soft pion

Definition at line 3413 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by FillCascadeMotherHistograms(), and GetMC().

void AliAnalysisTaskSEB0toDStarPi::DStarAndB0Selection ( AliAODEvent aodEvent,
AliAODVertex *  primaryVertex,
Double_t  bz,
TClonesArray *  mcTrackArray,
TMatrix *  B0toDStarPiLabelMatrix 
)

Definition at line 2436 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by LocalInit(), and UserExec().

void AliAnalysisTaskSEB0toDStarPi::DStarPionSelection ( AliAODEvent aodEvent,
TClonesArray *  mcTrackArray,
TMatrix *  B0toDStarPiLabelMatrix 
)

Definition at line 1891 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by LocalInit(), and UserExec().

void AliAnalysisTaskSEB0toDStarPi::FillCascadeMotherHistograms ( AliAODRecoCascadeHF selectedMother,
AliAODVertex *  primaryVertex,
Double_t  bz,
Int_t  motherType,
Int_t  histType 
)

Definition at line 3616 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by DStarAndB0Selection(), and LocalInit().

void AliAnalysisTaskSEB0toDStarPi::FillD0Histograms ( AliAODRecoDecayHF2Prong selectedMother,
AliAODVertex *  primaryVertex,
Double_t  bz,
Int_t  motherType,
Int_t  histType 
)

Definition at line 3457 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by D0Selection(), DStarAndB0Selection(), and LocalInit().

void AliAnalysisTaskSEB0toDStarPi::FillFinalTrackHistograms ( AliAODRecoCascadeHF motherCascadeHF,
Bool_t  isDesiredCandidate,
TClonesArray *  mcTrackArray 
)

Definition at line 3035 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by DStarAndB0Selection(), and LocalInit().

Bool_t AliAnalysisTaskSEB0toDStarPi::GetMC ( ) const
inline

Definition at line 70 of file AliAnalysisTaskSEB0toDStarPi.h.

void AliAnalysisTaskSEB0toDStarPi::Init ( )
virtual

Initialization

Definition at line 291 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by LocalInit().

virtual void AliAnalysisTaskSEB0toDStarPi::LocalInit ( )
inlinevirtual

Definition at line 46 of file AliAnalysisTaskSEB0toDStarPi.h.

AliAnalysisTaskSEB0toDStarPi& AliAnalysisTaskSEB0toDStarPi::operator= ( const AliAnalysisTaskSEB0toDStarPi source)
private

Referenced by SetGetCutInfo().

AliAODVertex * AliAnalysisTaskSEB0toDStarPi::RecalculateVertex ( const AliVVertex *  primary,
TObjArray tracks,
Double_t  bField,
Int_t  finderAlgorithm = 1 
)

Definition at line 1298 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by D0Selection(), DStarAndB0Selection(), and LocalInit().

void AliAnalysisTaskSEB0toDStarPi::SetGetCutInfo ( Bool_t  value)
inline

Definition at line 76 of file AliAnalysisTaskSEB0toDStarPi.h.

void AliAnalysisTaskSEB0toDStarPi::SetMC ( Bool_t  bUseMCInfo)
inline

Definition at line 69 of file AliAnalysisTaskSEB0toDStarPi.h.

void AliAnalysisTaskSEB0toDStarPi::SetQuickSignalAnalysis ( Bool_t  value)
inline

Definition at line 75 of file AliAnalysisTaskSEB0toDStarPi.h.

void AliAnalysisTaskSEB0toDStarPi::Terminate ( Option_t option)
virtual

The Terminate() function is the last function to be called during a query. It always runs on the client, it can be used to present the results graphically or save the results to file.

Definition at line 477 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by LocalInit().

void AliAnalysisTaskSEB0toDStarPi::UserCreateOutputObjects ( )
virtual

Implementation of interface methods.

output

Definition at line 552 of file AliAnalysisTaskSEB0toDStarPi.cxx.

void AliAnalysisTaskSEB0toDStarPi::UserExec ( Option_t option)
virtual

Definition at line 305 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by LocalInit().

Member Data Documentation

std::vector<Int_t>* AliAnalysisTaskSEB0toDStarPi::fB0PionTracks
private
TClonesArray* AliAnalysisTaskSEB0toDStarPi::fB0Tracks
private
TH1F* AliAnalysisTaskSEB0toDStarPi::fCEvents
private

Cuts - sent to output slot 3.

!

Definition at line 102 of file AliAnalysisTaskSEB0toDStarPi.h.

Referenced by DefineHistograms(), Terminate(), UserExec(), and ~AliAnalysisTaskSEB0toDStarPi().

AliNormalizationCounter* AliAnalysisTaskSEB0toDStarPi::fCounter
private

!Counter for normalization slot 4

Definition at line 104 of file AliAnalysisTaskSEB0toDStarPi.h.

Referenced by UserCreateOutputObjects(), and UserExec().

std::vector<Int_t>* AliAnalysisTaskSEB0toDStarPi::fD0KaonTracks
private
std::vector<Int_t>* AliAnalysisTaskSEB0toDStarPi::fD0PionTracks
private
TClonesArray* AliAnalysisTaskSEB0toDStarPi::fD0Tracks
private
Int_t* AliAnalysisTaskSEB0toDStarPi::fDaughterHistogramArray[4][5][15]
private
Int_t* AliAnalysisTaskSEB0toDStarPi::fDaughterHistogramArray2D[4][6]
private
std::vector<Int_t>* AliAnalysisTaskSEB0toDStarPi::fDStarPionTracks
private
TClonesArray* AliAnalysisTaskSEB0toDStarPi::fDStarTracks
private
Int_t AliAnalysisTaskSEB0toDStarPi::fEvents
private

Definition at line 83 of file AliAnalysisTaskSEB0toDStarPi.h.

Referenced by UserExec().

Bool_t AliAnalysisTaskSEB0toDStarPi::fGetCutInfo
private

Definition at line 134 of file AliAnalysisTaskSEB0toDStarPi.h.

Referenced by D0Selection(), DStarAndB0Selection(), and SetGetCutInfo().

Int_t* AliAnalysisTaskSEB0toDStarPi::fMotherHistogramArray[6][50][46]
private
Int_t* AliAnalysisTaskSEB0toDStarPi::fMotherHistogramArray2D[6][7]
private
Int_t AliAnalysisTaskSEB0toDStarPi::fnPtBinLimits
private

Definition at line 116 of file AliAnalysisTaskSEB0toDStarPi.h.

Referenced by AliAnalysisTaskSEB0toDStarPi().

Int_t AliAnalysisTaskSEB0toDStarPi::fnPtBins
private
Int_t AliAnalysisTaskSEB0toDStarPi::fnPtBinsD0forD0ptbin
private
Int_t AliAnalysisTaskSEB0toDStarPi::fnPtBinsD0forD0ptbinLimits
private

Definition at line 119 of file AliAnalysisTaskSEB0toDStarPi.h.

Referenced by AliAnalysisTaskSEB0toDStarPi().

Int_t AliAnalysisTaskSEB0toDStarPi::fnPtBinsD0forDStarptbin
private
Int_t AliAnalysisTaskSEB0toDStarPi::fnPtBinsD0forDStarptbinLimits
private

Definition at line 122 of file AliAnalysisTaskSEB0toDStarPi.h.

Referenced by AliAnalysisTaskSEB0toDStarPi().

Int_t AliAnalysisTaskSEB0toDStarPi::fnPtBinsDStarforDStarptbin
private
Int_t AliAnalysisTaskSEB0toDStarPi::fnPtBinsDStarforDStarptbinLimits
private

Definition at line 125 of file AliAnalysisTaskSEB0toDStarPi.h.

Referenced by AliAnalysisTaskSEB0toDStarPi().

TList* AliAnalysisTaskSEB0toDStarPi::fOutput
private

Use MC info.

! User output

Definition at line 86 of file AliAnalysisTaskSEB0toDStarPi.h.

Referenced by DefineHistograms(), Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSEB0toDStarPi().

TList* AliAnalysisTaskSEB0toDStarPi::fOutputB0
private
TList* AliAnalysisTaskSEB0toDStarPi::fOutputB0MC
private
TList* AliAnalysisTaskSEB0toDStarPi::fOutputB0Pion
private
TList* AliAnalysisTaskSEB0toDStarPi::fOutputD0
private
TList* AliAnalysisTaskSEB0toDStarPi::fOutputD0_D0Pt
private
TList* AliAnalysisTaskSEB0toDStarPi::fOutputD0_DStarPt
private
TList* AliAnalysisTaskSEB0toDStarPi::fOutputD0Kaon
private
TList* AliAnalysisTaskSEB0toDStarPi::fOutputD0Pion
private
TList* AliAnalysisTaskSEB0toDStarPi::fOutputDStar
private
TList* AliAnalysisTaskSEB0toDStarPi::fOutputDStar_DStarPt
private
TList* AliAnalysisTaskSEB0toDStarPi::fOutputDStarPion
private
Float_t* AliAnalysisTaskSEB0toDStarPi::fPtBinLimits
private
Float_t* AliAnalysisTaskSEB0toDStarPi::fPtBinLimitsD0forD0ptbin
private
Float_t* AliAnalysisTaskSEB0toDStarPi::fPtBinLimitsD0forDStarptbin
private
Float_t* AliAnalysisTaskSEB0toDStarPi::fPtBinLimitsDStarforDStarptbin
private
Bool_t AliAnalysisTaskSEB0toDStarPi::fQuickSignalAnalysis
private
Bool_t AliAnalysisTaskSEB0toDStarPi::fUseMCInfo
private

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