8 #ifndef _DTrackTimeBased_factory_
9 #define _DTrackTimeBased_factory_
15 #include <JANA/JFactory.h>
40 jerror_t brun(jana::JEventLoop *loop, int32_t runnumber);
41 jerror_t evnt(jana::JEventLoop *loop, uint64_t eventnumber);
64 void FilterDuplicates(
void);
65 double GetTruthMatchingFOM(
int trackIndex,
DTrackTimeBased *dtrack,vector<const DMCThrown*>mcthrowns);
66 int GetThrownIndex(vector<const DMCThrown*>& locMCThrowns,
const DKinematicData *kd,
double &
f);
69 vector<const DSCHit*>&sc_hits,
70 vector<const DTOFPoint*>&tof_points,
71 vector<const DBCALShower*>&bcal_showers,
72 vector<const DFCALShower*>&fcal_showers,
73 vector<DTrackTimeBased::DStartTime_t>&start_times);
75 vector<DTrackTimeBased::DStartTime_t>&start_times,
76 JEventLoop *loop,
double mass);
78 void AddMissingTrackHypothesis(vector<DTrackTimeBased*>&tracks_to_add,
80 double my_mass,
double q,
82 bool InsertMissingHypotheses(JEventLoop *loop);
83 void CorrectForELoss(
DVector3 &position,
DVector3 &momentum,
double q,
double my_mass);
84 void AddMissingTrackHypotheses(
unsigned int mass_bits,
85 vector<DTrackTimeBased*>&tracks_to_add,
86 vector<DTrackTimeBased *>&hypotheses,
87 double q,
bool flipped_charge,JEventLoop *loop);
113 #endif // _DTrackTimeBased_factory_
DetectorSystem_t mStartDetector
const DParticleID * pid_algorithm
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.
The DTrackHitSelector class is a base class for algorithms that will select hits from the drift chamb...
bool INSERT_MISSING_HYPOTHESES
bool USE_HITS_FROM_WIREBASED_FIT
vector< int > mass_hypotheses_negative
vector< DVector3 > sc_pos
vector< int > mass_hypotheses_positive
vector< DVector3 > sc_norm