CbmRoot
|
#include <CbmRecEventHeaderConverter.h>
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 MapType & | GetOutIndexesMap () 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 | |
CbmVertex * | cbm_prim_vertex_ {nullptr} |
non-owning pointer | |
CbmTimeSlice * | fTimeSlice {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} |
Definition at line 19 of file CbmRecEventHeaderConverter.h.
|
privateinherited |
Definition at line 19 of file CbmConverterTask.h.
|
inlineexplicit |
Definition at line 21 of file CbmRecEventHeaderConverter.h.
|
finaldefault |
|
inlinefinalinherited |
Definition at line 33 of file CbmConverterTask.h.
|
inlinefinal |
Definition at line 26 of file CbmRecEventHeaderConverter.h.
References rec_event_header_.
|
inlineinherited |
Definition at line 35 of file CbmConverterTask.h.
References CbmConverterTask::out_indexes_map_.
|
inlineinherited |
Definition at line 39 of file CbmConverterTask.h.
References CbmConverterTask::out_branch_.
|
private |
Definition at line 112 of file CbmRecEventHeaderConverter.cxx.
References cbm_psd_hits_, and kPsdHit.
Referenced by ProcessData().
|
final |
Definition at line 22 of file CbmRecEventHeaderConverter.cxx.
References cbm_header_, cbm_psd_hits_, cbm_sts_tracks_, fTimeSlice, iend_time_, iEpsd_, ievt_id_, iM_, imatch_weight_, iMCEvents_, istart_time_, iT0_, iTStartTS_, ivtx_chi2_, CbmConverterTask::out_branch_, and rec_event_header_.
|
finalvirtual |
Implements CbmConverterTask.
Definition at line 61 of file CbmRecEventHeaderConverter.cxx.
References cbm_header_, cbm_prim_vertex_, cbm_sts_tracks_, fTimeSlice, CbmVertex::GetChi2(), CbmEvent::GetMatch(), CbmMatch::GetMatchedLink(), CbmVertex::GetNDF(), CbmMatch::GetNofLinks(), GetPsdEnergy(), CbmTimeSlice::GetStartTime(), CbmLink::GetWeight(), CbmVertex::GetX(), CbmVertex::GetY(), CbmVertex::GetZ(), iend_time_, iEpsd_, ievt_id_, iM_, imatch_weight_, iMCEvents_, istart_time_, iT0_, iTStartTS_, ivtx_chi2_, and rec_event_header_.
|
inlineinherited |
Definition at line 37 of file CbmConverterTask.h.
References CbmConverterTask::indexes_map_.
|
private |
non-owning pointer
Definition at line 35 of file CbmRecEventHeaderConverter.h.
Referenced by Init(), and ProcessData().
|
private |
non-owning pointer
Definition at line 36 of file CbmRecEventHeaderConverter.h.
Referenced by ProcessData().
|
private |
non-owning pointer
Definition at line 33 of file CbmRecEventHeaderConverter.h.
Referenced by GetPsdEnergy(), and Init().
|
private |
non-owning pointer
Definition at line 34 of file CbmRecEventHeaderConverter.h.
Referenced by Init(), and ProcessData().
|
private |
non-owning pointer
Definition at line 37 of file CbmRecEventHeaderConverter.h.
Referenced by Init(), and ProcessData().
|
private |
Definition at line 45 of file CbmRecEventHeaderConverter.h.
Referenced by Init(), and ProcessData().
|
private |
Definition at line 40 of file CbmRecEventHeaderConverter.h.
Referenced by Init(), and ProcessData().
|
private |
Definition at line 43 of file CbmRecEventHeaderConverter.h.
Referenced by Init(), and ProcessData().
|
private |
Definition at line 41 of file CbmRecEventHeaderConverter.h.
Referenced by Init(), and ProcessData().
|
private |
Definition at line 46 of file CbmRecEventHeaderConverter.h.
Referenced by Init(), and ProcessData().
|
private |
Definition at line 42 of file CbmRecEventHeaderConverter.h.
Referenced by Init(), and ProcessData().
|
protectedinherited |
from other tasks
CbmRoot to AnalysisTree indexes map for branches
Definition at line 45 of file CbmConverterTask.h.
Referenced by CbmFsdHitsConverter::GetMatchMap(), CbmTofHitsConverter::GetMatchMap(), CbmStsTracksConverter::MapTracks(), CbmRichRingsConverter::ProcessData(), CbmTrdTracksConverter::ProcessData(), and CbmConverterTask::SetIndexesMap().
|
private |
Definition at line 44 of file CbmRecEventHeaderConverter.h.
Referenced by Init(), and ProcessData().
|
private |
Definition at line 47 of file CbmRecEventHeaderConverter.h.
Referenced by Init(), and ProcessData().
|
private |
Definition at line 48 of file CbmRecEventHeaderConverter.h.
Referenced by Init(), and ProcessData().
|
private |
Definition at line 39 of file CbmRecEventHeaderConverter.h.
Referenced by Init(), and ProcessData().
|
protectedinherited |
AT branch to match.
Definition at line 47 of file CbmConverterTask.h.
Referenced by CbmConverterTask::CbmConverterTask(), CbmFsdHitsConverter::Init(), CbmRichRingsConverter::Init(), CbmStsTracksConverter::Init(), CbmTofHitsConverter::Init(), CbmTrdTracksConverter::Init(), CbmStsTracksConverter::MapTracks(), CbmFsdHitsConverter::ProcessData(), CbmRichRingsConverter::ProcessData(), CbmTofHitsConverter::ProcessData(), and CbmTrdTracksConverter::ProcessData().
|
protectedinherited |
Definition at line 44 of file CbmConverterTask.h.
Referenced by CbmConverterTask::CbmConverterTask(), CbmConverterTask::GetOutputBranchName(), CbmFsdHitsConverter::Init(), CbmFsdModulesConverter::Init(), CbmPsdModulesConverter::Init(), Init(), CbmRichRingsConverter::Init(), CbmSimEventHeaderConverter::Init(), CbmSimTracksConverter::Init(), CbmStsTracksConverter::Init(), CbmTofHitsConverter::Init(), CbmTrdTracksConverter::Init(), CbmFsdHitsConverter::ProcessData(), CbmFsdModulesConverter::ProcessData(), CbmPsdModulesConverter::ProcessData(), CbmRichRingsConverter::ProcessData(), CbmSimTracksConverter::ProcessData(), CbmTofHitsConverter::ProcessData(), CbmTrdTracksConverter::ProcessData(), and CbmStsTracksConverter::ReadVertexTracks().
|
protectedinherited |
CbmRoot to AnalysisTree indexes map for output branch.
Definition at line 43 of file CbmConverterTask.h.
Referenced by CbmConverterTask::GetOutIndexesMap(), CbmStsTracksConverter::MapTracks(), CbmSimTracksConverter::ProcessData(), CbmStsTracksConverter::ProcessData(), and CbmStsTracksConverter::ReadVertexTracks().
|
private |
Definition at line 31 of file CbmRecEventHeaderConverter.h.
Referenced by Finish(), Init(), and ProcessData().