![]() |
AliPhysics
bdbde52 (bdbde52)
|
Analysis task used to build a detector response for D meson jets. More...
#include <AliAnalysisTaskDmesonJetsDetectorResponse.h>
Classes | |
class | AliD0MatchInfoSummary |
Lightweight class that encapsulates matching between reconstructed and generated D0 mesons. More... | |
class | AliDmesonMatchInfoSummary |
Lightweight class that encapsulates matching between reconstructed and generated D mesons. More... | |
class | AliDStarMatchInfoSummary |
Lightweight class that encapsulates matching between reconstructed and generated D* mesons. More... | |
class | ResponseEngine |
Analysis engine to produce detector response matrix in the D meson jet analysis. More... | |
Static Public Member Functions | |
static AliAnalysisTaskDmesonJetsDetectorResponse * | AddTaskDmesonJetsDetectorResponse (TString trackName, TString clusName, TString mcPartName, Int_t nMaxTrees, TString suffix) |
![]() | |
static AliAnalysisTaskDmesonJets * | AddTaskDmesonJets (TString ntracks="usedefault", TString nclusters="usedefault", TString nMCpart="", Int_t nMaxTrees=2, TString suffix="") |
Protected Attributes | |
THistManager | fHistManagerResponse |
Histogram manager for response. More... | |
std::vector< ResponseEngine > | fResponseEngines |
! Response engines More... | |
![]() | |
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... | |
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... | |
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... | |
AliGenPythiaEventHeader * | fPythiaHeader |
!event Pythia header More... | |
Int_t | fPtHardBin |
!event pt hard More... | |
Double_t | fPtHard |
!event pt hard More... | |
Int_t | fNTrials |
!event trials More... | |
Float_t | fXsection |
!x-section from pythia header More... | |
TList * | fOutput |
!output list More... | |
TH1 * | fHistTrialsVsPtHardNoSel |
!total number of trials per pt hard bin after selection (no event selection) More... | |
TH1 * | fHistEventsVsPtHardNoSel |
!total number of events per pt hard bin after selection (no event selection) More... | |
TProfile * | fHistXsectionVsPtHardNoSel |
!x section from pythia header (no event selection) More... | |
TH1 * | fHistTriggerClassesNoSel |
!number of events in each trigger class (no event selection) More... | |
TH1 * | fHistZVertexNoSel |
!z vertex position (no event selection) More... | |
TH1 * | fHistCentralityNoSel |
!event centrality distribution (no event selection) More... | |
TH1 * | fHistEventPlaneNoSel |
!event plane distribution (no event selection) More... | |
TH1 * | fHistTrialsVsPtHard |
!total number of trials per pt hard bin after selection More... | |
TH1 * | fHistEventsVsPtHard |
!total number of events per pt hard bin after selection More... | |
TProfile * | fHistXsectionVsPtHard |
!x section from pythia header More... | |
TH1 * | fHistTriggerClasses |
!number of events in each trigger class More... | |
TH1 * | fHistZVertex |
!z vertex position More... | |
TH1 * | fHistCentrality |
!event centrality distribution More... | |
TH1 * | fHistEventPlane |
!event plane distribution More... | |
TH1 * | fHistEventCount |
!incoming and selected events More... | |
TH1 * | fHistEventRejection |
!book keep reasons for rejecting event 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... | |
Private Member Functions | |
AliAnalysisTaskDmesonJetsDetectorResponse (const AliAnalysisTaskDmesonJetsDetectorResponse &source) | |
AliAnalysisTaskDmesonJetsDetectorResponse & | operator= (const AliAnalysisTaskDmesonJetsDetectorResponse &source) |
Additional Inherited Members | |
![]() | |
enum | EOutputType_t { kNoOutput, kTreeOutput, kTHnOutput } |
enum | ECandidateType_t { kD0toKpi, kDstartoKpipi, kD0toKpiLikeSign } |
enum | EMCMode_t { kNoMC, kSignalOnly, kBackgroundOnly, kMCTruth, kWrongPID } |
enum | EMesonOrigin_t { kUnknownQuark = BIT(0), kFromDown = BIT(1), kFromUp = BIT(2), kFromStrange = BIT(3), kFromCharm = BIT(4), kFromBottom = BIT(5), kFromTop = BIT(6), kFromGluon = BIT(7), kAnyOrigin = kUnknownQuark | kFromDown | kFromUp | kFromStrange | kFromCharm | kFromBottom | kFromTop | kFromGluon } |
enum | EMesonDecayChannel_t { kAnyDecay = 0, kUnknownDecay = BIT(0), kDecayD0toKpi = BIT(1), kDecayDStartoKpipi = BIT(2) } |
enum | EAxis_t { kPositionD = BIT(0), kInvMass = BIT(1), k2ProngInvMass = BIT(2), kSoftPionPt = BIT(3), kDeltaR = BIT(4), kDeltaEta = BIT(5), kDeltaPhi = BIT(6), kPositionJet = BIT(7), kJetConstituents = BIT(8) } |
typedef AliJetContainer::EJetType_t | EJetType_t |
typedef AliJetContainer::EJetAlgo_t | EJetAlgo_t |
typedef AliJetContainer::ERecoScheme_t | ERecoScheme_t |
![]() | |
enum | EDataType_t { kUnknownDataType, kESD, kAOD } |
Switch for the data type. More... | |
enum | EBeamType_t { kNA = -1, kpp = 0, kAA = 1, kpA = 2 } |
Switch for the beam type. More... | |
enum | ECentralityEstimation_t { kNoCentrality = 0, kNewCentrality = 1, kOldCentrality = 2 } |
Switch for the centrality estimation. More... | |
![]() | |
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) |
![]() | |
static Double_t | fgkEMCalDCalPhiDivide = 4. |
phi value used to distinguish between DCal and EMCal More... | |
Analysis task used to build a detector response for D meson jets.
This task derives from AliAnalysisTaskDmesonJets. Most of the analysis is performed there. This task only takes care of matching detector level D meson jets with generator level. The matching is done using the method MatchToMC of AliAODRecoDecayHF2Prong.
The main output is stored in a THnSparse histogram or in a TTree.
Definition at line 36 of file AliAnalysisTaskDmesonJetsDetectorResponse.h.
AliAnalysisTaskDmesonJetsDetectorResponse::AliAnalysisTaskDmesonJetsDetectorResponse | ( | ) |
This is the default constructor, used for ROOT I/O purposes.
Definition at line 371 of file AliAnalysisTaskDmesonJetsDetectorResponse.cxx.
Referenced by AddTaskDmesonJetsDetectorResponse().
AliAnalysisTaskDmesonJetsDetectorResponse::AliAnalysisTaskDmesonJetsDetectorResponse | ( | const char * | name, |
Int_t | nOutputTrees = 2 |
||
) |
This is the standard named constructor.
name | Name of the task |
Definition at line 382 of file AliAnalysisTaskDmesonJetsDetectorResponse.cxx.
|
inlinevirtual |
Definition at line 176 of file AliAnalysisTaskDmesonJetsDetectorResponse.h.
|
private |
|
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 543 of file AliAnalysisTaskDmesonJetsDetectorResponse.cxx.
|
virtual |
Does some specific initializations for the analysis engines, then calls the base class ExecOnce() method.
Reimplemented from AliAnalysisTaskDmesonJets.
Definition at line 469 of file AliAnalysisTaskDmesonJetsDetectorResponse.cxx.
|
virtual |
Fill the histograms.
Reimplemented from AliAnalysisTaskDmesonJets.
Definition at line 485 of file AliAnalysisTaskDmesonJetsDetectorResponse.cxx.
|
private |
|
protected |
Post the tree of an response engine in the data slot (if the tree exists and the data slot has been assigned)
eng | Constant reference to a response engine |
Definition at line 524 of file AliAnalysisTaskDmesonJetsDetectorResponse.cxx.
Referenced by FillHistograms(), and UserCreateOutputObjects().
|
virtual |
Run the analysis
Reimplemented from AliAnalysisTaskDmesonJets.
Definition at line 477 of file AliAnalysisTaskDmesonJetsDetectorResponse.cxx.
|
protectedvirtual |
This method overrides the base class method and forbids changing the output type
b | Output type (none, tree, thn) |
Reimplemented from AliAnalysisTaskDmesonJets.
Definition at line 509 of file AliAnalysisTaskDmesonJetsDetectorResponse.cxx.
|
virtual |
Creates the output containers.
Reimplemented from AliAnalysisTaskDmesonJets.
Definition at line 391 of file AliAnalysisTaskDmesonJetsDetectorResponse.cxx.
|
protected |
Histogram manager for response.
Definition at line 191 of file AliAnalysisTaskDmesonJetsDetectorResponse.h.
Referenced by AliAnalysisTaskDmesonJetsDetectorResponse::ResponseEngine::FillTree(), and UserCreateOutputObjects().
|
protected |
! Response engines
Definition at line 192 of file AliAnalysisTaskDmesonJetsDetectorResponse.h.
Referenced by FillHistograms(), and UserCreateOutputObjects().