8 #ifndef _DTrackWireBased_factory_
9 #define _DTrackWireBased_factory_
11 #include <JANA/JFactory.h>
12 #include <JANA/JObject.h>
58 jerror_t
brun(jana::JEventLoop *loop, int32_t runnumber);
59 jerror_t
evnt(jana::JEventLoop *loop, uint64_t eventnumber);
78 double my_mass,
double q);
81 double q,
double mass);
83 vector<DTrackWireBased*>&tracks_to_add,
84 vector<DTrackWireBased *>&hypotheses,
107 #endif // _DTrackWireBased_factory_
void AddMissingTrackHypothesis(vector< DTrackWireBased * > &tracks_to_add, const DTrackWireBased *src_track, double my_mass, double q)
vector< int > mass_hypotheses_negative
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.
DTrackWireBased_factory()
const DParticleID * dPIDAlgorithm
bool SKIP_MASS_HYPOTHESES_WIRE_BASED
bool USE_HITS_FROM_CANDIDATE
vector< vector< DVector3 > > sc_dir
jerror_t brun(jana::JEventLoop *loop, int32_t runnumber)
Called everytime a new run number is detected.
jerror_t fini(void)
Called after last event of last event source has been processed.
void AddMissingTrackHypotheses(unsigned int mass_bits, vector< DTrackWireBased * > &tracks_to_add, vector< DTrackWireBased * > &hypotheses, double q)
jerror_t erun(void)
Called everytime run number changes, provided brun has been called.
jerror_t init(void)
Called once at program start.
void CorrectForELoss(DVector3 &position, DVector3 &momentum, double q, double mass)
The DTrackWireBased_factory class coordinates the fitting of wire-based tracks. While the hit selecti...
void FilterDuplicates(void)
~DTrackWireBased_factory()
vector< vector< DVector3 > > sc_pos
jerror_t evnt(jana::JEventLoop *loop, uint64_t eventnumber)
Called every event.
<A href="index.html#legend"> <IMG src="CORE.png" width="100"> </A>
DReferenceTrajectory * rt
void DoFit(unsigned int c_id, const DTrackCandidate *candidate, DReferenceTrajectory *rt, jana::JEventLoop *loop, double mass)
vector< vector< DVector3 > > sc_norm
size_t MAX_DReferenceTrajectoryPoolSize
vector< int > mass_hypotheses_positive
bool InsertMissingHypotheses(void)