AliPhysics  f9b5d69 (f9b5d69)

#include <AliAnalysisTaskDmesonJets.h>

Public Member Functions

AliDmesonJetInfo ()
Default constructor. More...

AliDmesonJetInfo (const AliDmesonJetInfo &source)

AliDmesonJetInfooperator= (const AliDmesonJetInfo &source)

virtual ~AliDmesonJetInfo ()

Byte_t GetSelectionTypeSummary () const

const AliJetInfoGetJet (std::string n) const

AliJetInfoGetJet (std::string n)

void Reset ()
Reset all fields to their default values. More...

Double_t GetZ (std::string n) const

Double_t GetCorrZ (std::string n) const

Double_t GetDistance (std::string n, Double_t &deta, Double_t &dphi) const

Double_t GetDistance (std::string n) const

Double_t GetDistance (const AliJetInfo &jet, Double_t &deta, Double_t &dphi) const

Double_t GetDistance (const AliJetInfo &jet) const

void Print () const
Prints the content of this object in the standard output. More...

Public Attributes

AliVParticle * fDmesonParticle
! pointer to the particle object More...

AliTLorentzVector fD
! 4-momentum of the D meson candidate More...

Double_t fSoftPionPt
! Transverse momentum of the soft pion of the D* candidate More...

Double_t fInvMass2Prong
! 2-prong mass of the D* candidate (w/o the soft pion) More...

std::map< std::string, AliJetInfofJets
! list of jets More...

Int_t fMCLabel
! MC label, i.e. index of the generator level D meson (only for detector level D meson candidates) More...

Bool_t fReconstructed
! Whether this D meson was reconstructed (only for particle level D mesons) More...

AliAODMCParticle * fParton
! pointer to the parton in the shower tree of the D meson (only for particle level D mesons) More...

Short_t fPartonType
! type of the parton in the shower tree (only for particle level D mesons) More...

AliAODMCParticle * fAncestor
! pointer to the ancestor particle in the shower tree of the D meson (only for particle level D mesons) More...

Bool_t fD0D0bar
! kTRUE if selected both as D0 and D0bar More...

Byte_t fSelectionType
! for D0: 0=not selected, 1=D0, 2=D0bar More...

const AliVEvent * fEvent
! pointer to the ESD/AOD event More...

Detailed Description

Definition at line 160 of file AliAnalysisTaskDmesonJets.h.

Constructor & Destructor Documentation

Default constructor.

Definition at line 111 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by operator=().

 AliAnalysisTaskDmesonJets::AliDmesonJetInfo::AliDmesonJetInfo ( const AliDmesonJetInfo & source )

Copy constructor

Parameters
 source AliDmesonJetInfo object to copy from

Definition at line 131 of file AliAnalysisTaskDmesonJets.cxx.

inlinevirtual

Definition at line 165 of file AliAnalysisTaskDmesonJets.h.

Member Function Documentation

 Double_t AliAnalysisTaskDmesonJets::AliDmesonJetInfo::GetCorrZ ( std::string n ) const

Calculates the parallel fraction

Returns
the fraction of the momentum of the particle parallel to the jet over the total jet momentum

Definition at line 224 of file AliAnalysisTaskDmesonJets.cxx.

 Double_t AliAnalysisTaskDmesonJets::AliDmesonJetInfo::GetDistance ( std::string n, Double_t & deta, Double_t & dphi ) const

Calculates the distance between the D meson and the jet axis

Parameters
 n Name of the jet definition deta reference where the eta distance will be returned dphi reference where the phi distance will be returned
Returns
The distance between the D meson and the jet axis

Definition at line 257 of file AliAnalysisTaskDmesonJets.cxx.

 Double_t AliAnalysisTaskDmesonJets::AliDmesonJetInfo::GetDistance ( std::string n ) const

Calculates the distance between the D meson and the jet axis

Parameters
 n Name of the jet definition
Returns
The distance between the D meson and the jet axis

Definition at line 269 of file AliAnalysisTaskDmesonJets.cxx.

 Double_t AliAnalysisTaskDmesonJets::AliDmesonJetInfo::GetDistance ( const AliJetInfo & jet, Double_t & deta, Double_t & dphi ) const

Calculates the distance between the D meson and the jet axis

Parameters
 jet Const reference to a AliJetInfo object deta reference where the eta distance will be returned dphi reference where the phi distance will be returned
Returns
The distance between the D meson and the jet axis

Definition at line 282 of file AliAnalysisTaskDmesonJets.cxx.

 Double_t AliAnalysisTaskDmesonJets::AliDmesonJetInfo::GetDistance ( const AliJetInfo & jet ) const

Calculates the distance between the D meson and the jet axis

Parameters
 jet Const reference to a AliJetInfo object
Returns
The distance between the D meson and the jet axis

Definition at line 293 of file AliAnalysisTaskDmesonJets.cxx.

Find jet info object corresponding a jet definition provided as a string

Parameters
 n String containing the jet definition
Returns
Constant pointer to the jet info object, if the jet definition was found. Null pointer otherwise.

Definition at line 304 of file AliAnalysisTaskDmesonJets.cxx.

Find jet info object corresponding a jet definition provided as a string

Parameters
 n String containing the jet definition
Returns
Pointer to the jet info object, if the jet definition was found. Null pointer otherwise.

Definition at line 319 of file AliAnalysisTaskDmesonJets.cxx.

inline
 Double_t AliAnalysisTaskDmesonJets::AliDmesonJetInfo::GetZ ( std::string n ) const

Calculates the parallel fraction

Returns
the fraction of the momentum of the particle parallel to the jet over the total jet momentum

Definition at line 194 of file AliAnalysisTaskDmesonJets.cxx.

Assignment operator

Parameters
 source AliDmesonJetInfo object to copy from

Definition at line 151 of file AliAnalysisTaskDmesonJets.cxx.

Prints the content of this object in the standard output.

Definition at line 180 of file AliAnalysisTaskDmesonJets.cxx.

Reset all fields to their default values.

Definition at line 158 of file AliAnalysisTaskDmesonJets.cxx.

Member Data Documentation

! pointer to the ancestor particle in the shower tree of the D meson (only for particle level D mesons)

Definition at line 177 of file AliAnalysisTaskDmesonJets.h.

! kTRUE if selected both as D0 and D0bar

Definition at line 178 of file AliAnalysisTaskDmesonJets.h.

Referenced by Reset().

! pointer to the particle object

Definition at line 167 of file AliAnalysisTaskDmesonJets.h.

! pointer to the ESD/AOD event

Definition at line 180 of file AliAnalysisTaskDmesonJets.h.

! 2-prong mass of the D* candidate (w/o the soft pion)

Definition at line 170 of file AliAnalysisTaskDmesonJets.h.

! list of jets

Definition at line 172 of file AliAnalysisTaskDmesonJets.h.

! MC label, i.e. index of the generator level D meson (only for detector level D meson candidates)

Definition at line 173 of file AliAnalysisTaskDmesonJets.h.

! pointer to the parton in the shower tree of the D meson (only for particle level D mesons)

Definition at line 175 of file AliAnalysisTaskDmesonJets.h.

! type of the parton in the shower tree (only for particle level D mesons)

Definition at line 176 of file AliAnalysisTaskDmesonJets.h.

! Whether this D meson was reconstructed (only for particle level D mesons)

Definition at line 174 of file AliAnalysisTaskDmesonJets.h.

Referenced by Reset().