5#ifndef ANALYSIS_TREE_TOFHITSCONVERTER_H
6#define ANALYSIS_TREE_TOFHITSCONVERTER_H
10#include "AnalysisTree/Detector.hpp"
38 const std::map<int, int>&
GetMatchMap(
const std::string& name)
const
41 if (it ==
indexes_map_->end()) {
throw std::runtime_error(name +
" is not found to match with TOF hits"); }
60 int i_qp_ {AnalysisTree::UndefValueInt};
61 int i_dx_ {AnalysisTree::UndefValueInt};
62 int i_t_ {AnalysisTree::UndefValueInt};
63 int i_l_ {AnalysisTree::UndefValueInt};
std::map< std::string, MapType > * indexes_map_
from other tasks
Class characterising one event by a collection of links (indices) to data objects,...
Access to a MC data branch for time-based analysis.
Task class creating and managing CbmMCDataArray objects.
TClonesArray * cbm_tof_hits_
AnalysisTree::Matching * vtx_tracks_2_tof_
CbmMCDataArray * cbm_mc_tracks_new_
AnalysisTree::Matching * tof_hits_2_mc_tracks_
AnalysisTree::HitDetector * tof_hits_
CbmMCDataArray * cbm_tof_points_new_
const std::map< int, int > & GetMatchMap(const std::string &name) const
CbmTofHitsConverter(std::string out_branch_name, std::string match_to="")
TClonesArray * cbm_tof_match_
TClonesArray * cbm_global_tracks_
~CbmTofHitsConverter() final
void ProcessData(CbmEvent *event) final
static void ExtrapolateStraightLine(FairTrackParam *params, float z)
CbmMCDataManager * cbm_mc_manager_