![]() |
AliPhysics
31210d0 (31210d0)
|
Output handler for D meson jet analysis. More...
#include <AliAnalysisTaskDmesonJets.h>
Public Member Functions | |
OutputHandlerTHnSparse () | |
Constructor. More... | |
OutputHandlerTHnSparse (AnalysisEngine *eng) | |
Constructor. More... | |
virtual | ~OutputHandlerTHnSparse () |
virtual Bool_t | FillOutput (Bool_t applyKinCuts) |
virtual void | BuildOutputObject (const char *taskName) |
Bool_t | FillHnSparse (THnSparse *h, const AliDmesonJetInfo &DmesonJet, std::string n) |
Bool_t | IsAnyJetInAcceptance (const AliDmesonJetInfo &dMesonJet) const |
void | SetEnabledAxis (UInt_t axis) |
![]() | |
OutputHandler () | |
Constructor. More... | |
OutputHandler (AnalysisEngine *eng) | |
Constructor. More... | |
virtual | ~OutputHandler () |
virtual TObject * | GetOutputObject () const |
virtual Int_t | GetDataSlotNumber () const |
Protected Attributes | |
UInt_t | fEnabledAxis |
! Use bit defined in EAxis_t to enable axis in the THnSparse More... | |
![]() | |
ECandidateType_t | fCandidateType |
! Candidate type 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... | |
std::vector< AliHFJetDefinition > * | fJetDefinitions |
! 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... | |
EventInfo * | fEventInfo |
! Object conatining the event information (centrality, pt hard, weight, etc.) More... | |
std::map< int, AliDmesonJetInfo > * | fDmesonJets |
! Array containing the D meson jets More... | |
THistManager * | fHistManager |
! Histograms More... | |
TString | fName |
! Name of this object More... | |
Private Member Functions | |
OutputHandlerTHnSparse (const OutputHandlerTHnSparse &source) | |
OutputHandlerTHnSparse & | operator= (const OutputHandlerTHnSparse &source) |
Output handler for D meson jet analysis.
This class encapsulates the handler of the output of the analysis The output is stored in a THnSparse with user defined axis
Definition at line 549 of file AliAnalysisTaskDmesonJets.h.
AliAnalysisTaskDmesonJets::OutputHandlerTHnSparse::OutputHandlerTHnSparse | ( | ) |
Constructor.
Definition at line 883 of file AliAnalysisTaskDmesonJets.cxx.
AliAnalysisTaskDmesonJets::OutputHandlerTHnSparse::OutputHandlerTHnSparse | ( | AnalysisEngine * | eng | ) |
Constructor.
Definition at line 890 of file AliAnalysisTaskDmesonJets.cxx.
|
inlinevirtual |
Definition at line 554 of file AliAnalysisTaskDmesonJets.h.
|
private |
|
virtual |
Allocate a THnSparse histogram
param | Analysis parameters used to properly set some of the axis |
Reimplemented from AliAnalysisTaskDmesonJets::OutputHandler.
Definition at line 900 of file AliAnalysisTaskDmesonJets.cxx.
Referenced by AliAnalysisTaskDmesonJets::UserCreateOutputObjects().
Bool_t AliAnalysisTaskDmesonJets::OutputHandlerTHnSparse::FillHnSparse | ( | THnSparse * | h, |
const AliDmesonJetInfo & | DmesonJet, | ||
std::string | n | ||
) |
Fill a THnSparse using information from a AliDmesonJetInfo object
h | Valid pointer to a THnSparse object |
DmesonJet | Const reference to an AliDmesonJetInfo object |
n | Jet name |
Definition at line 1107 of file AliAnalysisTaskDmesonJets.cxx.
Referenced by FillOutput().
Post the output with D meson jets found in the current event
Reimplemented from AliAnalysisTaskDmesonJets::OutputHandler.
Definition at line 1063 of file AliAnalysisTaskDmesonJets.cxx.
Bool_t AliAnalysisTaskDmesonJets::OutputHandlerTHnSparse::IsAnyJetInAcceptance | ( | const AliDmesonJetInfo & | dMesonJet | ) | const |
Checks whether any of the D meson jets is in the acceptance
Const | reference to a valid AliDmesonJetInfo object |
Definition at line 1051 of file AliAnalysisTaskDmesonJets.cxx.
Referenced by FillOutput().
|
private |
|
inline |
Definition at line 563 of file AliAnalysisTaskDmesonJets.h.
Referenced by AliAnalysisTaskDmesonJets::UserCreateOutputObjects().
|
protected |
! Use bit defined in EAxis_t to enable axis in the THnSparse
Definition at line 566 of file AliAnalysisTaskDmesonJets.h.
Referenced by BuildOutputObject().