CbmRoot
Loading...
Searching...
No Matches
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 () 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::EventHeader * sim_event_header_ {nullptr}
 
FairMCEventHeader * cbm_header_ {nullptr}
 
CbmMCDataManagercbm_mc_manager_ {nullptr}
 
CbmMCDataObjectcbm_header_obj_ {nullptr}
 
CbmMCEventListcbm_mc_event_list_ {nullptr}
 
int ipsi_RP_ {AnalysisTree::UndefValueInt}
 
int ib_ {AnalysisTree::UndefValueInt}
 
int istart_time_ {AnalysisTree::UndefValueInt}
 
int iend_time_ {AnalysisTree::UndefValueInt}
 
int irun_id_ {AnalysisTree::UndefValueInt}
 
int ievent_id_ {AnalysisTree::UndefValueInt}
 
int iT0_ {AnalysisTree::UndefValueInt}
 

Detailed Description

Definition at line 19 of file CbmSimEventHeaderConverter.h.

Member Typedef Documentation

◆ MapType

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

Definition at line 19 of file CbmConverterTask.h.

Constructor & Destructor Documentation

◆ CbmSimEventHeaderConverter()

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

Definition at line 21 of file CbmSimEventHeaderConverter.h.

◆ ~CbmSimEventHeaderConverter()

CbmSimEventHeaderConverter::~CbmSimEventHeaderConverter ( )
finaldefault

Member Function Documentation

◆ Exec()

void CbmConverterTask::Exec ( )
inlinefinalinherited

Definition at line 33 of file CbmConverterTask.h.

◆ Finish()

void CbmSimEventHeaderConverter::Finish ( )
inlinefinal

Definition at line 26 of file CbmSimEventHeaderConverter.h.

References sim_event_header_.

◆ 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()

◆ ProcessData()

◆ 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_header_

FairMCEventHeader* CbmSimEventHeaderConverter::cbm_header_ {nullptr}
private

Definition at line 30 of file CbmSimEventHeaderConverter.h.

◆ cbm_header_obj_

CbmMCDataObject* CbmSimEventHeaderConverter::cbm_header_obj_ {nullptr}
private

Definition at line 32 of file CbmSimEventHeaderConverter.h.

Referenced by Init(), and ProcessData().

◆ cbm_mc_event_list_

CbmMCEventList* CbmSimEventHeaderConverter::cbm_mc_event_list_ {nullptr}
private

Definition at line 33 of file CbmSimEventHeaderConverter.h.

Referenced by Init(), and ProcessData().

◆ cbm_mc_manager_

CbmMCDataManager* CbmSimEventHeaderConverter::cbm_mc_manager_ {nullptr}
private

Definition at line 31 of file CbmSimEventHeaderConverter.h.

Referenced by Init().

◆ ib_

int CbmSimEventHeaderConverter::ib_ {AnalysisTree::UndefValueInt}
private

Definition at line 36 of file CbmSimEventHeaderConverter.h.

Referenced by Init(), and ProcessData().

◆ iend_time_

int CbmSimEventHeaderConverter::iend_time_ {AnalysisTree::UndefValueInt}
private

Definition at line 38 of file CbmSimEventHeaderConverter.h.

Referenced by Init(), and ProcessData().

◆ ievent_id_

int CbmSimEventHeaderConverter::ievent_id_ {AnalysisTree::UndefValueInt}
private

Definition at line 40 of file CbmSimEventHeaderConverter.h.

Referenced by Init(), and ProcessData().

◆ indexes_map_

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

◆ ipsi_RP_

int CbmSimEventHeaderConverter::ipsi_RP_ {AnalysisTree::UndefValueInt}
private

Definition at line 35 of file CbmSimEventHeaderConverter.h.

Referenced by Init(), and ProcessData().

◆ irun_id_

int CbmSimEventHeaderConverter::irun_id_ {AnalysisTree::UndefValueInt}
private

Definition at line 39 of file CbmSimEventHeaderConverter.h.

Referenced by Init(), and ProcessData().

◆ istart_time_

int CbmSimEventHeaderConverter::istart_time_ {AnalysisTree::UndefValueInt}
private

Definition at line 37 of file CbmSimEventHeaderConverter.h.

Referenced by Init(), and ProcessData().

◆ iT0_

int CbmSimEventHeaderConverter::iT0_ {AnalysisTree::UndefValueInt}
private

Definition at line 41 of file CbmSimEventHeaderConverter.h.

Referenced by Init(), and ProcessData().

◆ match_to_

◆ out_branch_

◆ out_indexes_map_

MapType CbmConverterTask::out_indexes_map_ {}
protectedinherited

◆ sim_event_header_

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

Definition at line 29 of file CbmSimEventHeaderConverter.h.

Referenced by Finish(), Init(), and ProcessData().


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