AliPhysics  5a28df1 (5a28df1)
AliAnalysisTaskDmesonJets::AnalysisEngine Class Reference

Struct that encapsulates analysis parameters. More...

#include <AliAnalysisTaskDmesonJets.h>

Inheritance diagram for AliAnalysisTaskDmesonJets::AnalysisEngine:

Public Types

enum  EFindParticleOriginMode_t { kFindFirst, kFindLast }
 
typedef std::pair< AliJetInfo *, Double_tjet_distance_pair
 

Public Member Functions

 AnalysisEngine ()
 This is the default constructor, used for ROOT I/O purposes. More...
 
 AnalysisEngine (ECandidateType_t type, EMCMode_t MCmode, AliRDHFCuts *cuts=0, Int_t nBins=80, Double_t range=0.50)
 
 AnalysisEngine (const AnalysisEngine &source)
 
AnalysisEngineoperator= (const AnalysisEngine &source)
 
virtual ~AnalysisEngine ()
 
void SetCandidateType (ECandidateType_t t)
 
void SetMCMode (EMCMode_t m)
 
void SetNMassBins (Int_t n)
 
void SetMassRange (Double_t min, Double_t max)
 
void AdoptRDHFCuts (AliRDHFCuts *cuts)
 
void SetRDHFCuts (AliRDHFCuts *cuts)
 
void SetRejectedOriginMap (UInt_t m)
 
void SetAcceptedDecayMap (UInt_t m)
 
void SetRejectISR (Bool_t b)
 
void SetD0Extended (Bool_t b)
 
const char * GetCandidateName () const
 
const char * GetName () const
 
const char * GetName (const AliHFJetDefinition &jetDef) const
 
EMCMode_t GetMCMode () const
 
ECandidateType_t GetCandidateType () const
 
OutputHandlerGetOutputHandler () const
 
AliHFJetDefinitionAddJetDefinition (EJetType_t type, Double_t r, EJetAlgo_t algo, ERecoScheme_t reco)
 
AliHFJetDefinitionAddJetDefinition (const AliHFJetDefinition &def)
 
std::vector< AliHFJetDefinition >::iterator FindJetDefinition (const AliHFJetDefinition &eng)
 
std::vector< AliAnalysisTaskDmesonJets::AliHFJetDefinition > & GetJetDefinitions ()
 
void SetJetPhiRange (Double_t min, Double_t max)
 
void SetJetEtaRange (Double_t min, Double_t max)
 
void SetJetPtRange (Double_t min, Double_t max)
 
void SetChargedPtRange (Double_t min, Double_t max)
 
void SetNeutralPtRange (Double_t min, Double_t max)
 
std::map< int, AliDmesonJetInfo > & GetDmesons ()
 
void Init (const AliEMCALGeometry *const geom, Int_t runNumber)
 Initialize the analysis engine. More...
 
void SetTrackEfficiency (Double_t t)
 
Bool_t IsInhibit () const
 
Bool_t IsD0Extended () const
 

Static Public Member Functions

static AliAODMCParticle * FindParticleOrigin (const AliAODMCParticle *part, TClonesArray *mcArray, EFindParticleOriginMode_t mode, const std::set< UInt_t > &pdgSet)
 
static AliAODMCParticle * FindParticleOrigin (const AliAODMCParticle *part, TClonesArray *mcArray, EFindParticleOriginMode_t mode)
 
static std::pair< AliAnalysisTaskDmesonJets::EMesonOrigin_t, AliAODMCParticle * > IsPromptCharm (const AliAODMCParticle *part, TClonesArray *mcArray)
 
static EMesonDecayChannel_t CheckDecayChannel (const AliAODMCParticle *part, TClonesArray *mcArray)
 

Protected Member Functions

void RunAnalysis ()
 Run the analysis. More...
 

Protected Attributes

ECandidateType_t fCandidateType
 Candidate type. More...
 
TString fCandidateName
 Candidate name. More...
 
UInt_t fCandidatePDG
 Candidate PDG. More...
 
UChar_t fNDaughters
 Number of daughters. More...
 
TArrayI fPDGdaughters
 List of the PDG code of the daughters. More...
 
TString fBranchName
 AOD branch where the D meson candidate are found. More...
 
EMCMode_t fMCMode
 MC mode: No MC (data and MC detector level), background-only (MC), signal-only (MC), MC truth (particle level) More...
 
Int_t fNMassBins
 Mass number of bins. More...
 
Double_t fMinMass
 Min mass in histogram axis. More...
 
Double_t fMaxMass
 Max mass in histogram axis. More...
 
AliRDHFCutsfRDHFCuts
 D meson candidates cuts. More...
 
UInt_t fRejectedOrigin
 Bit mask with D meson origins that are rejected (used for MC analysis, i.e. signal-only, background-only and particle-level) More...
 
UInt_t fAcceptedDecay
 Bit mask with D meson decays that are accepted (only used for particle-level analysis) More...
 
Bool_t fInhibit
 Inhibit the task. More...
 
std::vector< AliHFJetDefinitionfJetDefinitions
 Jet definitions. More...
 
Float_t fPtBinWidth
 Histogram pt bin width. More...
 
Float_t fMaxPt
 Histogram pt limit. More...
 
Bool_t fD0Extended
 Store extended information in the tree (only for D0 mesons) More...
 
OutputHandlerfOutputHandler
 ! Output handler More...
 
TRandom * fRandomGen
 ! Random number generator More...
 
Double_t fTrackEfficiency
 ! Artificial tracking inefficiency (0...1) -> set automatically at ExecOnce by AliAnalysisTaskDmesonJets More...
 
Bool_t fRejectISR
 ! Reject initial state radiation More...
 
std::map< int, AliDmesonJetInfofDmesonJets
 ! Array containing the D meson jets More...
 
TClonesArray * fCandidateArray
 ! D meson candidate array More...
 
AliHFAODMCParticleContainerfMCContainer
 ! MC particle container More...
 
std::vector< AliTrackContainer * > fTrackContainers
 ! Track containers More...
 
std::vector< AliClusterContainer * > fClusterContainers
 ! Cluster containers More...
 
AliAODEventfAodEvent
 ! AOD event More...
 
AliFJWrapperfFastJetWrapper
 ! Fastjet wrapper More...
 
THistManagerfHistManager
 ! Histograms More...
 
EventInfo fEventInfo
 ! Event info (centrality, weight, pt hard etc.) More...
 
TString fName
 ! Name of this object More...
 

Private Member Functions

void AddInputVectors (AliEmcalContainer *cont, Int_t offset, TH2 *rejectHist=0, Double_t eff=0.)
 
void SetCandidateProperties (Double_t range)
 
AliAODMCParticle * MatchToMC () const
 
void RunDetectorLevelAnalysis ()
 Run a detector level analysis. More...
 
void RunParticleLevelAnalysis ()
 Run a particle level analysis. More...
 
Bool_t ExtractRecoDecayAttributes (const AliAODRecoDecayHF2Prong *Dcand, AliDmesonJetInfo &DmesonJet, UInt_t i)
 
Bool_t ExtractD0Attributes (const AliAODRecoDecayHF2Prong *Dcand, AliDmesonJetInfo &DmesonJet, UInt_t i)
 
Bool_t ExtractDstarAttributes (const AliAODRecoCascadeHF *DstarCand, AliDmesonJetInfo &DmesonJet, UInt_t i)
 
Bool_t FindJet (AliAODRecoDecayHF2Prong *Dcand, AliDmesonJetInfo &DmesonJet, AliHFJetDefinition &jetDef)
 

Friends

class AliAnalysisTaskDmesonJets
 
class OutputHandler
 
bool operator< (const AnalysisEngine &lhs, const AnalysisEngine &rhs)
 
bool operator> (const AnalysisEngine &lhs, const AnalysisEngine &rhs)
 
bool operator<= (const AnalysisEngine &lhs, const AnalysisEngine &rhs)
 
bool operator>= (const AnalysisEngine &lhs, const AnalysisEngine &rhs)
 
bool operator== (const AnalysisEngine &lhs, const AnalysisEngine &rhs)
 
bool operator!= (const AnalysisEngine &lhs, const AnalysisEngine &rhs)
 

Detailed Description

Struct that encapsulates analysis parameters.

This struct encapsulates analysis parameters for the D meson jet analysis.

Definition at line 677 of file AliAnalysisTaskDmesonJets.h.

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
kFindFirst 
kFindLast 

Look for the very first particle in the fragmentation tree.

Look for the last particle in the fragmentation tree (closest to the hadron)

Definition at line 681 of file AliAnalysisTaskDmesonJets.h.

Constructor & Destructor Documentation

AliAnalysisTaskDmesonJets::AnalysisEngine::AnalysisEngine ( )

This is the default constructor, used for ROOT I/O purposes.

Definition at line 1815 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by operator=().

AliAnalysisTaskDmesonJets::AnalysisEngine::AnalysisEngine ( ECandidateType_t  type,
EMCMode_t  MCmode,
AliRDHFCuts cuts = 0,
Int_t  nMassBins = 80,
Double_t  range = 0.50 
)

This is the standard constructor.

Parameters
typeOne of the enum constants of ECandidateType_t
bkgModeOne of the enum constants of EMCMode_t
cutsD meson cuts (if null, it will use standard cuts)
nMassBinsNumber of bins in the mass axis
rangeRange of the mass axis (will be centered around the PDG mass)

Definition at line 1859 of file AliAnalysisTaskDmesonJets.cxx.

AliAnalysisTaskDmesonJets::AnalysisEngine::AnalysisEngine ( const AnalysisEngine source)

Copy constructor

Parameters
sourceReference to a valid AnalysisEngine to copy from.

Definition at line 1899 of file AliAnalysisTaskDmesonJets.cxx.

AliAnalysisTaskDmesonJets::AnalysisEngine::~AnalysisEngine ( )
virtual

Definition at line 1936 of file AliAnalysisTaskDmesonJets.cxx.

Member Function Documentation

void AliAnalysisTaskDmesonJets::AnalysisEngine::AddInputVectors ( AliEmcalContainer *  cont,
Int_t  offset,
TH2 rejectHist = 0,
Double_t  eff = 0. 
)
private

Adds all the particles contained in the container into the fastjet wrapper

Parameters
contPointer to a valid AliEmcalContainer object

Definition at line 2766 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by FindJet(), and RunParticleLevelAnalysis().

AliAnalysisTaskDmesonJets::AliHFJetDefinition * AliAnalysisTaskDmesonJets::AnalysisEngine::AddJetDefinition ( EJetType_t  type,
Double_t  r,
EJetAlgo_t  algo,
ERecoScheme_t  reco 
)

Add a new jet definition If the jet definition is already present, it does nothing.

Parameters
typeJet type
rJet radius
algoJet algorithm
recoRecombination scheme
Returns
Pointer to the new jet definition (or to the one that was already present)

Definition at line 2098 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by AliAnalysisTaskDmesonJets::AddAnalysisEngine().

AliAnalysisTaskDmesonJets::AliHFJetDefinition * AliAnalysisTaskDmesonJets::AnalysisEngine::AddJetDefinition ( const AliHFJetDefinition def)

Add a new jet definition If the jet definition is already present, it does nothing.

Parameters
defReference to a AliJetDefinition object
Returns
Pointer to the new jet definition (or to the one that was already present)

Definition at line 2069 of file AliAnalysisTaskDmesonJets.cxx.

void AliAnalysisTaskDmesonJets::AnalysisEngine::AdoptRDHFCuts ( AliRDHFCuts cuts)

Adopt the cuts (this class owns the cuts object, which will be destroyed when needed).

Parameters
Pointerto a AliRDHFCuts object.

Definition at line 2004 of file AliAnalysisTaskDmesonJets.cxx.

AliAnalysisTaskDmesonJets::EMesonDecayChannel_t AliAnalysisTaskDmesonJets::AnalysisEngine::CheckDecayChannel ( const AliAODMCParticle *  part,
TClonesArray *  mcArray 
)
static

Checks the decay channel of a D meson

Parameters
partPointer to an AliAODMCParticle object for which decay channel is requested
mcArrayPointer to a TClonesArray object where to look for particles
Returns
One of the enum constants of AliAnalysisTaskDmesonJets::EMesonDecayChannel_t (D0->Kpi or D*->D0pi->Kpipi)

Definition at line 2395 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by AliHFAODMCParticleContainer::IsSpecialPDG().

Bool_t AliAnalysisTaskDmesonJets::AnalysisEngine::ExtractD0Attributes ( const AliAODRecoDecayHF2Prong Dcand,
AliDmesonJetInfo DmesonJet,
UInt_t  i 
)
private

Extract attributes of the D0 meson candidate.

Parameters
DcandPointer to a AliAODRecoDecayHF2Prong representing the D0 meson candidate
DmesonJetReference to an AliDmesonJetInfo object where the D0 meson candidate information will be copied
iEither 0 or 1, for the two possible mass hypothesis assignments
Returns
kTRUE on success

Definition at line 2229 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by ExtractRecoDecayAttributes().

Bool_t AliAnalysisTaskDmesonJets::AnalysisEngine::ExtractDstarAttributes ( const AliAODRecoCascadeHF DstarCand,
AliDmesonJetInfo DmesonJet,
UInt_t  i 
)
private

Extract attributes of the D* meson candidate.

Parameters
DstarCandPointer to a AliAODRecoCascadeHF representing the D* meson candidate
DmesonJetReference to an AliDmesonJetInfo object where the D* meson candidate information will be copied
iEither 0 or 1, for the two possible mass hypothesis assignments (since there is only one mass hypothesis for D*, returns kFALSE for i > 0)
Returns
kTRUE on success

Definition at line 2339 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by ExtractRecoDecayAttributes().

Bool_t AliAnalysisTaskDmesonJets::AnalysisEngine::ExtractRecoDecayAttributes ( const AliAODRecoDecayHF2Prong Dcand,
AliDmesonJetInfo DmesonJet,
UInt_t  i 
)
private

Extract attributes of the D meson candidate.

Parameters
DcandPointer to a AliAODRecoDecayHF2Prong representing the D meson candidate
DmesonJetReference to an AliDmesonJetInfo object where the D meson candidate information will be copied
iEither 0 or 1, for the two possible mass hypothesis assignments
Returns
kTRUE on success

Definition at line 2209 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by RunDetectorLevelAnalysis().

Bool_t AliAnalysisTaskDmesonJets::AnalysisEngine::FindJet ( AliAODRecoDecayHF2Prong Dcand,
AliDmesonJetInfo DmesonJet,
AliHFJetDefinition jetDef 
)
private

Find the jet that contains a D meson candidate. The jet finding algorithm is always anti-kt Tracks and clusters are accessed through fTrackContainer and fClusterContainer

Parameters
DcandValid pointer to a D meson candidate object
DmesonJetReference to a AliDmesonJetInfo object where the result will be stored
rJet radius
Returns
kTRUE on success, kFALSE otherwise

Definition at line 2677 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by RunDetectorLevelAnalysis().

std::vector< AliAnalysisTaskDmesonJets::AliHFJetDefinition >::iterator AliAnalysisTaskDmesonJets::AnalysisEngine::FindJetDefinition ( const AliHFJetDefinition eng)

Look for a jet definition that is equal

Parameters
defReference to a jet definition object
Returns
An iterator to the jet definition object, if it is found. An iterator to the end if not found.

Definition at line 2110 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by AddJetDefinition().

AliAODMCParticle * AliAnalysisTaskDmesonJets::AnalysisEngine::FindParticleOrigin ( const AliAODMCParticle *  part,
TClonesArray *  mcArray,
EFindParticleOriginMode_t  mode,
const std::set< UInt_t > &  pdgSet 
)
static

Finds a particle in the fragmentation tree of a final state particle

Parameters
partPointer to an AliAODMCParticle object for which originating quark is required
mcArrayPointer to a TClonesArray object where to look for particles
modeSee documentation of the enum type EFindParticleOriginMode_t
pdgSetA set of PDG codes that are being searched
Returns
A pointer to the MC particle found in the fragmentation tree

Definition at line 2492 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by FindParticleOrigin(), IsPromptCharm(), AliHFAODMCParticleContainer::IsSpecialPDG(), and RunParticleLevelAnalysis().

AliAODMCParticle * AliAnalysisTaskDmesonJets::AnalysisEngine::FindParticleOrigin ( const AliAODMCParticle *  part,
TClonesArray *  mcArray,
EFindParticleOriginMode_t  mode 
)
static

Finds a particle in the fragmentation tree of a final state particle

Parameters
partPointer to an AliAODMCParticle object for which originating quark is required
mcArrayPointer to a TClonesArray object where to look for particles
modeSee documentation of the enum type EFindParticleOriginMode_t
Returns
A pointer to the MC particle found in the fragmentation tree

Definition at line 2476 of file AliAnalysisTaskDmesonJets.cxx.

const char* AliAnalysisTaskDmesonJets::AnalysisEngine::GetCandidateName ( ) const
inline

Definition at line 710 of file AliAnalysisTaskDmesonJets.h.

ECandidateType_t AliAnalysisTaskDmesonJets::AnalysisEngine::GetCandidateType ( ) const
inline
std::map<int, AliDmesonJetInfo>& AliAnalysisTaskDmesonJets::AnalysisEngine::GetDmesons ( )
inline
EMCMode_t AliAnalysisTaskDmesonJets::AnalysisEngine::GetMCMode ( ) const
inline
const char * AliAnalysisTaskDmesonJets::AnalysisEngine::GetName ( ) const
const char * AliAnalysisTaskDmesonJets::AnalysisEngine::GetName ( const AliHFJetDefinition jetDef) const

Generate a name for this analysis parameter set

Parameters
iIndex of the jet radius array.

Definition at line 2023 of file AliAnalysisTaskDmesonJets.cxx.

OutputHandler* AliAnalysisTaskDmesonJets::AnalysisEngine::GetOutputHandler ( ) const
inline

Definition at line 717 of file AliAnalysisTaskDmesonJets.h.

void AliAnalysisTaskDmesonJets::AnalysisEngine::Init ( const AliEMCALGeometry *const  geom,
Int_t  runNumber 
)

Initialize the analysis engine.

Definition at line 1951 of file AliAnalysisTaskDmesonJets.cxx.

Bool_t AliAnalysisTaskDmesonJets::AnalysisEngine::IsD0Extended ( ) const
inline
Bool_t AliAnalysisTaskDmesonJets::AnalysisEngine::IsInhibit ( ) const
inline

Definition at line 738 of file AliAnalysisTaskDmesonJets.h.

std::pair< AliAnalysisTaskDmesonJets::EMesonOrigin_t, AliAODMCParticle * > AliAnalysisTaskDmesonJets::AnalysisEngine::IsPromptCharm ( const AliAODMCParticle *  part,
TClonesArray *  mcArray 
)
static

Checks whether a particle is the result of the hadronization of a charm quark or a bottom quark

Parameters
partPointer to an AliAODMCParticle object for which originating quark is required
mcArrayPointer to a TClonesArray object where to look for particles
Returns
A pair: first is either kFromCharm or kFromBottom; second is the pointer to the quark

Definition at line 2448 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by ExtractD0Attributes(), ExtractDstarAttributes(), AliHFAODMCParticleContainer::IsSpecialPDG(), and RunParticleLevelAnalysis().

AliAODMCParticle* AliAnalysisTaskDmesonJets::AnalysisEngine::MatchToMC ( ) const
private
AliAnalysisTaskDmesonJets::AnalysisEngine & AliAnalysisTaskDmesonJets::AnalysisEngine::operator= ( const AnalysisEngine source)

Assignement operator

Parameters
sourceReference to a valid AnalysisEngine to copy from.

Definition at line 1944 of file AliAnalysisTaskDmesonJets.cxx.

void AliAnalysisTaskDmesonJets::AnalysisEngine::RunAnalysis ( )
protected

Run the analysis.

Definition at line 2524 of file AliAnalysisTaskDmesonJets.cxx.

void AliAnalysisTaskDmesonJets::AnalysisEngine::RunDetectorLevelAnalysis ( )
private

Run a detector level analysis.

Definition at line 2539 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by RunAnalysis().

void AliAnalysisTaskDmesonJets::AnalysisEngine::RunParticleLevelAnalysis ( )
private

Run a particle level analysis.

Definition at line 2788 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by RunAnalysis().

void AliAnalysisTaskDmesonJets::AnalysisEngine::SetAcceptedDecayMap ( UInt_t  m)
inline

Definition at line 705 of file AliAnalysisTaskDmesonJets.h.

void AliAnalysisTaskDmesonJets::AnalysisEngine::SetCandidateProperties ( Double_t  range)
private

Sets the D meson candidate properties.

Parameters
rangeRange of the mass axis (will be centered around the PDG mass)

Definition at line 1958 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by AnalysisEngine().

void AliAnalysisTaskDmesonJets::AnalysisEngine::SetCandidateType ( ECandidateType_t  t)
inline

Definition at line 698 of file AliAnalysisTaskDmesonJets.h.

void AliAnalysisTaskDmesonJets::AnalysisEngine::SetChargedPtRange ( Double_t  min,
Double_t  max 
)

Set the jet leading charged constituent pt range of all jet definitions

Parameters
minLower bound
maxUpper bound

Definition at line 2144 of file AliAnalysisTaskDmesonJets.cxx.

void AliAnalysisTaskDmesonJets::AnalysisEngine::SetD0Extended ( Bool_t  b)
inline

Definition at line 708 of file AliAnalysisTaskDmesonJets.h.

void AliAnalysisTaskDmesonJets::AnalysisEngine::SetJetEtaRange ( Double_t  min,
Double_t  max 
)

Set the jet eta range of all jet definitions

Parameters
minLower bound
maxUpper bound

Definition at line 2128 of file AliAnalysisTaskDmesonJets.cxx.

void AliAnalysisTaskDmesonJets::AnalysisEngine::SetJetPhiRange ( Double_t  min,
Double_t  max 
)

Set the jet phi range of all jet definitions

Parameters
minLower bound
maxUpper bound

Definition at line 2120 of file AliAnalysisTaskDmesonJets.cxx.

void AliAnalysisTaskDmesonJets::AnalysisEngine::SetJetPtRange ( Double_t  min,
Double_t  max 
)

Set the jet pt range of all jet definitions

Parameters
minLower bound
maxUpper bound

Definition at line 2136 of file AliAnalysisTaskDmesonJets.cxx.

void AliAnalysisTaskDmesonJets::AnalysisEngine::SetMassRange ( Double_t  min,
Double_t  max 
)
inline

Definition at line 701 of file AliAnalysisTaskDmesonJets.h.

void AliAnalysisTaskDmesonJets::AnalysisEngine::SetMCMode ( EMCMode_t  m)
inline

Definition at line 699 of file AliAnalysisTaskDmesonJets.h.

void AliAnalysisTaskDmesonJets::AnalysisEngine::SetNeutralPtRange ( Double_t  min,
Double_t  max 
)

Set the jet leading neutral constituent pt range range of all jet definitions

Parameters
minLower bound
maxUpper bound

Definition at line 2152 of file AliAnalysisTaskDmesonJets.cxx.

void AliAnalysisTaskDmesonJets::AnalysisEngine::SetNMassBins ( Int_t  n)
inline

Definition at line 700 of file AliAnalysisTaskDmesonJets.h.

void AliAnalysisTaskDmesonJets::AnalysisEngine::SetRDHFCuts ( AliRDHFCuts cuts)

Set the cuts (creates a copy, so the original object is not owned by this class).

Parameters
Pointerto a AliRDHFCuts object.

Definition at line 2013 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by AliAnalysisTaskDmesonJets::AddAnalysisEngine(), and AnalysisEngine().

void AliAnalysisTaskDmesonJets::AnalysisEngine::SetRejectedOriginMap ( UInt_t  m)
inline

Definition at line 704 of file AliAnalysisTaskDmesonJets.h.

void AliAnalysisTaskDmesonJets::AnalysisEngine::SetRejectISR ( Bool_t  b)
inline

Definition at line 706 of file AliAnalysisTaskDmesonJets.h.

void AliAnalysisTaskDmesonJets::AnalysisEngine::SetTrackEfficiency ( Double_t  t)
inline

Definition at line 736 of file AliAnalysisTaskDmesonJets.h.

Friends And Related Function Documentation

friend class AliAnalysisTaskDmesonJets
friend

Definition at line 786 of file AliAnalysisTaskDmesonJets.h.

bool operator!= ( const AnalysisEngine lhs,
const AnalysisEngine rhs 
)
friend

Definition at line 748 of file AliAnalysisTaskDmesonJets.h.

bool operator< ( const AnalysisEngine lhs,
const AnalysisEngine rhs 
)
friend

Compares 2 analysis engines. The ordering is based on the candidate type first and then on the MC mode.

Parameters
lhsReference to the first AnalysisEngine object
rhsReference to the second AnalysisEngine object

Definition at line 2162 of file AliAnalysisTaskDmesonJets.cxx.

bool operator<= ( const AnalysisEngine lhs,
const AnalysisEngine rhs 
)
friend

Definition at line 744 of file AliAnalysisTaskDmesonJets.h.

bool operator== ( const AnalysisEngine lhs,
const AnalysisEngine rhs 
)
friend

Compares 2 analysis engines. Two analysis engines are considerate equal if they have both the same candidate type and MC mode.

Parameters
lhsReference to the first AnalysisEngine object
rhsReference to the second AnalysisEngine object

Definition at line 2192 of file AliAnalysisTaskDmesonJets.cxx.

bool operator> ( const AnalysisEngine lhs,
const AnalysisEngine rhs 
)
friend

Definition at line 743 of file AliAnalysisTaskDmesonJets.h.

bool operator>= ( const AnalysisEngine lhs,
const AnalysisEngine rhs 
)
friend

Definition at line 745 of file AliAnalysisTaskDmesonJets.h.

friend class OutputHandler
friend

Definition at line 787 of file AliAnalysisTaskDmesonJets.h.

Member Data Documentation

UInt_t AliAnalysisTaskDmesonJets::AnalysisEngine::fAcceptedDecay
protected

Bit mask with D meson decays that are accepted (only used for particle-level analysis)

Definition at line 765 of file AliAnalysisTaskDmesonJets.h.

Referenced by RunParticleLevelAnalysis(), and SetCandidateProperties().

AliAODEvent* AliAnalysisTaskDmesonJets::AnalysisEngine::fAodEvent
protected
TString AliAnalysisTaskDmesonJets::AnalysisEngine::fBranchName
protected

AOD branch where the D meson candidate are found.

Definition at line 758 of file AliAnalysisTaskDmesonJets.h.

Referenced by SetCandidateProperties().

TClonesArray* AliAnalysisTaskDmesonJets::AnalysisEngine::fCandidateArray
protected

! D meson candidate array

Definition at line 776 of file AliAnalysisTaskDmesonJets.h.

Referenced by RunDetectorLevelAnalysis().

TString AliAnalysisTaskDmesonJets::AnalysisEngine::fCandidateName
protected

Candidate name.

Definition at line 754 of file AliAnalysisTaskDmesonJets.h.

Referenced by GetName(), and SetCandidateProperties().

UInt_t AliAnalysisTaskDmesonJets::AnalysisEngine::fCandidatePDG
protected
ECandidateType_t AliAnalysisTaskDmesonJets::AnalysisEngine::fCandidateType
protected

Candidate type.

Definition at line 753 of file AliAnalysisTaskDmesonJets.h.

Referenced by ExtractRecoDecayAttributes(), operator<(), operator==(), and SetCandidateProperties().

std::vector<AliClusterContainer*> AliAnalysisTaskDmesonJets::AnalysisEngine::fClusterContainers
protected

! Cluster containers

Definition at line 779 of file AliAnalysisTaskDmesonJets.h.

Referenced by FindJet().

Bool_t AliAnalysisTaskDmesonJets::AnalysisEngine::fD0Extended
protected

Store extended information in the tree (only for D0 mesons)

Definition at line 770 of file AliAnalysisTaskDmesonJets.h.

std::map<int, AliDmesonJetInfo> AliAnalysisTaskDmesonJets::AnalysisEngine::fDmesonJets
protected

! Array containing the D meson jets

Definition at line 775 of file AliAnalysisTaskDmesonJets.h.

Referenced by RunDetectorLevelAnalysis(), and RunParticleLevelAnalysis().

EventInfo AliAnalysisTaskDmesonJets::AnalysisEngine::fEventInfo
protected

! Event info (centrality, weight, pt hard etc.)

Definition at line 783 of file AliAnalysisTaskDmesonJets.h.

Referenced by RunDetectorLevelAnalysis(), and RunParticleLevelAnalysis().

AliFJWrapper* AliAnalysisTaskDmesonJets::AnalysisEngine::fFastJetWrapper
protected

! Fastjet wrapper

Definition at line 781 of file AliAnalysisTaskDmesonJets.h.

Referenced by AddInputVectors(), FindJet(), and RunParticleLevelAnalysis().

THistManager* AliAnalysisTaskDmesonJets::AnalysisEngine::fHistManager
protected

! Histograms

Definition at line 782 of file AliAnalysisTaskDmesonJets.h.

Referenced by FindJet(), RunDetectorLevelAnalysis(), and RunParticleLevelAnalysis().

Bool_t AliAnalysisTaskDmesonJets::AnalysisEngine::fInhibit
protected

Inhibit the task.

Definition at line 766 of file AliAnalysisTaskDmesonJets.h.

Double_t AliAnalysisTaskDmesonJets::AnalysisEngine::fMaxMass
protected

Max mass in histogram axis.

Definition at line 762 of file AliAnalysisTaskDmesonJets.h.

Referenced by SetCandidateProperties().

Float_t AliAnalysisTaskDmesonJets::AnalysisEngine::fMaxPt
protected

Histogram pt limit.

Definition at line 769 of file AliAnalysisTaskDmesonJets.h.

AliHFAODMCParticleContainer* AliAnalysisTaskDmesonJets::AnalysisEngine::fMCContainer
protected

! MC particle container

Definition at line 777 of file AliAnalysisTaskDmesonJets.h.

Referenced by ExtractD0Attributes(), ExtractDstarAttributes(), and RunParticleLevelAnalysis().

EMCMode_t AliAnalysisTaskDmesonJets::AnalysisEngine::fMCMode
protected

MC mode: No MC (data and MC detector level), background-only (MC), signal-only (MC), MC truth (particle level)

Definition at line 759 of file AliAnalysisTaskDmesonJets.h.

Referenced by AddJetDefinition(), ExtractD0Attributes(), ExtractDstarAttributes(), GetName(), operator<(), operator==(), and RunAnalysis().

Double_t AliAnalysisTaskDmesonJets::AnalysisEngine::fMinMass
protected

Min mass in histogram axis.

Definition at line 761 of file AliAnalysisTaskDmesonJets.h.

Referenced by SetCandidateProperties().

TString AliAnalysisTaskDmesonJets::AnalysisEngine::fName
mutableprotected

! Name of this object

Definition at line 784 of file AliAnalysisTaskDmesonJets.h.

Referenced by GetName().

UChar_t AliAnalysisTaskDmesonJets::AnalysisEngine::fNDaughters
protected

Number of daughters.

Definition at line 756 of file AliAnalysisTaskDmesonJets.h.

Referenced by ExtractD0Attributes(), and SetCandidateProperties().

Int_t AliAnalysisTaskDmesonJets::AnalysisEngine::fNMassBins
protected

Mass number of bins.

Definition at line 760 of file AliAnalysisTaskDmesonJets.h.

Referenced by SetCandidateProperties().

OutputHandler* AliAnalysisTaskDmesonJets::AnalysisEngine::fOutputHandler
protected

! Output handler

Definition at line 771 of file AliAnalysisTaskDmesonJets.h.

TArrayI AliAnalysisTaskDmesonJets::AnalysisEngine::fPDGdaughters
protected

List of the PDG code of the daughters.

Definition at line 757 of file AliAnalysisTaskDmesonJets.h.

Referenced by ExtractD0Attributes(), and SetCandidateProperties().

Float_t AliAnalysisTaskDmesonJets::AnalysisEngine::fPtBinWidth
protected

Histogram pt bin width.

Definition at line 768 of file AliAnalysisTaskDmesonJets.h.

TRandom* AliAnalysisTaskDmesonJets::AnalysisEngine::fRandomGen
protected

! Random number generator

Definition at line 772 of file AliAnalysisTaskDmesonJets.h.

Referenced by AddInputVectors().

UInt_t AliAnalysisTaskDmesonJets::AnalysisEngine::fRejectedOrigin
protected

Bit mask with D meson origins that are rejected (used for MC analysis, i.e. signal-only, background-only and particle-level)

Definition at line 764 of file AliAnalysisTaskDmesonJets.h.

Referenced by ExtractD0Attributes(), ExtractDstarAttributes(), and RunParticleLevelAnalysis().

Bool_t AliAnalysisTaskDmesonJets::AnalysisEngine::fRejectISR
protected

! Reject initial state radiation

Definition at line 774 of file AliAnalysisTaskDmesonJets.h.

Referenced by RunParticleLevelAnalysis().

std::vector<AliTrackContainer*> AliAnalysisTaskDmesonJets::AnalysisEngine::fTrackContainers
protected

! Track containers

Definition at line 778 of file AliAnalysisTaskDmesonJets.h.

Referenced by FindJet(), and RunDetectorLevelAnalysis().

Double_t AliAnalysisTaskDmesonJets::AnalysisEngine::fTrackEfficiency
protected

! Artificial tracking inefficiency (0...1) -> set automatically at ExecOnce by AliAnalysisTaskDmesonJets

Definition at line 773 of file AliAnalysisTaskDmesonJets.h.

Referenced by FindJet().


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