Go to the documentation of this file. 1 #ifndef ANALYSIS_TREE_STSTRACKSCONVERTER_H_
2 #define ANALYSIS_TREE_STSTRACKSCONVERTER_H_
6 #include "AnalysisTree/Detector.hpp"
28 std::string match_to =
"")
38 void Init(std::map<std::
string,
void*>&) final;
50 AnalysisTree::Track* track,
54 bool is_good_track)
const;
81 #endif // ANALYSIS_TREE_STSTRACKSCONVERTER_H_
void SetIsWriteKFInfo(bool is=true)
bool IsGoodCovMatrix(const CbmStsTrack *sts_track) const
~CbmStsTracksConverter() final
AnalysisTree::TrackDetector * vtx_tracks_
raw pointers are needed for TTree::Branch
float ExtrapolateToVertex(CbmStsTrack *sts_track, AnalysisTree::Track *track, int pdg)
TClonesArray * cbm_sts_match_
non-owning pointer
TClonesArray * cbm_mc_tracks_
non-owning pointer
bool is_reproduce_cbmkfpf_
void SetIsReproduceCbmKFPF(bool is=true)
CbmVertex * cbm_prim_vertex_
non-owning pointer
AnalysisTree::Matching * vtx_tracks_2_sim_
raw pointers are needed for TTree::Branch
void WriteKFInfo(AnalysisTree::Track *track, const CbmStsTrack *sts_track, bool is_good_track) const
CbmStsTracksConverter(std::string out_branch_name, std::string match_to="")
int GetMcPid(const CbmTrackMatchNew *match, AnalysisTree::Track *track) const
void Init(std::map< std::string, void * > &) final
TClonesArray * cbm_sts_tracks_
non-owning pointer