AliPhysics  35e5fca (35e5fca)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskDmesonJets::AliDmesonJetInfo Class Reference

#include <AliAnalysisTaskDmesonJets.h>

Public Member Functions

 AliDmesonJetInfo ()
 Default constructor. More...
 
 AliDmesonJetInfo (const AliDmesonJetInfo &source)
 
AliDmesonJetInfooperator= (const AliDmesonJetInfo &source)
 
virtual ~AliDmesonJetInfo ()
 
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 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 * fFirstParton
 ! pointer to the first parton in the shower tree of the D meson (only for particle level D mesons) More...
 
Short_t fFirstPartonType
 ! type of the first parton in the shower tree (only for particle level D mesons) More...
 
AliAODMCParticle * fLastParton
 ! pointer to the last parton in the shower tree of the D meson (only for particle level D mesons) More...
 
Short_t fLastPartonType
 ! type of the last parton in the shower tree (only for particle level D mesons) More...
 
Byte_t fSelectionType
 ! for D0: 0=not selected, 1=D0, 2=D0bar, 3=both More...
 

Detailed Description

Definition at line 139 of file AliAnalysisTaskDmesonJets.h.

Constructor & Destructor Documentation

AliAnalysisTaskDmesonJets::AliDmesonJetInfo::AliDmesonJetInfo ( )

Default constructor.

Definition at line 89 of file AliAnalysisTaskDmesonJets.cxx.

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

Copy constructor

Parameters
sourceAliDmesonJetInfo object to copy from

Definition at line 108 of file AliAnalysisTaskDmesonJets.cxx.

virtual AliAnalysisTaskDmesonJets::AliDmesonJetInfo::~AliDmesonJetInfo ( )
inlinevirtual

Definition at line 144 of file AliAnalysisTaskDmesonJets.h.

Member Function Documentation

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
nName of the jet definition
detareference where the eta distance will be returned
dphireference where the phi distance will be returned
Returns
The distance between the D meson and the jet axis

Definition at line 203 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by AliAnalysisTaskDmesonJets::AnalysisEngine::FillHnSparse(), and AliAnalysisTaskDmesonJets::AliJetInfoSummary::Set().

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

Calculates the distance between the D meson and the jet axis

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

Definition at line 215 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
jetConst reference to a AliJetInfo object
detareference where the eta distance will be returned
dphireference where the phi distance will be returned
Returns
The distance between the D meson and the jet axis

Definition at line 228 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
jetConst reference to a AliJetInfo object
Returns
The distance between the D meson and the jet axis

Definition at line 239 of file AliAnalysisTaskDmesonJets.cxx.

const AliAnalysisTaskDmesonJets::AliJetInfo * AliAnalysisTaskDmesonJets::AliDmesonJetInfo::GetJet ( std::string  n) const

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

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

Definition at line 250 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by AliAnalysisTaskDmesonJets::AliHFJetDefinition::IsJetInAcceptance().

AliAnalysisTaskDmesonJets::AliJetInfo * AliAnalysisTaskDmesonJets::AliDmesonJetInfo::GetJet ( std::string  n)

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

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

Definition at line 265 of file AliAnalysisTaskDmesonJets.cxx.

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 170 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by AliAnalysisTaskDmesonJets::AnalysisEngine::FillHnSparse(), and AliAnalysisTaskDmesonJets::AliJetInfoSummary::Set().

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

Assignment operator

Parameters
sourceAliDmesonJetInfo object to copy from

Definition at line 127 of file AliAnalysisTaskDmesonJets.cxx.

void AliAnalysisTaskDmesonJets::AliDmesonJetInfo::Print ( ) const

Prints the content of this object in the standard output.

Definition at line 156 of file AliAnalysisTaskDmesonJets.cxx.

void AliAnalysisTaskDmesonJets::AliDmesonJetInfo::Reset ( )

Reset all fields to their default values.

Definition at line 134 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by AliAnalysisTaskDmesonJets::AnalysisEngine::RunDetectorLevelAnalysis().

Member Data Documentation

AliVParticle* AliAnalysisTaskDmesonJets::AliDmesonJetInfo::fDmesonParticle

! pointer to the particle object

Definition at line 146 of file AliAnalysisTaskDmesonJets.h.

Referenced by AliAnalysisTaskDmesonJets::AnalysisEngine::RunDetectorLevelAnalysis().

AliAODMCParticle* AliAnalysisTaskDmesonJets::AliDmesonJetInfo::fFirstParton

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

Definition at line 154 of file AliAnalysisTaskDmesonJets.h.

Referenced by AliAnalysisTaskDmesonJets::AliDmesonMCInfoSummary::Set().

Short_t AliAnalysisTaskDmesonJets::AliDmesonJetInfo::fFirstPartonType

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

Definition at line 155 of file AliAnalysisTaskDmesonJets.h.

Referenced by AliAnalysisTaskDmesonJets::AliDmesonMCInfoSummary::Set().

Double_t AliAnalysisTaskDmesonJets::AliDmesonJetInfo::fInvMass2Prong
AliAODMCParticle* AliAnalysisTaskDmesonJets::AliDmesonJetInfo::fLastParton

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

Definition at line 156 of file AliAnalysisTaskDmesonJets.h.

Referenced by AliAnalysisTaskDmesonJets::AliDmesonMCInfoSummary::Set().

Short_t AliAnalysisTaskDmesonJets::AliDmesonJetInfo::fLastPartonType

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

Definition at line 157 of file AliAnalysisTaskDmesonJets.h.

Referenced by AliAnalysisTaskDmesonJets::AliDmesonMCInfoSummary::Set().

Int_t AliAnalysisTaskDmesonJets::AliDmesonJetInfo::fMCLabel

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

Definition at line 152 of file AliAnalysisTaskDmesonJets.h.

Referenced by AliAnalysisTaskDmesonJets::AnalysisEngine::ExtractD0Attributes(), and AliAnalysisTaskDmesonJets::AnalysisEngine::ExtractDstarAttributes().

Bool_t AliAnalysisTaskDmesonJets::AliDmesonJetInfo::fReconstructed

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

Definition at line 153 of file AliAnalysisTaskDmesonJets.h.

Byte_t AliAnalysisTaskDmesonJets::AliDmesonJetInfo::fSelectionType

! for D0: 0=not selected, 1=D0, 2=D0bar, 3=both

Definition at line 158 of file AliAnalysisTaskDmesonJets.h.

Referenced by AliAnalysisTaskDmesonJets::AnalysisEngine::RunDetectorLevelAnalysis(), and AliAnalysisTaskDmesonJets::AliD0InfoSummary::Set().

Double_t AliAnalysisTaskDmesonJets::AliDmesonJetInfo::fSoftPionPt

! Transverse momentum of the soft pion of the D* candidate

Definition at line 148 of file AliAnalysisTaskDmesonJets.h.

Referenced by AliAnalysisTaskDmesonJets::AnalysisEngine::ExtractDstarAttributes(), and AliAnalysisTaskDmesonJets::AnalysisEngine::FillHnSparse().


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