![]() |
AliPhysics
0937c79 (0937c79)
|
Analysis task for D meson jets. More...
#include <AliAnalysisTaskDmesonJets.h>
Classes | |
class | AliD0ExtendedInfoSummary |
Lightweight class that encapsulates D0. More... | |
class | AliD0InfoSummary |
Lightweight class that encapsulates D0. More... | |
class | AliDmesonInfoSummary |
Lightweight class that encapsulates D meson jets. More... | |
class | AliDmesonJetInfo |
class | AliDmesonMCInfoSummary |
Lightweight class that encapsulates D meson jets. More... | |
class | AliDStarInfoSummary |
Lightweight class that encapsulates D*. More... | |
class | AliEventInfoSummary |
Class that encapsulates event properties in a very compact structure (useful for pp simulation analysis) More... | |
class | AliEventNotFound |
class | AliHFJetDefinition |
HF jet definition. More... | |
class | AliJetInfo |
Class that encapsulates jets. More... | |
class | AliJetInfoPbPbSummary |
Lightweight class that encapsulates D meson jets for PbPb analysis. More... | |
class | AliJetInfoSummary |
Lightweight class that encapsulates D meson jets. More... | |
class | AnalysisEngine |
Struct that encapsulates analysis parameters. More... | |
class | EventInfo |
Event information. More... | |
class | OutputHandler |
Output handler for D meson jet analysis. More... | |
class | OutputHandlerTHnSparse |
Output handler for D meson jet analysis. More... | |
class | OutputHandlerTTree |
Output handler for D meson jet analysis. More... | |
class | OutputHandlerTTreeExtended |
Output handler for D meson jet analysis. More... | |
class | OutputHandlerTTreeExtendedBase |
Output handler for D meson jet analysis. More... | |
Static Public Member Functions | |
static AliAnalysisTaskDmesonJets * | AddTaskDmesonJets (TString ntracks="usedefault", TString nclusters="usedefault", TString nMCpart="", Int_t nMaxTrees=2, TString suffix="") |
Static Protected Member Functions | |
static const char * | GetHFEventRejectionReasonLabel (UInt_t &bitmap) |
static void | CalculateMassLimits (Double_t range, Int_t pdg, Int_t nbins, Double_t &minMass, Double_t &maxMass) |
![]() | |
static void | GetEtaPhiDiff (const AliVTrack *t, const AliVCluster *v, Double_t &phidiff, Double_t &etadiff) |
static Byte_t | GetTrackType (const AliVTrack *t) |
static Byte_t | GetTrackType (const AliAODTrack *aodTrack, UInt_t filterBit1, UInt_t filterBit2) |
static Double_t | DeltaPhi (Double_t phia, Double_t phib, Double_t rMin=-TMath::Pi()/2, Double_t rMax=3 *TMath::Pi()/2) |
static std::vector< double > | GenerateFixedBinArray (int n, double min, double max, bool last=true) |
static void | GenerateFixedBinArray (int n, double min, double max, std::vector< double > &array, bool last=true) |
static std::vector< double > | GenerateLogFixedBinArray (int n, double min, double max, bool last=true) |
static void | GenerateLogFixedBinArray (int n, double min, double max, std::vector< double > &array, bool last=true) |
static Double_t | GetParallelFraction (AliVParticle *part1, AliVParticle *part2) |
static Double_t | GetParallelFraction (const TVector3 &vect1, AliVParticle *part2) |
static EBeamType_t | BeamTypeFromRunNumber (Int_t runnumber) |
Protected Attributes | |
std::list< AnalysisEngine > | fAnalysisEngines |
Array of analysis parameters. More... | |
UInt_t | fEnabledAxis |
Use bit defined in EAxis_t to enable axis in the THnSparse. More... | |
EOutputType_t | fOutputType |
Output type: none, TTree or THnSparse. More... | |
THistManager | fHistManager |
Histogram manager. More... | |
Bool_t | fApplyKinematicCuts |
Apply jet kinematic cuts. More... | |
Int_t | fNOutputTrees |
Maximum number of output trees. More... | |
Double_t | fTrackEfficiency |
Artificial tracking inefficiency (0...1) More... | |
Bool_t | fRejectISR |
Reject initial state radiation. More... | |
Int_t | fJetAreaType |
Jet area type. More... | |
Double_t | fJetGhostArea |
Area of the ghost particles. More... | |
AliHFAODMCParticleContainer * | fMCContainer |
! MC particle container More... | |
AliAODEvent * | fAodEvent |
! AOD event More... | |
AliFJWrapper * | fFastJetWrapper |
! Fastjet wrapper More... | |
![]() | |
EBeamType_t | fForceBeamType |
forced beam type More... | |
Bool_t | fGeneralHistograms |
whether or not it should fill some general histograms More... | |
Bool_t | fCreateHisto |
whether or not create histograms More... | |
Bool_t | fNeedEmcalGeom |
whether or not the task needs the emcal geometry More... | |
std::vector< double > | fCentBins |
how many centrality bins More... | |
ECentralityEstimation_t | fCentralityEstimation |
Centrality estimation. More... | |
Bool_t | fIsPythia |
if it is a PYTHIA production More... | |
Bool_t | fIsMonteCarlo |
if it is a MC production More... | |
TString | fMCEventHeaderName |
Looks for MC event properties in a particular MC event type (useful for a MC cocktail production) More... | |
TString | fCaloCellsName |
name of calo cell collection More... | |
TString | fCaloTriggersName |
name of calo triggers collection More... | |
TString | fCaloTriggerPatchInfoName |
trigger patch info array name More... | |
TString | fCentEst |
name of the centrality estimator More... | |
std::map< std::string, AliParticleContainer * > | fParticleCollArray |
particle/track collection array More... | |
std::map< std::string, AliClusterContainer * > | fClusterCollArray |
cluster collection array More... | |
UInt_t | fTriggerSelectionBitMap |
trigger selection bit map More... | |
Double_t | fMinCent |
min centrality for event selection More... | |
Double_t | fMaxCent |
max centrality for event selection More... | |
Double_t | fMinVz |
min vertex for event selection More... | |
Double_t | fMaxVz |
max vertex for event selection More... | |
Double_t | fMaxVzDiff |
upper limit for distance between primary and SPD vertex More... | |
Double_t | fMinNVertCont |
minumum number of vertex contributors More... | |
Double_t | fMinPtHard |
select minimum pt hard (MC) More... | |
Double_t | fMaxPtHard |
select maximum pt hard (MC) More... | |
Double_t | fMaxMinimumBiasPtHard |
maximum pt hard for the minimum bias pt hard bin (MC) More... | |
std::set< std::string > | fAcceptedTriggerClasses |
list of accepted trigger classes More... | |
std::set< std::string > | fRejectedTriggerClasses |
list of accepted trigger classes More... | |
Bool_t | fMCRejectFilter |
enable the filtering of events by tail rejection More... | |
Float_t | fPtHardAndJetPtFactor |
Factor between ptHard and jet pT to reject/accept event. More... | |
Float_t | fPtHardAndClusterPtFactor |
Factor between ptHard and cluster pT to reject/accept event. More... | |
Float_t | fPtHardAndTrackPtFactor |
Factor between ptHard and track pT to reject/accept event. More... | |
Bool_t | fSwitchOffLHC15oFaultyBranches |
Switch off faulty tree branches in LHC15o AOD trees. More... | |
Bool_t | fEventSelectionAfterRun |
If kTRUE, the event selection is performed after Run() but before FillHistograms() More... | |
TString | fSelectGeneratorName |
Selects only events produced by a generator that has a name containing a string. More... | |
Double_t | fMinimumEventWeight |
Minimum event weight for the related bookkeping histogram. More... | |
Double_t | fMaximumEventWeight |
Minimum event weight for the related bookkeping histogram. More... | |
Bool_t | fInhibit |
!inhibit execution of the task More... | |
Bool_t | fLocalInitialized |
!whether or not the task has been already initialized More... | |
EDataType_t | fDataType |
!data type (ESD or AOD) More... | |
AliEMCALGeometry * | fGeom |
!emcal geometry More... | |
AliVCaloCells * | fCaloCells |
!cells More... | |
AliVCaloTrigger * | fCaloTriggers |
!calo triggers More... | |
TClonesArray * | fTriggerPatchInfo |
!trigger patch info array More... | |
Double_t | fCent |
!event centrality More... | |
Int_t | fCentBin |
!event centrality bin More... | |
Double_t | fEPV0 |
!event plane V0 More... | |
Double_t | fEPV0A |
!event plane V0A More... | |
Double_t | fEPV0C |
!event plane V0C More... | |
Double_t | fVertex [3] |
!event vertex More... | |
Double_t | fVertexSPD [3] |
!event Svertex More... | |
Int_t | fNVertCont |
!event vertex number of contributors More... | |
Int_t | fNVertSPDCont |
!event SPD vertex number of contributors More... | |
ULong_t | fFiredTriggerBitMap |
!bit map of fired triggers More... | |
std::vector< std::string > | fFiredTriggerClasses |
!trigger classes fired by the current event More... | |
EBeamType_t | fBeamType |
!event beam type More... | |
AliGenEventHeader * | fMCHeader |
!event MC header More... | |
AliGenPythiaEventHeader * | fPythiaHeader |
!event Pythia header More... | |
Int_t | fPtHardBin |
!event pt hard bin More... | |
Double_t | fPtHard |
!event pt hard More... | |
Int_t | fNTrials |
!event trials More... | |
Float_t | fXsection |
!x-section from pythia header More... | |
Float_t | fEventWeight |
!event weight More... | |
TString | fGeneratorName |
!name of the MC generator used to produce the current event (only AOD) More... | |
TList * | fOutput |
!output list More... | |
Private Member Functions | |
AliAnalysisTaskDmesonJets (const AliAnalysisTaskDmesonJets &source) | |
AliAnalysisTaskDmesonJets & | operator= (const AliAnalysisTaskDmesonJets &source) |
Additional Inherited Members | |
![]() | |
static Double_t | fgkEMCalDCalPhiDivide = 4. |
phi value used to distinguish between DCal and EMCal More... | |
Analysis task for D meson jets.
This task selects D meson candidates according to predefined cuts, then runs a jet finder to reconstruct the jets that contain the D meson candidates.
The main output is stored in a THnSparse histogram or in a TTree.
Definition at line 63 of file AliAnalysisTaskDmesonJets.h.
Definition at line 83 of file AliAnalysisTaskDmesonJets.h.
Definition at line 82 of file AliAnalysisTaskDmesonJets.h.
Definition at line 84 of file AliAnalysisTaskDmesonJets.h.
Enumerator | |
---|---|
kPositionD | |
kInvMass | |
k2ProngInvMass | |
kSoftPionPt | |
kDeltaR | |
kDeltaEta | |
kDeltaPhi | |
kPositionJet | |
kJetConstituents |
Definition at line 108 of file AliAnalysisTaskDmesonJets.h.
Enumerator | |
---|---|
kD0toKpi | |
kDstartoKpipi | |
kD0toKpiLikeSign |
Definition at line 87 of file AliAnalysisTaskDmesonJets.h.
Enumerator | |
---|---|
kNoMC | |
kSignalOnly | |
kBackgroundOnly | |
kMCTruth | |
kD0Reflection | |
kOnlyWrongPIDAccepted |
Definition at line 88 of file AliAnalysisTaskDmesonJets.h.
Enumerator | |
---|---|
kAnyDecay | |
kUnknownDecay | |
kDecayD0toKpi | |
kDecayDStartoKpipi |
Definition at line 101 of file AliAnalysisTaskDmesonJets.h.
Enumerator | |
---|---|
kUnknownQuark | |
kFromDown | |
kFromUp | |
kFromStrange | |
kFromCharm | |
kFromBottom | |
kFromTop | |
kFromGluon | |
kAnyOrigin |
Definition at line 89 of file AliAnalysisTaskDmesonJets.h.
Enumerator | |
---|---|
kNoOutput | |
kTreeOutput | |
kTHnOutput | |
kOnlyQAOutput | |
kTreeExtendedOutput |
Definition at line 86 of file AliAnalysisTaskDmesonJets.h.
AliAnalysisTaskDmesonJets::AliAnalysisTaskDmesonJets | ( | ) |
This is the default constructor, used for ROOT I/O purposes.
Definition at line 2956 of file AliAnalysisTaskDmesonJets.cxx.
Referenced by AddTaskDmesonJets().
AliAnalysisTaskDmesonJets::AliAnalysisTaskDmesonJets | ( | const char * | name, |
Int_t | nOutputTrees = 2 |
||
) |
This is the standard named constructor.
name | Name of the task |
Definition at line 2978 of file AliAnalysisTaskDmesonJets.cxx.
|
virtual |
This is the standard destructor.
Definition at line 3001 of file AliAnalysisTaskDmesonJets.cxx.
|
private |
AliAnalysisTaskDmesonJets::AnalysisEngine * AliAnalysisTaskDmesonJets::AddAnalysisEngine | ( | ECandidateType_t | type, |
TString | cutfname, | ||
TString | cuttype, | ||
EMCMode_t | MCmode, | ||
EJetType_t | jettype, | ||
Double_t | jetradius, | ||
TString | rhoName = "" |
||
) |
Add a new AnalysisEngine object.
type | One of the enum constants of ECandidateType_t |
cutfname | Name of the file that contains the D meson cut object |
cuttype | Type of RDHF cuts |
MCmode | One of the enum constants of EMCMode_t |
jettype | Jet type |
jetradius | Radius of the jet |
rhoName | Name of the rho object for the subtraction of the jet average background |
Definition at line 3047 of file AliAnalysisTaskDmesonJets.cxx.
AliAnalysisTaskDmesonJets::AnalysisEngine * AliAnalysisTaskDmesonJets::AddAnalysisEngine | ( | ECandidateType_t | type, |
TString | cutfname, | ||
TString | cuttype, | ||
EMCMode_t | MCmode, | ||
const AliHFJetDefinition & | jetDef, | ||
TString | rhoName = "" |
||
) |
Add a new AnalysisEngine object.
type | One of the enum constants of ECandidateType_t |
cutfname | Name of the file that contains the D meson cut object |
cuttype | Type of RDHF cuts |
MCmode | One of the enum constants of EMCMode_t |
jetDef | Jet definition |
rhoName | Name of the rho object for the subtraction of the jet average background |
Definition at line 3063 of file AliAnalysisTaskDmesonJets.cxx.
|
static |
Create an instance of this class and add it to the analysis manager
ntracks | name of the track collection |
nclusters | name of the calorimeter cluster collection |
nMCpart | name of the MC particle collection |
nMaxTrees | number of output trees |
suffix | additional suffix that can be added at the end of the task name |
Definition at line 3838 of file AliAnalysisTaskDmesonJets.cxx.
Referenced by SetJetArea().
|
staticprotected |
Set the mass limits for the histograms using information from TDatabasePDG.
range | This parameter is used to calculate the mass range as [mass - range/2 ; mass + range/2] |
pdg | PDG code of the candidate |
nbins | Number of bins in the histogram |
minMass | Reference to a Double_t where the minimum mass will be stored |
maxMass | Reference to a Double_t where the maximum mass will be stored |
Definition at line 3728 of file AliAnalysisTaskDmesonJets.cxx.
Referenced by AliAnalysisTaskDmesonJets::OutputHandlerTHnSparse::BuildOutputObject(), AliAnalysisTaskDmesonJets::AnalysisEngine::SetCandidateProperties(), SetOutputTypeInternal(), and UserCreateOutputObjects().
|
virtual |
Does some specific initializations for the analysis engines, then calls the base class ExecOnce() method.
Reimplemented from AliAnalysisTaskEmcalLight.
Reimplemented in AliAnalysisTaskDmesonJetsDetectorResponse.
Definition at line 3419 of file AliAnalysisTaskDmesonJets.cxx.
Referenced by AliAnalysisTaskDmesonJetsDetectorResponse::ExecOnce(), and SetJetArea().
|
virtual |
Fill the histograms.
Reimplemented from AliAnalysisTaskEmcalLight.
Reimplemented in AliAnalysisTaskDmesonJetsDetectorResponse.
Definition at line 3605 of file AliAnalysisTaskDmesonJets.cxx.
Referenced by SetJetArea().
|
protected |
Fill histograms with parton-level information.
Definition at line 3617 of file AliAnalysisTaskDmesonJets.cxx.
Referenced by AliAnalysisTaskDmesonJetsDetectorResponse::FillHistograms(), FillHistograms(), and SetOutputTypeInternal().
std::list< AliAnalysisTaskDmesonJets::AnalysisEngine >::iterator AliAnalysisTaskDmesonJets::FindAnalysisEngine | ( | const AnalysisEngine & | eng | ) |
Definition at line 3113 of file AliAnalysisTaskDmesonJets.cxx.
Referenced by AddAnalysisEngine().
|
inline |
Definition at line 825 of file AliAnalysisTaskDmesonJets.h.
|
staticprotected |
Takes a bitmap and converts the first rejection reason bit to a string; it unsets the first bit.
bitmap | Bitmap with one or more bit sets by AliRDHFCuts (only the first one will be considered) |
Definition at line 3750 of file AliAnalysisTaskDmesonJets.cxx.
Referenced by Run(), and SetOutputTypeInternal().
|
protected |
Load D meson cuts from a file.
cutfname | Name of the file containing the cut object |
cutsname | Name of the object cuts |
Definition at line 3012 of file AliAnalysisTaskDmesonJets.cxx.
Referenced by AddAnalysisEngine(), and SetOutputTypeInternal().
|
private |
|
protected |
Post the tree of an analysis engine in the data slot (if the tree exists and the data slot has been assigned)
eng | Constant reference to an analysis engine |
Definition at line 3819 of file AliAnalysisTaskDmesonJets.cxx.
Referenced by FillHistograms(), SetOutputTypeInternal(), and UserCreateOutputObjects().
|
virtual |
Run the analysis
Reimplemented from AliAnalysisTaskEmcalLight.
Reimplemented in AliAnalysisTaskDmesonJetsDetectorResponse.
Definition at line 3538 of file AliAnalysisTaskDmesonJets.cxx.
Referenced by AliAnalysisTaskDmesonJetsDetectorResponse::Run(), and SetJetArea().
|
inline |
Definition at line 827 of file AliAnalysisTaskDmesonJets.h.
Definition at line 831 of file AliAnalysisTaskDmesonJets.h.
|
inline |
Definition at line 828 of file AliAnalysisTaskDmesonJets.h.
|
inlineprotectedvirtual |
Reimplemented in AliAnalysisTaskDmesonJetsDetectorResponse.
Definition at line 843 of file AliAnalysisTaskDmesonJets.h.
Referenced by SetOutputType().
|
inline |
Definition at line 830 of file AliAnalysisTaskDmesonJets.h.
|
inline |
Definition at line 817 of file AliAnalysisTaskDmesonJets.h.
|
inline |
Definition at line 820 of file AliAnalysisTaskDmesonJets.h.
|
inline |
Definition at line 821 of file AliAnalysisTaskDmesonJets.h.
|
inline |
Definition at line 819 of file AliAnalysisTaskDmesonJets.h.
|
inline |
Definition at line 816 of file AliAnalysisTaskDmesonJets.h.
|
inline |
Definition at line 823 of file AliAnalysisTaskDmesonJets.h.
|
inline |
Definition at line 815 of file AliAnalysisTaskDmesonJets.h.
|
inline |
Definition at line 822 of file AliAnalysisTaskDmesonJets.h.
|
inline |
Definition at line 818 of file AliAnalysisTaskDmesonJets.h.
|
inline |
Definition at line 829 of file AliAnalysisTaskDmesonJets.h.
|
virtual |
Creates the output containers.
Reimplemented in AliAnalysisTaskDmesonJetsDetectorResponse.
Definition at line 3121 of file AliAnalysisTaskDmesonJets.cxx.
Referenced by SetJetArea(), and AliAnalysisTaskDmesonJetsDetectorResponse::UserCreateOutputObjects().
|
protected |
Array of analysis parameters.
Definition at line 855 of file AliAnalysisTaskDmesonJets.h.
Referenced by AddAnalysisEngine(), ExecOnce(), AliAnalysisTaskDmesonJetsDetectorResponse::FillHistograms(), FillHistograms(), FindAnalysisEngine(), Run(), AliAnalysisTaskDmesonJetsDetectorResponse::UserCreateOutputObjects(), and UserCreateOutputObjects().
|
protected |
! AOD event
Definition at line 866 of file AliAnalysisTaskDmesonJets.h.
Referenced by ExecOnce(), and Run().
|
protected |
Apply jet kinematic cuts.
Definition at line 859 of file AliAnalysisTaskDmesonJets.h.
Referenced by AliAnalysisTaskDmesonJetsDetectorResponse::FillHistograms(), FillHistograms(), and SetApplyKinematicCuts().
|
protected |
Use bit defined in EAxis_t to enable axis in the THnSparse.
Definition at line 856 of file AliAnalysisTaskDmesonJets.h.
Referenced by GetEnabledAxis(), AliAnalysisTaskDmesonJets::OutputHandlerTHnSparse::SetEnabledAxis(), SetShow2ProngInvMass(), SetShowDeltaEta(), SetShowDeltaPhi(), SetShowDeltaR(), SetShowInvMass(), SetShowJetConstituents(), SetShowPositionD(), SetShowPositionJet(), SetShowSoftPionPt(), and UserCreateOutputObjects().
|
protected |
! Fastjet wrapper
Definition at line 867 of file AliAnalysisTaskDmesonJets.h.
Referenced by ExecOnce(), and ~AliAnalysisTaskDmesonJets().
|
protected |
Histogram manager.
Definition at line 858 of file AliAnalysisTaskDmesonJets.h.
Referenced by FillPartonLevelHistograms(), Run(), and UserCreateOutputObjects().
|
protected |
Jet area type.
Definition at line 863 of file AliAnalysisTaskDmesonJets.h.
Referenced by ExecOnce(), and SetJetArea().
|
protected |
Area of the ghost particles.
Definition at line 864 of file AliAnalysisTaskDmesonJets.h.
Referenced by ExecOnce(), and SetJetArea().
|
protected |
! MC particle container
Definition at line 865 of file AliAnalysisTaskDmesonJets.h.
Referenced by ExecOnce(), AliAnalysisTaskDmesonJetsDetectorResponse::FillHistograms(), FillHistograms(), and FillPartonLevelHistograms().
|
protected |
Maximum number of output trees.
Definition at line 860 of file AliAnalysisTaskDmesonJets.h.
Referenced by AliAnalysisTaskDmesonJetsDetectorResponse::UserCreateOutputObjects(), and UserCreateOutputObjects().
|
protected |
Output type: none, TTree or THnSparse.
Definition at line 857 of file AliAnalysisTaskDmesonJets.h.
Referenced by AliAnalysisTaskDmesonJetsDetectorResponse::AliAnalysisTaskDmesonJetsDetectorResponse(), AliAnalysisTaskDmesonJetsDetectorResponse::SetOutputTypeInternal(), SetOutputTypeInternal(), and UserCreateOutputObjects().
|
protected |
Reject initial state radiation.
Definition at line 862 of file AliAnalysisTaskDmesonJets.h.
Referenced by ExecOnce(), AliAnalysisTaskDmesonJets::AnalysisEngine::SetRejectISR(), and SetRejectISR().
|
protected |
Artificial tracking inefficiency (0...1)
Definition at line 861 of file AliAnalysisTaskDmesonJets.h.
Referenced by ExecOnce(), AliAnalysisTaskDmesonJets::AnalysisEngine::SetTrackEfficiency(), and SetTrackEfficiency().