1 #ifndef INCLUDE_MarlinTrkUtils
2 #define INCLUDE_MarlinTrkUtils 1
12 class TrackStateImpl ;
36 IMarlinTrack* marlinTrk,
42 double maxChi2Increment=DBL_MAX);
48 IMarlinTrack* marlinTrk,
54 double maxChi2Increment=DBL_MAX);
68 IMarlinTrack* marlinTrk,
int createFit(std::vector< EVENT::TrackerHit * > &hit_list, IMarlinTrack *marlinTrk, EVENT::TrackState *pre_fit, float bfield_z, bool fit_direction, double maxChi2Increment=DBL_MAX)
Takes a list of hits and uses the IMarlinTrack inferface to fit them using a supplied prefit containi...
int finaliseLCIOTrack(IMarlinTrack *marlinTrk, IMPL::TrackImpl *track, std::vector< EVENT::TrackerHit * > &hit_list, bool fit_direction, IMPL::TrackStateImpl *atLastHit=0, IMPL::TrackStateImpl *atCaloFace=0)
Takes a fitted MarlinTrack, TrackImpl to record the fit and the hits which have been added to the fit...
int createFinalisedLCIOTrack(IMarlinTrack *marlinTrk, std::vector< EVENT::TrackerHit * > &hit_list, IMPL::TrackImpl *track, bool fit_direction, EVENT::TrackState *pre_fit, float bfield_z, double maxChi2Increment=DBL_MAX)
Takes a list of hits and uses the IMarlinTrack inferface to fit them using a supplied prefit containi...
void addHitNumbersToTrack(IMPL::TrackImpl *track, std::vector< EVENT::TrackerHit * > &hit_list, bool hits_in_fit, UTIL::BitField64 &cellID_encoder)
Set the subdetector hit numbers for the TrackImpl.
int createPrefit(std::vector< EVENT::TrackerHit * > &hit_list, IMPL::TrackStateImpl *pre_fit, float bfield_z, bool fit_direction)
Provides the values of a track state from the first, middle and last hits in the hit_list.