AliPhysics  d219d63 (d219d63)
AliAnalysisTaskDmesonJetsSub::OutputHandlerTTree Class Reference

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

#include <AliAnalysisTaskDmesonJetsSub.h>

Inheritance diagram for AliAnalysisTaskDmesonJetsSub::OutputHandlerTTree:

Public Member Functions

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

Protected Attributes

Int_t fDataSlotNumber
 ! Data slot where the tree output is posted More...
 
TTreefTree
 ! Output tree More...
 
AliDmesonInfoSummaryfCurrentDmesonJetInfo
 ! Current D meson jet info More...
 
AliJetInfoSummary ** fCurrentJetInfo
 ! Current jet info More...
 
- Protected Attributes inherited from AliAnalysisTaskDmesonJetsSub::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

 OutputHandlerTTree (const OutputHandlerTTree &source)
 
OutputHandlerTTreeoperator= (const OutputHandlerTTree &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 TTree. Each entry of the tree corresponds to a D meson and there are separate branches for each jet definition.

Definition at line 579 of file AliAnalysisTaskDmesonJetsSub.h.

Constructor & Destructor Documentation

AliAnalysisTaskDmesonJetsSub::OutputHandlerTTree::OutputHandlerTTree ( )

Constructor.

Definition at line 1151 of file AliAnalysisTaskDmesonJetsSub.cxx.

AliAnalysisTaskDmesonJetsSub::OutputHandlerTTree::OutputHandlerTTree ( AnalysisEngine eng)

Constructor.

Definition at line 1161 of file AliAnalysisTaskDmesonJetsSub.cxx.

virtual AliAnalysisTaskDmesonJetsSub::OutputHandlerTTree::~OutputHandlerTTree ( )
inlinevirtual

Definition at line 584 of file AliAnalysisTaskDmesonJetsSub.h.

AliAnalysisTaskDmesonJetsSub::OutputHandlerTTree::OutputHandlerTTree ( const OutputHandlerTTree source)
private

Member Function Documentation

void AliAnalysisTaskDmesonJetsSub::OutputHandlerTTree::AssignDataSlot ( Int_t  n)
inline
void AliAnalysisTaskDmesonJetsSub::OutputHandlerTTree::BuildOutputObject ( const char *  taskName)
virtual

Builds the tree where the output will be posted

Returns
Pointer to the new tree

Reimplemented from AliAnalysisTaskDmesonJetsSub::OutputHandler.

Definition at line 1173 of file AliAnalysisTaskDmesonJetsSub.cxx.

Referenced by AliAnalysisTaskDmesonJetsSub::UserCreateOutputObjects().

Bool_t AliAnalysisTaskDmesonJetsSub::OutputHandlerTTree::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 AliAnalysisTaskDmesonJetsSub::OutputHandler.

Definition at line 1218 of file AliAnalysisTaskDmesonJetsSub.cxx.

virtual Int_t AliAnalysisTaskDmesonJetsSub::OutputHandlerTTree::GetDataSlotNumber ( ) const
inlinevirtual

Reimplemented from AliAnalysisTaskDmesonJetsSub::OutputHandler.

Definition at line 590 of file AliAnalysisTaskDmesonJetsSub.h.

virtual TObject* AliAnalysisTaskDmesonJetsSub::OutputHandlerTTree::GetOutputObject ( ) const
inlinevirtual

Reimplemented from AliAnalysisTaskDmesonJetsSub::OutputHandler.

Definition at line 589 of file AliAnalysisTaskDmesonJetsSub.h.

TTree* AliAnalysisTaskDmesonJetsSub::OutputHandlerTTree::GetTree ( ) const
inline

Definition at line 592 of file AliAnalysisTaskDmesonJetsSub.h.

OutputHandlerTTree& AliAnalysisTaskDmesonJetsSub::OutputHandlerTTree::operator= ( const OutputHandlerTTree source)
private

Member Data Documentation

AliDmesonInfoSummary* AliAnalysisTaskDmesonJetsSub::OutputHandlerTTree::fCurrentDmesonJetInfo
protected

! Current D meson jet info

Definition at line 598 of file AliAnalysisTaskDmesonJetsSub.h.

Referenced by BuildOutputObject(), and FillOutput().

AliJetInfoSummary** AliAnalysisTaskDmesonJetsSub::OutputHandlerTTree::fCurrentJetInfo
protected

! Current jet info

Definition at line 599 of file AliAnalysisTaskDmesonJetsSub.h.

Referenced by BuildOutputObject(), and FillOutput().

Int_t AliAnalysisTaskDmesonJetsSub::OutputHandlerTTree::fDataSlotNumber
protected

! Data slot where the tree output is posted

Definition at line 596 of file AliAnalysisTaskDmesonJetsSub.h.

TTree* AliAnalysisTaskDmesonJetsSub::OutputHandlerTTree::fTree
protected

! Output tree

Definition at line 597 of file AliAnalysisTaskDmesonJetsSub.h.

Referenced by BuildOutputObject(), and FillOutput().


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