CbmRoot
Loading...
Searching...
No Matches
CbmAnaTreeMcSourceContainer Class Reference

#include <CbmAnaTreeContainer.h>

Inheritance diagram for CbmAnaTreeMcSourceContainer:
[legend]
Collaboration diagram for CbmAnaTreeMcSourceContainer:
[legend]

Public Member Functions

 CbmAnaTreeMcSourceContainer ()
 
void LoadFields (TString inFile)
 
Bool_t ConnectToTree (TChain *tree)
 
AnaTreeMcIdsGetFieldIds ()
 
AnalysisTree::EventHeader * GetEventHeader () const
 
AnalysisTree::Particles * GetParticles () const
 
virtual ~CbmAnaTreeMcSourceContainer ()
 

Private Attributes

AnalysisTree::EventHeader * fEvent = {nullptr}
 
AnalysisTree::Particles * fParticles = {nullptr}
 
AnaTreeMcIds fIds
 

Detailed Description

Definition at line 63 of file CbmAnaTreeContainer.h.

Constructor & Destructor Documentation

◆ CbmAnaTreeMcSourceContainer()

CbmAnaTreeMcSourceContainer::CbmAnaTreeMcSourceContainer ( )
inline

Definition at line 69 of file CbmAnaTreeContainer.h.

◆ ~CbmAnaTreeMcSourceContainer()

virtual CbmAnaTreeMcSourceContainer::~CbmAnaTreeMcSourceContainer ( )
inlinevirtual

Definition at line 75 of file CbmAnaTreeContainer.h.

References fEvent, and fParticles.

Member Function Documentation

◆ ConnectToTree()

Bool_t CbmAnaTreeMcSourceContainer::ConnectToTree ( TChain * tree)

Definition at line 54 of file CbmAnaTreeContainer.cxx.

References fEvent, and fParticles.

Referenced by HalCbmATIOManager::FillBranches(), and CbmAnaTreeSource::Init().

◆ GetEventHeader()

AnalysisTree::EventHeader * CbmAnaTreeMcSourceContainer::GetEventHeader ( ) const
inline

Definition at line 73 of file CbmAnaTreeContainer.h.

References fEvent.

Referenced by HalCbmMCEventInterface::GetVertex(), and HalCbmMCEvent::UpdateAnalysisTree().

◆ GetFieldIds()

AnaTreeMcIds & CbmAnaTreeMcSourceContainer::GetFieldIds ( )
inline

Definition at line 72 of file CbmAnaTreeContainer.h.

References fIds.

Referenced by LoadFields(), and HalCbmMCEvent::UpdateAnalysisTree().

◆ GetParticles()

AnalysisTree::Particles * CbmAnaTreeMcSourceContainer::GetParticles ( ) const
inline

◆ LoadFields()

Member Data Documentation

◆ fEvent

AnalysisTree::EventHeader* CbmAnaTreeMcSourceContainer::fEvent = {nullptr}
private

◆ fIds

AnaTreeMcIds CbmAnaTreeMcSourceContainer::fIds
private

Definition at line 66 of file CbmAnaTreeContainer.h.

Referenced by GetFieldIds().

◆ fParticles

AnalysisTree::Particles* CbmAnaTreeMcSourceContainer::fParticles = {nullptr}
private

Definition at line 65 of file CbmAnaTreeContainer.h.

Referenced by ConnectToTree(), GetParticles(), and ~CbmAnaTreeMcSourceContainer().


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