9 #ifndef _DTRACKLSFITTER_H_
10 #define _DTRACKLSFITTER_H_
12 #define DTRACKLSFITTER_UNDEFINED -2
13 #define DTRACKLSFITTER_FIT_NOT_ATTEMPTED -1
14 #define DTRACKLSFITTER_NOMINAL 0
15 #define DTRACKLSFITTER_EXCEPTION_THROWN 1
17 #include <JANA/JEventProcessor.h>
26 #include <CLHEP/Matrix/Matrix.h>
27 #include <CLHEP/Matrix/Vector.h>
41 jerror_t
brun(JEventLoop *eventLoop, int32_t runnumber);
42 jerror_t
evnt(JEventLoop *eventLoop, uint64_t eventnumber);
87 #endif // _DTRACKLSFITTER_H_
The DTrackFitter class is a base class for different charged track fitting algorithms. It does not actually fit the track itself, but provides the interface and some common support features most algorthims will need to implement.
fit_status_t FitTrack(void)
double ChiSq(fit_type_t fit_type, DReferenceTrajectory *rt, double *chisq_ptr=NULL, int *dof_ptr=NULL, vector< pull_t > *pulls_ptr=NULL)
jerror_t init(void)
Called once at program start.
jerror_t evnt(JEventLoop *eventLoop, uint64_t eventnumber)
Called every event.
DTrackLSFitter(JEventLoop *loop)
const DLorentzDeflections * lorentz_def
jerror_t brun(JEventLoop *eventLoop, int32_t runnumber)
Called everytime a new run number is detected.
class DFDCSegment_factory: definition for a JFactory that produces space points from pseudopoints...
void setFitterStartParams()
DFDCSegment_factory * segment_factory