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();
69 if (zParamMap.find(hit->
GetZ())
71 std::cout <<
"-E- CbmLitAllHitsTofMerger::DoMerge: Z position "
72 << hit->
GetZ() <<
" not found in map. Something is wrong.\n";
76 fFilter->Update(&tpar, hit, chi);
86 tofTracks.push_back(tofTrack);
Data class for track parameters.
void SetTrack(const CbmLitTrack *track)
TrackPropagatorPtr fFieldPropagator
vector< CbmLitTofTrack * > TofTrackPtrVector
Data class for track parameters.
TrackPropagatorPtr fLinePropagator
TrackPropagatorPtr fLinePropagator
virtual LitStatus DoMerge(HitPtrVector &hits, TrackPtrVector &tracks, TofTrackPtrVector &tofTracks)
Inherited from CbmLitHitToTrackMerger.
Interface for track update algorithm.
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
Hit-to-track merging in TOF detector attaching all hits in the validation region.
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.
CbmLitAllHitsTofMerger()
Constructor.
virtual ~CbmLitAllHitsTofMerger()
Destructor.
std::vector< CbmTofHit * > HitPtrVector