1 #ifndef TRACK_FITTER_KALMAN_H
2 #define TRACK_FITTER_KALMAN_H
5 #include <marlin/StringParameters.h>
6 #include <EVENT/LCRunHeader.h>
7 #include <EVENT/Track.h>
8 #include <IMPL/TrackImpl.h>
9 #include <EVENT/TrackerHit.h>
10 #include "TrackFitterBase.h"
11 #include "marlin/Processor.h"
14 #include <AIDA/AIDA.h>
15 #include <marlin/AIDAProcessor.h>
16 #include <AIDA/ITree.h>
17 #include <AIDA/ITupleFactory.h>
18 #include <AIDA/ITuple.h>
22 class EXTPCKalDetector;
83 unsigned int testHitNumber,
84 EVENT::Track
const *referenceTrack = NULL)
const;
93 EVENT::Track
const * trackWithoutTestHit)
const;
99 virtual IMPL::TrackImpl *
fitTrack(EVENT::Track
const * seedTrack)
const;
105 void toLCIOTrack(TKalTrack &kaltrack, IMPL::TrackImpl* trk)
const;
110 gear::TPCParameters
const * _TPCParameters;
113 gear::PadRowLayout2D
const * _padLayout;
116 static EXTPCKalDetector * _kaldetPtr;
128 static bool fgIsUpperHit;
129 static bool fgIsLowerHit;
130 static bool fgIsMidHit;
136 void SetTuplePtr(AIDA::ITuple * ptrTuple = 0)
138 _kalmantuple = ptrTuple;
142 AIDA::ITuple * _kalmantuple;
150 #endif // TRACK_FITTER_KALMAN_H
Kalman filter track fitter.
Definition: TrackFitterKalman.h:44
virtual EVENT::DoubleVec calculateResiduals(EVENT::Track const *testTrack, unsigned int testHitNumber, EVENT::Track const *referenceTrack=NULL) const
Return the distance of the hit testHitNumber of the testTrack to the point of closest approach on the...
Definition: TrackFitterBase.cc:33
virtual unsigned char getFitterType() const
Information what fitter implementation this is.
void toLCIOTrack(TKalTrack &kaltrack, IMPL::TrackImpl *trk) const
Fill the track state (incl.
The TrackFitterBase is a virtual class from which the actual track fitters are derived.
Definition: TrackFitterBase.h:44
static TrackFitterBase * getInstance(LCParameters const *parameters=0)
Well defined interface to create a new instance of the track fitter.
Definition: TrackFitterKalman.cc:816
virtual std::string getRevision() const
Get the revision of the actual fitter implementation.
virtual IMPL::TrackImpl * fitTrack(EVENT::Track const *seedTrack) const
Perform the actual fitting.