CbmRoot
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 (std::map< std::string, void * > &) final
 
void Exec () final
 
void Finish () final
 
const std::map< int, int > & GetOutIndexesMap () const
 
void SetIndexesMap (std::map< std::string, std::map< int, int >> *indexes_map)
 

Protected Attributes

std::map< int, int > out_indexes_map_ {}
 
std::map< std::string, std::map< int, int > > * indexes_map_ {}
 
std::string match_to_ {}
 AT branch to match. More...
 

Private Member Functions

void FillTofHits ()
 

Static Private Member Functions

static void ExtrapolateStraightLine (FairTrackParam *params, float z)
 

Private Attributes

TClonesArray * cbm_global_tracks_ {nullptr}
 
TClonesArray * cbm_tof_hits_ {nullptr}
 
AnalysisTree::HitDetector * tof_hits_ {nullptr}
 
AnalysisTree::Matching * vtx_tracks_2_tof_ {nullptr}
 

Detailed Description

Definition at line 15 of file CbmTofHitsConverter.h.

Constructor & Destructor Documentation

◆ CbmTofHitsConverter()

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

Definition at line 17 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 CbmTofHitsConverter::Exec ( )
final

Definition at line 169 of file CbmTofHitsConverter.cxx.

References FillTofHits().

◆ ExtrapolateStraightLine()

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

Definition at line 55 of file CbmTofHitsConverter.cxx.

References x, and y.

Referenced by FillTofHits().

◆ FillTofHits()

◆ Finish()

void CbmTofHitsConverter::Finish ( )
inlinefinal

Definition at line 28 of file CbmTofHitsConverter.h.

◆ GetOutIndexesMap()

const std::map<int, int>& CbmConverterTask::GetOutIndexesMap ( ) const
inlineinherited

Definition at line 21 of file CbmConverterTask.h.

References CbmConverterTask::out_indexes_map_.

◆ Init()

void CbmTofHitsConverter::Init ( std::map< std::string, void * > &  )
final

◆ SetIndexesMap()

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

Definition at line 25 of file CbmConverterTask.h.

References CbmConverterTask::indexes_map_.

Member Data Documentation

◆ cbm_global_tracks_

TClonesArray* CbmTofHitsConverter::cbm_global_tracks_ {nullptr}
private

Definition at line 34 of file CbmTofHitsConverter.h.

Referenced by ClassImp(), and FillTofHits().

◆ cbm_tof_hits_

TClonesArray* CbmTofHitsConverter::cbm_tof_hits_ {nullptr}
private

Definition at line 35 of file CbmTofHitsConverter.h.

Referenced by ClassImp(), and FillTofHits().

◆ indexes_map_

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

CbmRoot to AnalysisTree indexes map for branches from other tasks

Definition at line 34 of file CbmConverterTask.h.

Referenced by FillTofHits(), CbmStsTracksConverter::MapTracks(), and CbmConverterTask::SetIndexesMap().

◆ match_to_

std::string CbmConverterTask::match_to_ {}
protectedinherited

◆ out_indexes_map_

std::map<int, int> CbmConverterTask::out_indexes_map_ {}
protectedinherited

◆ tof_hits_

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

Definition at line 41 of file CbmTofHitsConverter.h.

Referenced by ClassImp(), FillTofHits(), and ~CbmTofHitsConverter().

◆ vtx_tracks_2_tof_

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

Definition at line 42 of file CbmTofHitsConverter.h.

Referenced by ClassImp(), FillTofHits(), and ~CbmTofHitsConverter().


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