Go to the documentation of this file.
37 map<litfloat, CbmLitTrackParam> zParamMap;
59 for (map<litfloat, CbmLitTrackParam>::iterator it2 = zParamMap.begin();
60 it2 != zParamMap.end();
73 if (zParamMap.find(hit->
GetZ())
75 std::cout <<
"-E- CbmLitNearestHitTofMerger::DoMerge: Z position "
76 << hit->
GetZ() <<
" not found in map. Something is wrong.\n";
80 fFilter->Update(&tpar, hit, chi);
98 tofTracks.push_back(tofTrack);
Data class for track parameters.
void SetTrack(const CbmLitTrack *track)
vector< CbmLitTofTrack * > TofTrackPtrVector
Hit-to-track merging in TOF detector using nearest hit approach.
Data class for track parameters.
TrackPropagatorPtr fLinePropagator
TrackPropagatorPtr fFieldPropagator
Interface for track update algorithm.
CbmLitNearestHitTofMerger()
Constructor.
friend F32vec4 min(const F32vec4 &a, const F32vec4 &b)
std::vector< CbmTofTrack * >::iterator TrackPtrIterator
std::vector< CbmTofTrack * > TrackPtrVector
Base data class for hits.
std::vector< CbmTofHit * >::iterator HitPtrIterator
Base data class for track.
void SetHit(const CbmLitHit *hit)
void SetDistance(litfloat distance)
const CbmLitTrackParam * GetParamLast() const
TrackPropagatorPtr fLinePropagator
virtual ~CbmLitNearestHitTofMerger()
Destructor.
virtual LitStatus DoMerge(HitPtrVector &hits, TrackPtrVector &tracks, TofTrackPtrVector &tofTracks)
Inherited from CbmLitHitToTrackMerger.
Base data class for track.
static vector< vector< QAHit > > hits
void SetTrackParam(const CbmLitTrackParam *par)
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
LitTrackQa GetQuality() const
Base data class for hits.
std::vector< CbmTofHit * > HitPtrVector