CbmRoot
Loading...
Searching...
No Matches
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 () final
 
void ProcessData (CbmEvent *event) final
 
void Finish () final
 
void Exec () final
 
const MapTypeGetOutIndexesMap () const
 
void SetIndexesMap (std::map< std::string, MapType > *indexes_map)
 
const std::string & GetOutputBranchName () const
 

Protected Attributes

MapType out_indexes_map_ {}
 CbmRoot to AnalysisTree indexes map for output branch.
 
std::string out_branch_ {}
 
std::map< std::string, MapType > * indexes_map_ {}
 from other tasks
 
std::string match_to_ {}
 AT branch to match.
 

Private Types

using MapType = std::map<int, int>
 

Private Attributes

AnalysisTree::ModuleDetector * psd_modules_ {nullptr}
 
TClonesArray * cbm_psd_hits_ {nullptr}
 

Detailed Description

Definition at line 14 of file CbmPsdModulesConverter.h.

Member Typedef Documentation

◆ MapType

using CbmConverterTask::MapType = std::map<int, int>
privateinherited

Definition at line 19 of file CbmConverterTask.h.

Constructor & Destructor Documentation

◆ CbmPsdModulesConverter()

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

Definition at line 16 of file CbmPsdModulesConverter.h.

◆ ~CbmPsdModulesConverter()

CbmPsdModulesConverter::~CbmPsdModulesConverter ( )
final

Definition at line 69 of file CbmPsdModulesConverter.cxx.

References psd_modules_.

Member Function Documentation

◆ Exec()

void CbmConverterTask::Exec ( )
inlinefinalinherited

Definition at line 33 of file CbmConverterTask.h.

◆ Finish()

void CbmPsdModulesConverter::Finish ( )
final

Definition at line 67 of file CbmPsdModulesConverter.cxx.

◆ GetOutIndexesMap()

const MapType & CbmConverterTask::GetOutIndexesMap ( ) const
inlineinherited

Definition at line 35 of file CbmConverterTask.h.

References CbmConverterTask::out_indexes_map_.

◆ GetOutputBranchName()

const std::string & CbmConverterTask::GetOutputBranchName ( ) const
inlineinherited

Definition at line 39 of file CbmConverterTask.h.

References CbmConverterTask::out_branch_.

◆ Init()

void CbmPsdModulesConverter::Init ( )
final

◆ ProcessData()

void CbmPsdModulesConverter::ProcessData ( CbmEvent * event)
finalvirtual

◆ SetIndexesMap()

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

Definition at line 37 of file CbmConverterTask.h.

References CbmConverterTask::indexes_map_.

Member Data Documentation

◆ cbm_psd_hits_

TClonesArray* CbmPsdModulesConverter::cbm_psd_hits_ {nullptr}
private

Definition at line 27 of file CbmPsdModulesConverter.h.

Referenced by Init(), and ProcessData().

◆ indexes_map_

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

◆ match_to_

◆ out_branch_

◆ out_indexes_map_

MapType CbmConverterTask::out_indexes_map_ {}
protectedinherited

◆ psd_modules_

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

Definition at line 26 of file CbmPsdModulesConverter.h.

Referenced by Init(), ProcessData(), and ~CbmPsdModulesConverter().


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