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

#include <CbmTofHitsConverter.h>

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

Public Member Functions

 CbmTofHitsConverter (std::string out_branch_name, std::string match_to="")
 
 ~CbmTofHitsConverter () 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 Member Functions

const std::map< int, int > & GetMatchMap (const std::string &name) const
 

Static Private Member Functions

static void ExtrapolateStraightLine (FairTrackParam *params, float z)
 

Private Attributes

std::string mc_tracks_ {"SimParticles"}
 
TClonesArray * cbm_global_tracks_ {nullptr}
 
TClonesArray * cbm_tof_hits_ {nullptr}
 
TClonesArray * cbm_tof_match_ {nullptr}
 
CbmMCDataManagercbm_mc_manager_ {nullptr}
 
CbmMCDataArraycbm_mc_tracks_new_ {nullptr}
 
CbmMCDataArraycbm_tof_points_new_ {nullptr}
 
AnalysisTree::HitDetector * tof_hits_ {nullptr}
 
AnalysisTree::Matching * vtx_tracks_2_tof_ {nullptr}
 
AnalysisTree::Matching * tof_hits_2_mc_tracks_ {nullptr}
 
int i_mass2_ {AnalysisTree::UndefValueInt}
 
int i_qp_ {AnalysisTree::UndefValueInt}
 
int i_dx_ {AnalysisTree::UndefValueInt}
 
int i_t_ {AnalysisTree::UndefValueInt}
 
int i_l_ {AnalysisTree::UndefValueInt}
 

Detailed Description

Definition at line 22 of file CbmTofHitsConverter.h.

Member Typedef Documentation

◆ MapType

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

Definition at line 19 of file CbmConverterTask.h.

Constructor & Destructor Documentation

◆ CbmTofHitsConverter()

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

Definition at line 24 of file CbmTofHitsConverter.h.

◆ ~CbmTofHitsConverter()

CbmTofHitsConverter::~CbmTofHitsConverter ( )
final

Definition at line 171 of file CbmTofHitsConverter.cxx.

References tof_hits_, and vtx_tracks_2_tof_.

Member Function Documentation

◆ Exec()

void CbmConverterTask::Exec ( )
inlinefinalinherited

Definition at line 33 of file CbmConverterTask.h.

◆ ExtrapolateStraightLine()

void CbmTofHitsConverter::ExtrapolateStraightLine ( FairTrackParam * params,
float z )
staticprivate

Definition at line 61 of file CbmTofHitsConverter.cxx.

References x, and y.

Referenced by ProcessData().

◆ Finish()

void CbmTofHitsConverter::Finish ( )
inlinefinal

Definition at line 33 of file CbmTofHitsConverter.h.

◆ GetMatchMap()

const std::map< int, int > & CbmTofHitsConverter::GetMatchMap ( const std::string & name) const
inlineprivate

Definition at line 38 of file CbmTofHitsConverter.h.

References CbmConverterTask::indexes_map_.

Referenced by ProcessData().

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

TClonesArray* CbmTofHitsConverter::cbm_global_tracks_ {nullptr}
private

Definition at line 46 of file CbmTofHitsConverter.h.

Referenced by Init(), and ProcessData().

◆ cbm_mc_manager_

CbmMCDataManager* CbmTofHitsConverter::cbm_mc_manager_ {nullptr}
private

Definition at line 51 of file CbmTofHitsConverter.h.

Referenced by Init().

◆ cbm_mc_tracks_new_

CbmMCDataArray* CbmTofHitsConverter::cbm_mc_tracks_new_ {nullptr}
private

Definition at line 52 of file CbmTofHitsConverter.h.

Referenced by Init().

◆ cbm_tof_hits_

TClonesArray* CbmTofHitsConverter::cbm_tof_hits_ {nullptr}
private

Definition at line 47 of file CbmTofHitsConverter.h.

Referenced by Init(), and ProcessData().

◆ cbm_tof_match_

TClonesArray* CbmTofHitsConverter::cbm_tof_match_ {nullptr}
private

Definition at line 49 of file CbmTofHitsConverter.h.

Referenced by Init(), and ProcessData().

◆ cbm_tof_points_new_

CbmMCDataArray* CbmTofHitsConverter::cbm_tof_points_new_ {nullptr}
private

Definition at line 53 of file CbmTofHitsConverter.h.

Referenced by Init(), and ProcessData().

◆ i_dx_

int CbmTofHitsConverter::i_dx_ {AnalysisTree::UndefValueInt}
private

Definition at line 61 of file CbmTofHitsConverter.h.

Referenced by Init(), and ProcessData().

◆ i_l_

int CbmTofHitsConverter::i_l_ {AnalysisTree::UndefValueInt}
private

Definition at line 63 of file CbmTofHitsConverter.h.

Referenced by Init(), and ProcessData().

◆ i_mass2_

int CbmTofHitsConverter::i_mass2_ {AnalysisTree::UndefValueInt}
private

Definition at line 59 of file CbmTofHitsConverter.h.

Referenced by Init(), and ProcessData().

◆ i_qp_

int CbmTofHitsConverter::i_qp_ {AnalysisTree::UndefValueInt}
private

Definition at line 60 of file CbmTofHitsConverter.h.

Referenced by Init(), and ProcessData().

◆ i_t_

int CbmTofHitsConverter::i_t_ {AnalysisTree::UndefValueInt}
private

Definition at line 62 of file CbmTofHitsConverter.h.

Referenced by Init(), and ProcessData().

◆ indexes_map_

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

◆ match_to_

◆ mc_tracks_

std::string CbmTofHitsConverter::mc_tracks_ {"SimParticles"}
private

Definition at line 44 of file CbmTofHitsConverter.h.

Referenced by Init(), and ProcessData().

◆ out_branch_

◆ out_indexes_map_

MapType CbmConverterTask::out_indexes_map_ {}
protectedinherited

◆ tof_hits_

AnalysisTree::HitDetector* CbmTofHitsConverter::tof_hits_ {nullptr}
private

Definition at line 55 of file CbmTofHitsConverter.h.

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

◆ tof_hits_2_mc_tracks_

AnalysisTree::Matching* CbmTofHitsConverter::tof_hits_2_mc_tracks_ {nullptr}
private

Definition at line 57 of file CbmTofHitsConverter.h.

Referenced by Init(), and ProcessData().

◆ vtx_tracks_2_tof_

AnalysisTree::Matching* CbmTofHitsConverter::vtx_tracks_2_tof_ {nullptr}
private

Definition at line 56 of file CbmTofHitsConverter.h.

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


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