AliPhysics  f6e6b3f (f6e6b3f)
AliAnalysisTaskDmesonJets::OutputHandlerTHnSparse Class Reference

Output handler for D meson jet analysis. More...

#include <AliAnalysisTaskDmesonJets.h>

Inheritance diagram for AliAnalysisTaskDmesonJets::OutputHandlerTHnSparse:

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)
- Public Member Functions inherited from AliAnalysisTaskDmesonJets::OutputHandler
 OutputHandler ()
 Constructor. More...
 OutputHandler (AnalysisEngine *eng)
 Constructor. More...
virtual ~OutputHandler ()
virtual TObjectGetOutputObject () const
virtual Int_t GetDataSlotNumber () const

Protected Attributes

UInt_t fEnabledAxis
 ! Use bit defined in EAxis_t to enable axis in the THnSparse More...
- Protected Attributes inherited from AliAnalysisTaskDmesonJets::OutputHandler
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...
 ! Object conatining the event information (centrality, pt hard, weight, etc.) More...
std::map< int, AliDmesonJetInfo > * fDmesonJets
 ! Array containing the D meson jets More...
 ! Histograms More...
TString fName
 ! Name of this object More...

Private Member Functions

 OutputHandlerTHnSparse (const OutputHandlerTHnSparse &source)
OutputHandlerTHnSparseoperator= (const OutputHandlerTHnSparse &source)

Detailed Description

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 548 of file AliAnalysisTaskDmesonJets.h.

Constructor & Destructor Documentation

AliAnalysisTaskDmesonJets::OutputHandlerTHnSparse::OutputHandlerTHnSparse ( )


Definition at line 883 of file AliAnalysisTaskDmesonJets.cxx.

AliAnalysisTaskDmesonJets::OutputHandlerTHnSparse::OutputHandlerTHnSparse ( AnalysisEngine eng)


Definition at line 890 of file AliAnalysisTaskDmesonJets.cxx.

virtual AliAnalysisTaskDmesonJets::OutputHandlerTHnSparse::~OutputHandlerTHnSparse ( )

Definition at line 553 of file AliAnalysisTaskDmesonJets.h.

AliAnalysisTaskDmesonJets::OutputHandlerTHnSparse::OutputHandlerTHnSparse ( const OutputHandlerTHnSparse source)

Member Function Documentation

void AliAnalysisTaskDmesonJets::OutputHandlerTHnSparse::BuildOutputObject ( const char *  taskName)

Allocate a THnSparse histogram

paramAnalysis 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

hValid pointer to a THnSparse object
DmesonJetConst reference to an AliDmesonJetInfo object
nJet name

Definition at line 1107 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by FillOutput().

Bool_t AliAnalysisTaskDmesonJets::OutputHandlerTHnSparse::FillOutput ( Bool_t  applyKinCuts)

Post the output with D meson jets found in the current event

kTRUE on success

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

Constreference to a valid AliDmesonJetInfo object

Definition at line 1051 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by FillOutput().

OutputHandlerTHnSparse& AliAnalysisTaskDmesonJets::OutputHandlerTHnSparse::operator= ( const OutputHandlerTHnSparse source)
void AliAnalysisTaskDmesonJets::OutputHandlerTHnSparse::SetEnabledAxis ( UInt_t  axis)

Member Data Documentation

UInt_t AliAnalysisTaskDmesonJets::OutputHandlerTHnSparse::fEnabledAxis

! Use bit defined in EAxis_t to enable axis in the THnSparse

Definition at line 565 of file AliAnalysisTaskDmesonJets.h.

Referenced by BuildOutputObject().

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