CbmRoot
CbmSimTracksConverter Class Referencefinal

#include <CbmSimTracksConverter.h>

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

Public Member Functions

 CbmSimTracksConverter (std::string out_branch_name, std::string match_to="")
 
 ~CbmSimTracksConverter () final
 
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::Particles * sim_tracks_ {nullptr}
 
TClonesArray * cbm_mc_tracks_ {nullptr}
 

Detailed Description

Definition at line 10 of file CbmSimTracksConverter.h.

Constructor & Destructor Documentation

◆ CbmSimTracksConverter()

CbmSimTracksConverter::CbmSimTracksConverter ( std::string  out_branch_name,
std::string  match_to = "" 
)
inlineexplicit

Definition at line 12 of file CbmSimTracksConverter.h.

◆ ~CbmSimTracksConverter()

CbmSimTracksConverter::~CbmSimTracksConverter ( )
final

Definition at line 68 of file CbmSimTracksConverter.cxx.

References sim_tracks_.

Member Function Documentation

◆ Exec()

void CbmSimTracksConverter::Exec ( )
final

◆ Finish()

void CbmSimTracksConverter::Finish ( )
inlinefinal

Definition at line 22 of file CbmSimTracksConverter.h.

◆ 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 CbmSimTracksConverter::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_mc_tracks_

TClonesArray* CbmSimTracksConverter::cbm_mc_tracks_ {nullptr}
private

Definition at line 26 of file CbmSimTracksConverter.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_tracks_

AnalysisTree::Particles* CbmSimTracksConverter::sim_tracks_ {nullptr}
private

Definition at line 25 of file CbmSimTracksConverter.h.

Referenced by ClassImp(), Exec(), and ~CbmSimTracksConverter().


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