1 #ifndef _UTIL_TRACK__H_
2 #define _UTIL_TRACK__H_
21 std::vector<int>
FindMatchedRoads(
const TVector3 pos1,
const TLorentzVector mom1,
const TVector3 pos3,
const TLorentzVector mom3,
const double margin=0);
An SQ interface class to hold a list of SQHit objects.
An SQ interface class to hold a list of SQTrack objects.
An SQ interface class to hold one true or reconstructed track.
SQHitVector * FindDetectorHitsOfTrack(const SQHitVector *vec_in, const int id_trk, const std::string det_name)
Find track-associated hits whose detector name starts with 'det_name'.
std::vector< int > FindMatchedRoads(SRecTrack *trk, const double margin=0)
Find all roads that match to the given track within the hodo paddle width plus the given margin.
SQHitVector * FindHodoHitsOfTrack(const SQHitVector *vec_in, const int id_trk)
Find all hodoscope hits hits associated with the given track.
SQHitVector * FindHitsOfTrack(const SQHitVector *vec_in, const int id_trk)
Find all hits associated with the given track.
SQTrack * FindTrackByID(const SQTrackVector *vec, const int id_trk, const bool do_assert=false)
Find a track by track ID in the given track list.