AliPhysics  c7b8e89 (c7b8e89)
AliAnalysisTaskDmesonJets::OutputHandlerTTreeExtended< EVENTTYPE, DMESONTYPE, JETTYPE > Class Template Reference

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

#include <AliAnalysisTaskDmesonJets.h>

Inheritance diagram for AliAnalysisTaskDmesonJets::OutputHandlerTTreeExtended< EVENTTYPE, DMESONTYPE, JETTYPE >:

Public Member Functions

 OutputHandlerTTreeExtended ()
 Constructor. More...
 
 OutputHandlerTTreeExtended (AnalysisEngine *eng)
 Constructor. More...
 
virtual ~OutputHandlerTTreeExtended ()
 
virtual Bool_t FillOutput (Bool_t applyKinCuts)
 
virtual void BuildOutputObject (const char *taskName)
 
- Public Member Functions inherited from AliAnalysisTaskDmesonJets::OutputHandlerTTreeExtendedBase
 OutputHandlerTTreeExtendedBase ()
 Constructor. More...
 
 OutputHandlerTTreeExtendedBase (AnalysisEngine *eng)
 Constructor. More...
 
virtual ~OutputHandlerTTreeExtendedBase ()
 
virtual TObjectGetOutputObject () const
 
virtual Int_t GetDataSlotNumber () const
 
TTreeGetTree () const
 
void AssignDataSlot (Int_t n)
 
- Public Member Functions inherited from AliAnalysisTaskDmesonJets::OutputHandler
 OutputHandler ()
 Constructor. More...
 
 OutputHandler (AnalysisEngine *eng)
 Constructor. More...
 
virtual ~OutputHandler ()
 

Protected Attributes

EVENTTYPE fCurrentEventInfo
 ! Current event info More...
 
std::vector< DMESONTYPE > fCurrentDmesonInfo
 ! Current D meson jet info More...
 
std::map< std::string, std::vector< JETTYPE > > fCurrentJetInfo
 ! Current jet info More...
 
- Protected Attributes inherited from AliAnalysisTaskDmesonJets::OutputHandlerTTreeExtendedBase
Int_t fDataSlotNumber
 ! Data slot where the tree output is posted More...
 
TTreefTree
 ! Output tree More...
 
TString fEventClassName
 
TString fDMesonClassName
 
TString fJetClassName
 
- 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...
 
EventInfofEventInfo
 ! Object conatining the event information (centrality, pt hard, weight, etc.) More...
 
std::map< int, AliDmesonJetInfo > * fDmesonJets
 ! Array containing the D meson jets More...
 
THistManagerfHistManager
 ! Histograms More...
 
TString fName
 ! Name of this object More...
 

Private Member Functions

 OutputHandlerTTreeExtended (const OutputHandlerTTreeExtended &source)
 
OutputHandlerTTreeExtendedoperator= (const OutputHandlerTTreeExtended &source)
 

Additional Inherited Members

- Static Public Member Functions inherited from AliAnalysisTaskDmesonJets::OutputHandlerTTreeExtendedBase
static OutputHandlerTTreeExtendedBaseGenerateOutputHandler (AnalysisEngine *eng)
 

Detailed Description

template<class EVENTTYPE, class DMESONTYPE, class JETTYPE>
class AliAnalysisTaskDmesonJets::OutputHandlerTTreeExtended< EVENTTYPE, DMESONTYPE, JETTYPE >

Output handler for D meson jet analysis.

This class encapsulates the handler of the output of the analysis The output is stored in a TTree. Each entry of the tree corresponds to an event; the event information is stored in a branch with the event header; D mesons are stored in a branch of type std::vector; each jet definition is stored in a different branch of type std::vector. The std:vector branches of the D mesons and of each jet definition are kept in sync: in order to get the jets corresponding to each D meson one must look at the same position in the corresponding std::vector.

Definition at line 653 of file AliAnalysisTaskDmesonJets.h.

Constructor & Destructor Documentation

template<class EVENTTYPE , class DMESONTYPE , class JETTYPE >
AliAnalysisTaskDmesonJets::OutputHandlerTTreeExtended< EVENTTYPE, DMESONTYPE, JETTYPE >::OutputHandlerTTreeExtended ( )

Constructor.

Definition at line 1439 of file AliAnalysisTaskDmesonJets.cxx.

template<class EVENTTYPE , class DMESONTYPE , class JETTYPE >
AliAnalysisTaskDmesonJets::OutputHandlerTTreeExtended< EVENTTYPE, DMESONTYPE, JETTYPE >::OutputHandlerTTreeExtended ( AnalysisEngine eng)

Constructor.

Definition at line 1449 of file AliAnalysisTaskDmesonJets.cxx.

template<class EVENTTYPE , class DMESONTYPE , class JETTYPE >
virtual AliAnalysisTaskDmesonJets::OutputHandlerTTreeExtended< EVENTTYPE, DMESONTYPE, JETTYPE >::~OutputHandlerTTreeExtended ( )
inlinevirtual

Definition at line 658 of file AliAnalysisTaskDmesonJets.h.

template<class EVENTTYPE , class DMESONTYPE , class JETTYPE >
AliAnalysisTaskDmesonJets::OutputHandlerTTreeExtended< EVENTTYPE, DMESONTYPE, JETTYPE >::OutputHandlerTTreeExtended ( const OutputHandlerTTreeExtended< EVENTTYPE, DMESONTYPE, JETTYPE > &  source)
private

Member Function Documentation

template<class EVENTTYPE , class DMESONTYPE , class JETTYPE >
void AliAnalysisTaskDmesonJets::OutputHandlerTTreeExtended< EVENTTYPE, DMESONTYPE, JETTYPE >::BuildOutputObject ( const char *  taskName)
virtual

Builds the tree where the output will be posted

Returns
Pointer to the new tree

Reimplemented from AliAnalysisTaskDmesonJets::OutputHandler.

Definition at line 1461 of file AliAnalysisTaskDmesonJets.cxx.

template<class EVENTTYPE , class DMESONTYPE , class JETTYPE >
Bool_t AliAnalysisTaskDmesonJets::OutputHandlerTTreeExtended< EVENTTYPE, DMESONTYPE, JETTYPE >::FillOutput ( Bool_t  applyKinCuts)
virtual

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

Returns
kTRUE on success

<! set of the partons in the shower that produced each D meson

Reimplemented from AliAnalysisTaskDmesonJets::OutputHandler.

Definition at line 1478 of file AliAnalysisTaskDmesonJets.cxx.

template<class EVENTTYPE , class DMESONTYPE , class JETTYPE >
OutputHandlerTTreeExtended& AliAnalysisTaskDmesonJets::OutputHandlerTTreeExtended< EVENTTYPE, DMESONTYPE, JETTYPE >::operator= ( const OutputHandlerTTreeExtended< EVENTTYPE, DMESONTYPE, JETTYPE > &  source)
private

Member Data Documentation

template<class EVENTTYPE , class DMESONTYPE , class JETTYPE >
std::vector<DMESONTYPE> AliAnalysisTaskDmesonJets::OutputHandlerTTreeExtended< EVENTTYPE, DMESONTYPE, JETTYPE >::fCurrentDmesonInfo
protected
template<class EVENTTYPE , class DMESONTYPE , class JETTYPE >
EVENTTYPE AliAnalysisTaskDmesonJets::OutputHandlerTTreeExtended< EVENTTYPE, DMESONTYPE, JETTYPE >::fCurrentEventInfo
protected
template<class EVENTTYPE , class DMESONTYPE , class JETTYPE >
std::map<std::string, std::vector<JETTYPE> > AliAnalysisTaskDmesonJets::OutputHandlerTTreeExtended< EVENTTYPE, DMESONTYPE, JETTYPE >::fCurrentJetInfo
protected

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