CbmRoot
Loading...
Searching...
No Matches
CbmRecEventHeaderConverter Class Referencefinal

#include <CbmRecEventHeaderConverter.h>

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

Public Member Functions

 CbmRecEventHeaderConverter (std::string out_branch_name)
 
 ~CbmRecEventHeaderConverter () 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 Member Functions

float GetPsdEnergy (CbmEvent *event)
 

Private Attributes

AnalysisTree::EventHeader * rec_event_header_ {nullptr}
 
TClonesArray * cbm_psd_hits_ {nullptr}
 non-owning pointer
 
TClonesArray * cbm_sts_tracks_ {nullptr}
 non-owning pointer
 
FairMCEventHeader * cbm_header_ {nullptr}
 non-owning pointer
 
CbmVertexcbm_prim_vertex_ {nullptr}
 non-owning pointer
 
CbmTimeSlicefTimeSlice {nullptr}
 non-owning pointer
 
int ivtx_chi2_ {AnalysisTree::UndefValueInt}
 
int iEpsd_ {AnalysisTree::UndefValueInt}
 
int iM_ {AnalysisTree::UndefValueInt}
 
int iMCEvents_ {AnalysisTree::UndefValueInt}
 
int ievt_id_ {AnalysisTree::UndefValueInt}
 
int istart_time_ {AnalysisTree::UndefValueInt}
 
int iend_time_ {AnalysisTree::UndefValueInt}
 
int imatch_weight_ {AnalysisTree::UndefValueInt}
 
int iT0_ {AnalysisTree::UndefValueInt}
 
int iTStartTS_ {AnalysisTree::UndefValueInt}
 

Detailed Description

Definition at line 19 of file CbmRecEventHeaderConverter.h.

Member Typedef Documentation

◆ MapType

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

Definition at line 19 of file CbmConverterTask.h.

Constructor & Destructor Documentation

◆ CbmRecEventHeaderConverter()

CbmRecEventHeaderConverter::CbmRecEventHeaderConverter ( std::string out_branch_name)
inlineexplicit

Definition at line 21 of file CbmRecEventHeaderConverter.h.

◆ ~CbmRecEventHeaderConverter()

CbmRecEventHeaderConverter::~CbmRecEventHeaderConverter ( )
finaldefault

Member Function Documentation

◆ Exec()

void CbmConverterTask::Exec ( )
inlinefinalinherited

Definition at line 33 of file CbmConverterTask.h.

◆ Finish()

void CbmRecEventHeaderConverter::Finish ( )
inlinefinal

Definition at line 26 of file CbmRecEventHeaderConverter.h.

References rec_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_.

◆ GetPsdEnergy()

float CbmRecEventHeaderConverter::GetPsdEnergy ( CbmEvent * event)
private

Definition at line 112 of file CbmRecEventHeaderConverter.cxx.

References cbm_psd_hits_, and kPsdHit.

Referenced by ProcessData().

◆ 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* CbmRecEventHeaderConverter::cbm_header_ {nullptr}
private

non-owning pointer

Definition at line 35 of file CbmRecEventHeaderConverter.h.

Referenced by Init(), and ProcessData().

◆ cbm_prim_vertex_

CbmVertex* CbmRecEventHeaderConverter::cbm_prim_vertex_ {nullptr}
private

non-owning pointer

Definition at line 36 of file CbmRecEventHeaderConverter.h.

Referenced by ProcessData().

◆ cbm_psd_hits_

TClonesArray* CbmRecEventHeaderConverter::cbm_psd_hits_ {nullptr}
private

non-owning pointer

Definition at line 33 of file CbmRecEventHeaderConverter.h.

Referenced by GetPsdEnergy(), and Init().

◆ cbm_sts_tracks_

TClonesArray* CbmRecEventHeaderConverter::cbm_sts_tracks_ {nullptr}
private

non-owning pointer

Definition at line 34 of file CbmRecEventHeaderConverter.h.

Referenced by Init(), and ProcessData().

◆ fTimeSlice

CbmTimeSlice* CbmRecEventHeaderConverter::fTimeSlice {nullptr}
private

non-owning pointer

Definition at line 37 of file CbmRecEventHeaderConverter.h.

Referenced by Init(), and ProcessData().

◆ iend_time_

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

Definition at line 45 of file CbmRecEventHeaderConverter.h.

Referenced by Init(), and ProcessData().

◆ iEpsd_

int CbmRecEventHeaderConverter::iEpsd_ {AnalysisTree::UndefValueInt}
private

Definition at line 40 of file CbmRecEventHeaderConverter.h.

Referenced by Init(), and ProcessData().

◆ ievt_id_

int CbmRecEventHeaderConverter::ievt_id_ {AnalysisTree::UndefValueInt}
private

Definition at line 43 of file CbmRecEventHeaderConverter.h.

Referenced by Init(), and ProcessData().

◆ iM_

int CbmRecEventHeaderConverter::iM_ {AnalysisTree::UndefValueInt}
private

Definition at line 41 of file CbmRecEventHeaderConverter.h.

Referenced by Init(), and ProcessData().

◆ imatch_weight_

int CbmRecEventHeaderConverter::imatch_weight_ {AnalysisTree::UndefValueInt}
private

Definition at line 46 of file CbmRecEventHeaderConverter.h.

Referenced by Init(), and ProcessData().

◆ iMCEvents_

int CbmRecEventHeaderConverter::iMCEvents_ {AnalysisTree::UndefValueInt}
private

Definition at line 42 of file CbmRecEventHeaderConverter.h.

Referenced by Init(), and ProcessData().

◆ indexes_map_

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

◆ istart_time_

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

Definition at line 44 of file CbmRecEventHeaderConverter.h.

Referenced by Init(), and ProcessData().

◆ iT0_

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

Definition at line 47 of file CbmRecEventHeaderConverter.h.

Referenced by Init(), and ProcessData().

◆ iTStartTS_

int CbmRecEventHeaderConverter::iTStartTS_ {AnalysisTree::UndefValueInt}
private

Definition at line 48 of file CbmRecEventHeaderConverter.h.

Referenced by Init(), and ProcessData().

◆ ivtx_chi2_

int CbmRecEventHeaderConverter::ivtx_chi2_ {AnalysisTree::UndefValueInt}
private

Definition at line 39 of file CbmRecEventHeaderConverter.h.

Referenced by Init(), and ProcessData().

◆ match_to_

◆ out_branch_

◆ out_indexes_map_

MapType CbmConverterTask::out_indexes_map_ {}
protectedinherited

◆ rec_event_header_

AnalysisTree::EventHeader* CbmRecEventHeaderConverter::rec_event_header_ {nullptr}
private

Definition at line 31 of file CbmRecEventHeaderConverter.h.

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


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