AliPhysics  8d00e07 (8d00e07)
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 DStarPionSelection (AliAODEvent *aodEvent, AliAODVertex *primaryVertex, Double_t bz, TClonesArray *mcTrackArray, TMatrix *B0toDStarPiLabelMatrix)
 
void B0PionSelection (AliAODEvent *aodEvent, AliAODVertex *primaryVertex, Double_t bz, TClonesArray *mcTrackArray, TMatrix *B0toDStarPiLabelMatrix)
 
void D0Selection (AliAODEvent *aodEvent, AliAODVertex *primaryVertex, Double_t bz, TClonesArray *mcTrackArray, TMatrix *B0toDStarPiLabelMatrix, TClonesArray *D0TracksFromFriendFile)
 
void DStarAndB0Selection (AliAODEvent *aodEvent, AliAODVertex *primaryVertex, Double_t bz, TClonesArray *mcTrackArray, TMatrix *B0toDStarPiLabelMatrix, TClonesArray *D0TracksFromFriendFile)
 
AliAODVertex * RecalculateVertex (const AliVVertex *primary, TObjArray *tracks, Double_t bField, Double_t dispersion)
 
void FillFinalTrackHistograms (AliAODRecoDecayHF2Prong *trackB0, Bool_t isDesiredCandidate, TClonesArray *mcTrackArray)
 
void FillD0Histograms (AliAODRecoDecayHF2Prong *selectedMother, AliAODVertex *primaryVertex, Double_t bz, Int_t motherType, Int_t histType, Int_t pdgCodeMother=-1)
 
void FillDStarAndB0Histograms (AliAODRecoDecayHF2Prong *selectedMother, AliAODVertex *primaryVertex, Double_t bz, Int_t motherType, Int_t histType)
 
Int_t MatchCandidateToMonteCarlo (Int_t pdgabs, AliAODRecoDecayHF2Prong *candidate, TClonesArray *mcArray, TMatrix *B0toDStarPiLabelMatrix) const
 
void SetMC (Bool_t bUseMCInfo)
 
Bool_t GetMC () const
 
Double_t DeltaInvMassDStarKpipi (AliAODRecoDecayHF2Prong *DStar) const
 
Double_t DeltaInvMassB0Kpipipi (AliAODRecoDecayHF2Prong *B0) const
 
void SetQuickSignalAnalysis (Bool_t value)
 
void SetGetCutInfo (Bool_t value)
 
void SetShowMask (Bool_t bShowMask)
 
Bool_t GetShowMask () const
 
void SetShowRejection (Bool_t bShowRejection)
 
Bool_t GetShowRejection () const
 

Private Member Functions

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

Private Attributes

Int_t fEvents
 
Bool_t fUseMCInfo
 n. of events More...
 
Bool_t fShowMask
 Use MC info. More...
 
Bool_t fShowRejection
 
TListfOutput
 ! User output 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 > * fDStarPionTracks
 
std::vector< Int_t > * fB0PionTracks
 
std::vector< Int_t > * fD0Tracks
 
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][16][60]
 
Int_tfMotherHistogramArrayExtra [7][10]
 
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 GetShowRejection().

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

Constructor. Initialization of Inputs and Outputs

Definition at line 136 of file AliAnalysisTaskSEB0toDStarPi.cxx.

AliAnalysisTaskSEB0toDStarPi::~AliAnalysisTaskSEB0toDStarPi ( )
virtual

destructor

Definition at line 252 of file AliAnalysisTaskSEB0toDStarPi.cxx.

AliAnalysisTaskSEB0toDStarPi::AliAnalysisTaskSEB0toDStarPi ( const AliAnalysisTaskSEB0toDStarPi source)
private

Member Function Documentation

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

Definition at line 1824 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by LocalInit(), and UserExec().

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

Definition at line 1422 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by LocalInit(), and UserExec().

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

Definition at line 2043 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by LocalInit(), and UserExec().

void AliAnalysisTaskSEB0toDStarPi::DefineHistograms ( )

Create histograms

Definition at line 608 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by LocalInit(), and UserCreateOutputObjects().

Double_t AliAnalysisTaskSEB0toDStarPi::DeltaInvMassB0Kpipipi ( AliAODRecoDecayHF2Prong B0) const

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

Definition at line 3330 of file AliAnalysisTaskSEB0toDStarPi.cxx.

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

Double_t AliAnalysisTaskSEB0toDStarPi::DeltaInvMassDStarKpipi ( AliAODRecoDecayHF2Prong DStar) const

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

Definition at line 3294 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by FillDStarAndB0Histograms(), and GetMC().

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

Definition at line 2165 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by LocalInit(), and UserExec().

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

Definition at line 1607 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by LocalInit(), and UserExec().

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

Definition at line 3370 of file AliAnalysisTaskSEB0toDStarPi.cxx.

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

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

Definition at line 3569 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by DStarAndB0Selection(), and LocalInit().

void AliAnalysisTaskSEB0toDStarPi::FillFinalTrackHistograms ( AliAODRecoDecayHF2Prong trackB0,
Bool_t  isDesiredCandidate,
TClonesArray *  mcTrackArray 
)

Definition at line 2910 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by DStarAndB0Selection(), and LocalInit().

Bool_t AliAnalysisTaskSEB0toDStarPi::GetMC ( ) const
inline

Definition at line 69 of file AliAnalysisTaskSEB0toDStarPi.h.

Bool_t AliAnalysisTaskSEB0toDStarPi::GetShowMask ( ) const
inline

Definition at line 78 of file AliAnalysisTaskSEB0toDStarPi.h.

Bool_t AliAnalysisTaskSEB0toDStarPi::GetShowRejection ( ) const
inline

Definition at line 81 of file AliAnalysisTaskSEB0toDStarPi.h.

void AliAnalysisTaskSEB0toDStarPi::Init ( )
virtual

Initialization

Definition at line 277 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by LocalInit().

virtual void AliAnalysisTaskSEB0toDStarPi::LocalInit ( )
inlinevirtual

Definition at line 46 of file AliAnalysisTaskSEB0toDStarPi.h.

Int_t AliAnalysisTaskSEB0toDStarPi::MatchCandidateToMonteCarlo ( Int_t  pdgabs,
AliAODRecoDecayHF2Prong candidate,
TClonesArray *  mcArray,
TMatrix *  B0toDStarPiLabelMatrix 
) const

Definition at line 3857 of file AliAnalysisTaskSEB0toDStarPi.cxx.

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

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

Referenced by GetShowRejection().

AliAODVertex * AliAnalysisTaskSEB0toDStarPi::RecalculateVertex ( const AliVVertex *  primary,
TObjArray tracks,
Double_t  bField,
Double_t  dispersion 
)

Definition at line 1372 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by DStarAndB0Selection(), and LocalInit().

void AliAnalysisTaskSEB0toDStarPi::SetGetCutInfo ( Bool_t  value)
inline

Definition at line 75 of file AliAnalysisTaskSEB0toDStarPi.h.

void AliAnalysisTaskSEB0toDStarPi::SetMC ( Bool_t  bUseMCInfo)
inline

Definition at line 68 of file AliAnalysisTaskSEB0toDStarPi.h.

void AliAnalysisTaskSEB0toDStarPi::SetQuickSignalAnalysis ( Bool_t  value)
inline

Definition at line 74 of file AliAnalysisTaskSEB0toDStarPi.h.

void AliAnalysisTaskSEB0toDStarPi::SetShowMask ( Bool_t  bShowMask)
inline

Definition at line 77 of file AliAnalysisTaskSEB0toDStarPi.h.

void AliAnalysisTaskSEB0toDStarPi::SetShowRejection ( Bool_t  bShowRejection)
inline

Definition at line 80 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 456 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by LocalInit().

void AliAnalysisTaskSEB0toDStarPi::UserCreateOutputObjects ( )
virtual

Implementation of interface methods.

output

Definition at line 531 of file AliAnalysisTaskSEB0toDStarPi.cxx.

void AliAnalysisTaskSEB0toDStarPi::UserExec ( Option_t option)
virtual

Definition at line 290 of file AliAnalysisTaskSEB0toDStarPi.cxx.

Referenced by LocalInit().

Member Data Documentation

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

Cuts - sent to output slot 3.

!

Definition at line 109 of file AliAnalysisTaskSEB0toDStarPi.h.

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

AliNormalizationCounter* AliAnalysisTaskSEB0toDStarPi::fCounter
private

!Counter for normalization slot 4

Definition at line 111 of file AliAnalysisTaskSEB0toDStarPi.h.

Referenced by UserCreateOutputObjects(), and UserExec().

std::vector<Int_t>* 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
Int_t AliAnalysisTaskSEB0toDStarPi::fEvents
private

Definition at line 88 of file AliAnalysisTaskSEB0toDStarPi.h.

Referenced by UserExec().

Bool_t AliAnalysisTaskSEB0toDStarPi::fGetCutInfo
private

Definition at line 138 of file AliAnalysisTaskSEB0toDStarPi.h.

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

Int_t* AliAnalysisTaskSEB0toDStarPi::fMotherHistogramArray[6][50][46]
private
Int_t* AliAnalysisTaskSEB0toDStarPi::fMotherHistogramArray2D[6][16][60]
private
Int_t* AliAnalysisTaskSEB0toDStarPi::fMotherHistogramArrayExtra[7][10]
private
Int_t AliAnalysisTaskSEB0toDStarPi::fnPtBinLimits
private

Definition at line 118 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 121 of file AliAnalysisTaskSEB0toDStarPi.h.

Referenced by AliAnalysisTaskSEB0toDStarPi().

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

Definition at line 124 of file AliAnalysisTaskSEB0toDStarPi.h.

Referenced by AliAnalysisTaskSEB0toDStarPi().

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

Definition at line 127 of file AliAnalysisTaskSEB0toDStarPi.h.

Referenced by AliAnalysisTaskSEB0toDStarPi().

TList* AliAnalysisTaskSEB0toDStarPi::fOutput
private
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::fShowMask
private

Use MC info.

Definition at line 90 of file AliAnalysisTaskSEB0toDStarPi.h.

Referenced by GetShowMask(), SetShowMask(), and UserExec().

Bool_t AliAnalysisTaskSEB0toDStarPi::fShowRejection
private

Definition at line 91 of file AliAnalysisTaskSEB0toDStarPi.h.

Referenced by GetShowRejection(), SetShowRejection(), and UserExec().

Bool_t AliAnalysisTaskSEB0toDStarPi::fUseMCInfo
private

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