CbmRoot
CbmSimEventHeaderConverter Class Referencefinal

#include <CbmSimEventHeaderConverter.h>

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

Public Member Functions

 CbmSimEventHeaderConverter (std::string out_branch_name)
 
 ~CbmSimEventHeaderConverter () final=default
 
void Init (std::map< std::string, void * > &) final
 
void Exec () final
 
void Finish () final
 
const std::map< int, int > & GetOutIndexesMap () const
 
void SetIndexesMap (std::map< std::string, std::map< int, int >> *indexes_map)
 

Protected Attributes

std::map< int, int > out_indexes_map_ {}
 
std::map< std::string, std::map< int, int > > * indexes_map_ {}
 
std::string match_to_ {}
 AT branch to match. More...
 

Private Attributes

AnalysisTree::EventHeader * sim_event_header_ {nullptr}
 
FairMCEventHeader * cbm_header_ {nullptr}
 

Detailed Description

Definition at line 11 of file CbmSimEventHeaderConverter.h.

Constructor & Destructor Documentation

◆ CbmSimEventHeaderConverter()

CbmSimEventHeaderConverter::CbmSimEventHeaderConverter ( std::string  out_branch_name)
inlineexplicit

Definition at line 13 of file CbmSimEventHeaderConverter.h.

◆ ~CbmSimEventHeaderConverter()

CbmSimEventHeaderConverter::~CbmSimEventHeaderConverter ( )
finaldefault

Member Function Documentation

◆ Exec()

void CbmSimEventHeaderConverter::Exec ( )
final

Definition at line 30 of file CbmSimEventHeaderConverter.cxx.

References cbm_header_, pos, and sim_event_header_.

◆ Finish()

void CbmSimEventHeaderConverter::Finish ( )
inlinefinal

Definition at line 21 of file CbmSimEventHeaderConverter.h.

References sim_event_header_.

◆ GetOutIndexesMap()

const std::map<int, int>& CbmConverterTask::GetOutIndexesMap ( ) const
inlineinherited

Definition at line 21 of file CbmConverterTask.h.

References CbmConverterTask::out_indexes_map_.

◆ Init()

void CbmSimEventHeaderConverter::Init ( std::map< std::string, void * > &  )
final

◆ SetIndexesMap()

void CbmConverterTask::SetIndexesMap ( std::map< std::string, std::map< int, int >> *  indexes_map)
inlineinherited

Definition at line 25 of file CbmConverterTask.h.

References CbmConverterTask::indexes_map_.

Member Data Documentation

◆ cbm_header_

FairMCEventHeader* CbmSimEventHeaderConverter::cbm_header_ {nullptr}
private

Definition at line 25 of file CbmSimEventHeaderConverter.h.

Referenced by ClassImp(), and Exec().

◆ indexes_map_

std::map<std::string, std::map<int, int> >* CbmConverterTask::indexes_map_ {}
protectedinherited

CbmRoot to AnalysisTree indexes map for branches from other tasks

Definition at line 34 of file CbmConverterTask.h.

Referenced by CbmTofHitsConverter::FillTofHits(), CbmStsTracksConverter::MapTracks(), and CbmConverterTask::SetIndexesMap().

◆ match_to_

std::string CbmConverterTask::match_to_ {}
protectedinherited

◆ out_indexes_map_

std::map<int, int> CbmConverterTask::out_indexes_map_ {}
protectedinherited

◆ sim_event_header_

AnalysisTree::EventHeader* CbmSimEventHeaderConverter::sim_event_header_ {nullptr}
private

Definition at line 24 of file CbmSimEventHeaderConverter.h.

Referenced by ClassImp(), Exec(), and Finish().


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