![]() |
AliPhysics
114179e (114179e)
|
Analysis task for D meson jets. More...
#include <AliAnalysisTaskDmesonJets.h>
Classes | |
class | AliD0InfoSummary |
Lightweight class that encapsulates D0. More... | |
class | AliDmesonInfoSummary |
Lightweight class that encapsulates D meson jets. More... | |
class | AliDmesonJetInfo |
class | AliDStarInfoSummary |
Lightweight class that encapsulates D*. More... | |
class | AliHFJetDefinition |
class | AliJetInfo |
Class that encapsulates jets. More... | |
class | AliJetInfoSummary |
Lightweight class that encapsulates D meson jets. More... | |
class | AnalysisEngine |
Struct that encapsulates analysis parameters. More... | |
Static Public Member Functions | |
static AliAnalysisTaskDmesonJets * | AddTaskDmesonJets (TString ntracks="usedefault", TString nclusters="usedefault", TString nMCpart="", Int_t nMaxTrees=2, TString suffix="") |
Protected Member Functions | |
virtual void | SetOutputTypeInternal (EOutputType_t b) |
AliRDHFCuts * | LoadDMesonCutsFromFile (TString cutfname, TString cutsname) |
Int_t | PostDataFromAnalysisEngine (const AnalysisEngine &eng) |
![]() | |
void | SetRejectionReasonLabels (TAxis *axis) |
void | AddObjectToEvent (TObject *obj, Bool_t attempt=kFALSE) |
TClonesArray * | GetArrayFromEvent (const char *name, const char *clname=0) |
EBeamType_t | GetBeamType () |
Bool_t | PythiaInfoFromFile (const char *currFile, Float_t &fXsec, Float_t &fTrials, Int_t &pthard) |
Bool_t | IsTrackInEmcalAcceptance (AliVParticle *part, Double_t edges=0.9) const |
void | UserCreateOutputObjects () |
void | UserExec (Option_t *option) |
Bool_t | UserNotify () |
virtual Bool_t | FillGeneralHistograms () |
virtual Bool_t | IsEventSelected () |
virtual Bool_t | RetrieveEventObjects () |
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 Double_t * | GenerateFixedBinArray (Int_t n, Double_t min, Double_t max) |
static void | GenerateFixedBinArray (Int_t n, Double_t min, Double_t max, Double_t *array) |
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... | |
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... | |
Int_t | fNcentBins |
how many centrality bins More... | |
Bool_t | fUseNewCentralityEstimation |
Use new centrality estimation (for 2015 data) More... | |
Bool_t | fIsPythia |
if it is a PYTHIA 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... | |
TObjArray | fParticleCollArray |
particle/track collection array More... | |
TObjArray | 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 | fZvertexDiff |
upper limit for distance between primary and SPD vertex More... | |
Double_t | fMinPtTrack |
cut on track pt in event selection More... | |
Int_t | fMinNTrack |
minimum nr of tracks in event with pT>fTrackPtCut More... | |
Double_t | fMinPtTrackInEmcal |
min pt track in emcal More... | |
Int_t | fSelectPtHardBin |
select one pt hard bin for analysis More... | |
TObjArray | fAcceptedTriggerClasses |
list of accepted trigger classes More... | |
TObjArray | fRejectedTriggerClasses |
list of accepted trigger classes 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... | |
TString | fFiredTriggerClasses |
!trigger classes fired by the current event More... | |
EBeamType_t | fBeamType |
!event beam type More... | |
AliGenPythiaEventHeader * | fPythiaHeader |
!event Pythia header More... | |
Double_t | fPtHard |
!event pt hard More... | |
Int_t | fPtHardBin |
!event pt hard bin More... | |
Int_t | fNTrials |
!event trials More... | |
Float_t | fXsection |
!x-section from pythia header More... | |
TList * | fOutput |
!output list More... | |
TH1 * | fHistEventCount |
!incoming and selected events More... | |
TH1 * | fHistTrialsAfterSel |
!total number of trials per pt hard bin after selection More... | |
TH1 * | fHistEventsAfterSel |
!total number of events per pt hard bin after selection More... | |
TProfile * | fHistXsectionAfterSel |
!x section from pythia header More... | |
TH1 * | fHistTrials |
!trials from pyxsec.root More... | |
TH1 * | fHistEvents |
!total number of events per pt hard bin More... | |
TProfile * | fHistXsection |
!x section from pyxsec.root More... | |
TH1 * | fHistPtHard |
!pt hard distribution More... | |
TH1 * | fHistCentrality |
!event centrality distribution More... | |
TH1 * | fHistZVertex |
!z vertex position More... | |
TH1 * | fHistEventPlane |
!event plane distribution More... | |
TH1 * | fHistEventRejection |
!book keep reasons for rejecting event More... | |
TH1 * | fHistTriggerClasses |
!number of events in each trigger class 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 59 of file AliAnalysisTaskDmesonJets.h.
Definition at line 64 of file AliAnalysisTaskDmesonJets.h.
Definition at line 63 of file AliAnalysisTaskDmesonJets.h.
Definition at line 65 of file AliAnalysisTaskDmesonJets.h.
Enumerator | |
---|---|
kPositionD | |
kInvMass | |
k2ProngInvMass | |
kSoftPionPt | |
kDeltaR | |
kDeltaEta | |
kDeltaPhi | |
kPositionJet | |
kJetConstituents |
Definition at line 89 of file AliAnalysisTaskDmesonJets.h.
Enumerator | |
---|---|
kD0toKpi | |
kDstartoKpipi | |
kD0toKpiLikeSign |
Definition at line 68 of file AliAnalysisTaskDmesonJets.h.
Enumerator | |
---|---|
kNoMC | |
kSignalOnly | |
kBackgroundOnly | |
kMCTruth |
Definition at line 69 of file AliAnalysisTaskDmesonJets.h.
Enumerator | |
---|---|
kAnyDecay | |
kUnknownDecay | |
kDecayD0toKpi | |
kDecayDStartoKpipi |
Definition at line 82 of file AliAnalysisTaskDmesonJets.h.
Enumerator | |
---|---|
kUnknownQuark | |
kFromDown | |
kFromUp | |
kFromStrange | |
kFromCharm | |
kFromBottom | |
kFromTop | |
kFromGluon | |
kAnyOrigin |
Definition at line 70 of file AliAnalysisTaskDmesonJets.h.
Enumerator | |
---|---|
kNoOutput | |
kTreeOutput | |
kTHnOutput |
Definition at line 67 of file AliAnalysisTaskDmesonJets.h.
AliAnalysisTaskDmesonJets::AliAnalysisTaskDmesonJets | ( | ) |
This is the default constructor, used for ROOT I/O purposes.
Definition at line 1895 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 1912 of file AliAnalysisTaskDmesonJets.cxx.
|
virtual |
This is the standard destructor.
Definition at line 1930 of file AliAnalysisTaskDmesonJets.cxx.
|
private |
AliAnalysisTaskDmesonJets::AnalysisEngine * AliAnalysisTaskDmesonJets::AddAnalysisEngine | ( | ECandidateType_t | type, |
EMCMode_t | MCmode, | ||
EJetType_t | jettype, | ||
Double_t | jetradius, | ||
TString | cutfname = "" |
||
) |
Add a new AnalysisEngine object.
type | One of the enum constants of ECandidateType_t |
bkgMode | One of the enum constants of EMCMode_t |
jetradius | Radius of the jet |
cuts | Name of the file that container D meson cut object (if null, it will use standard cuts) |
Definition at line 1968 of file AliAnalysisTaskDmesonJets.cxx.
AliAnalysisTaskDmesonJets::AnalysisEngine * AliAnalysisTaskDmesonJets::AddAnalysisEngine | ( | ECandidateType_t | type, |
EMCMode_t | MCmode, | ||
const AliHFJetDefinition & | jetDef, | ||
TString | cutfname = "" |
||
) |
Add a new AnalysisEngine object.
type | One of the enum constants of ECandidateType_t |
bkgMode | One of the enum constants of EMCMode_t |
jetradius | Radius of the jet |
cuts | Name of the file that container D meson cut object (if null, it will use standard cuts) |
Definition at line 1982 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 2448 of file AliAnalysisTaskDmesonJets.cxx.
|
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 2338 of file AliAnalysisTaskDmesonJets.cxx.
Referenced by AliAnalysisTaskDmesonJets::AnalysisEngine::BuildHnSparse(), AliAnalysisTaskDmesonJets::AnalysisEngine::SetCandidateProperties(), 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 2178 of file AliAnalysisTaskDmesonJets.cxx.
Referenced by AliAnalysisTaskDmesonJetsDetectorResponse::ExecOnce().
|
virtual |
Fill the histograms.
Reimplemented from AliAnalysisTaskEmcalLight.
Reimplemented in AliAnalysisTaskDmesonJetsDetectorResponse.
Definition at line 2313 of file AliAnalysisTaskDmesonJets.cxx.
std::list< AliAnalysisTaskDmesonJets::AnalysisEngine >::iterator AliAnalysisTaskDmesonJets::FindAnalysisEngine | ( | const AnalysisEngine & | eng | ) |
Definition at line 2027 of file AliAnalysisTaskDmesonJets.cxx.
Referenced by AddAnalysisEngine().
|
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 2360 of file AliAnalysisTaskDmesonJets.cxx.
Referenced by Run().
|
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 1941 of file AliAnalysisTaskDmesonJets.cxx.
Referenced by AddAnalysisEngine().
|
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 2429 of file AliAnalysisTaskDmesonJets.cxx.
Referenced by FillHistograms(), and UserCreateOutputObjects().
|
virtual |
Run the analysis
Reimplemented from AliAnalysisTaskEmcalLight.
Reimplemented in AliAnalysisTaskDmesonJetsDetectorResponse.
Definition at line 2260 of file AliAnalysisTaskDmesonJets.cxx.
Referenced by AliAnalysisTaskDmesonJetsDetectorResponse::Run().
|
inline |
Definition at line 469 of file AliAnalysisTaskDmesonJets.h.
|
inline |
Definition at line 470 of file AliAnalysisTaskDmesonJets.h.
|
inlineprotectedvirtual |
Reimplemented in AliAnalysisTaskDmesonJetsDetectorResponse.
Definition at line 481 of file AliAnalysisTaskDmesonJets.h.
Referenced by SetOutputType().
|
inline |
Definition at line 461 of file AliAnalysisTaskDmesonJets.h.
|
inline |
Definition at line 464 of file AliAnalysisTaskDmesonJets.h.
|
inline |
Definition at line 465 of file AliAnalysisTaskDmesonJets.h.
|
inline |
Definition at line 463 of file AliAnalysisTaskDmesonJets.h.
|
inline |
Definition at line 460 of file AliAnalysisTaskDmesonJets.h.
|
inline |
Definition at line 467 of file AliAnalysisTaskDmesonJets.h.
|
inline |
Definition at line 459 of file AliAnalysisTaskDmesonJets.h.
|
inline |
Definition at line 466 of file AliAnalysisTaskDmesonJets.h.
|
inline |
Definition at line 462 of file AliAnalysisTaskDmesonJets.h.
|
virtual |
Creates the output containers.
Reimplemented in AliAnalysisTaskDmesonJetsDetectorResponse.
Definition at line 2035 of file AliAnalysisTaskDmesonJets.cxx.
Referenced by AliAnalysisTaskDmesonJetsDetectorResponse::UserCreateOutputObjects().
|
protected |
Array of analysis parameters.
Definition at line 491 of file AliAnalysisTaskDmesonJets.h.
Referenced by AddAnalysisEngine(), ExecOnce(), FillHistograms(), FindAnalysisEngine(), Run(), AliAnalysisTaskDmesonJetsDetectorResponse::UserCreateOutputObjects(), and UserCreateOutputObjects().
|
protected |
! AOD event
Definition at line 497 of file AliAnalysisTaskDmesonJets.h.
Referenced by ExecOnce(), AliAnalysisTaskDmesonJets::AnalysisEngine::ExtractD0Attributes(), AliAnalysisTaskDmesonJets::AnalysisEngine::ExtractDstarAttributes(), and Run().
|
protected |
Apply jet kinematic cuts.
Definition at line 495 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 492 of file AliAnalysisTaskDmesonJets.h.
Referenced by SetShow2ProngInvMass(), SetShowDeltaEta(), SetShowDeltaPhi(), SetShowDeltaR(), SetShowInvMass(), SetShowJetConstituents(), SetShowPositionD(), SetShowPositionJet(), SetShowSoftPionPt(), and UserCreateOutputObjects().
|
protected |
! Fastjet wrapper
Definition at line 498 of file AliAnalysisTaskDmesonJets.h.
Referenced by AliAnalysisTaskDmesonJets::AnalysisEngine::AddInputVectors(), ExecOnce(), AliAnalysisTaskDmesonJets::AnalysisEngine::FindJet(), AliAnalysisTaskDmesonJets::AnalysisEngine::FindJets(), AliAnalysisTaskDmesonJets::AnalysisEngine::RunParticleLevelAnalysis(), and ~AliAnalysisTaskDmesonJets().
|
protected |
Histogram manager.
Definition at line 494 of file AliAnalysisTaskDmesonJets.h.
Referenced by AliAnalysisTaskDmesonJets::AnalysisEngine::BuildHnSparse(), AliAnalysisTaskDmesonJets::AnalysisEngine::ExtractD0Attributes(), AliAnalysisTaskDmesonJets::AnalysisEngine::ExtractDstarAttributes(), AliAnalysisTaskDmesonJets::AnalysisEngine::FillHnSparse(), AliAnalysisTaskDmesonJets::AnalysisEngine::FillQA(), AliAnalysisTaskDmesonJets::AnalysisEngine::FillTree(), AliAnalysisTaskDmesonJets::AnalysisEngine::FindJet(), Run(), AliAnalysisTaskDmesonJets::AnalysisEngine::RunDetectorLevelAnalysis(), AliAnalysisTaskDmesonJets::AnalysisEngine::RunParticleLevelAnalysis(), and UserCreateOutputObjects().
|
protected |
Maximum number of output trees.
Definition at line 496 of file AliAnalysisTaskDmesonJets.h.
Referenced by AliAnalysisTaskDmesonJetsDetectorResponse::UserCreateOutputObjects(), and UserCreateOutputObjects().
|
protected |
Output type: none, TTree or THnSparse.
Definition at line 493 of file AliAnalysisTaskDmesonJets.h.
Referenced by AliAnalysisTaskDmesonJetsDetectorResponse::AliAnalysisTaskDmesonJetsDetectorResponse(), FillHistograms(), AliAnalysisTaskDmesonJetsDetectorResponse::SetOutputTypeInternal(), SetOutputTypeInternal(), and UserCreateOutputObjects().