CbmRoot
CbmPsdModulesConverter Class Referencefinal

#include <CbmPsdModulesConverter.h>

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

Public Member Functions

 CbmPsdModulesConverter (std::string out_branch_name, std::string match_to="")
 
 ~CbmPsdModulesConverter () 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::ModuleDetector * psd_modules_ {nullptr}
 
TClonesArray * cbm_psd_hits_ {nullptr}
 

Detailed Description

Definition at line 9 of file CbmPsdModulesConverter.h.

Constructor & Destructor Documentation

◆ CbmPsdModulesConverter()

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

Definition at line 11 of file CbmPsdModulesConverter.h.

◆ ~CbmPsdModulesConverter()

CbmPsdModulesConverter::~CbmPsdModulesConverter ( )
final

Definition at line 66 of file CbmPsdModulesConverter.cxx.

References psd_modules_.

Member Function Documentation

◆ Exec()

void CbmPsdModulesConverter::Exec ( )
final

Definition at line 31 of file CbmPsdModulesConverter.cxx.

References cbm_psd_hits_, f, i, and psd_modules_.

◆ Finish()

void CbmPsdModulesConverter::Finish ( )
final

Definition at line 62 of file CbmPsdModulesConverter.cxx.

References cbm_psd_hits_, and psd_modules_.

◆ 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 CbmPsdModulesConverter::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_psd_hits_

TClonesArray* CbmPsdModulesConverter::cbm_psd_hits_ {nullptr}
private

Definition at line 26 of file CbmPsdModulesConverter.h.

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

◆ 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

◆ psd_modules_

AnalysisTree::ModuleDetector* CbmPsdModulesConverter::psd_modules_ {nullptr}
private

Definition at line 25 of file CbmPsdModulesConverter.h.

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


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