8 #ifndef _DTrackWireBased_
9 #define _DTrackWireBased_
11 #include <JANA/JObject.h>
12 #include <JANA/JFactory.h>
23 vector<DTrackFitter::pull_t>
pulls;
29 DVector3 *mom=
nullptr,
double *t=
nullptr)
const;
38 void toStrings(vector<pair<string,string> > &items)
const{
41 AddString(items,
"chisq",
"%f",
chisq);
42 AddString(items,
"Ndof",
"%d",
Ndof);
62 pos.SetXYZ(0.,0.,-100.);
64 mom->SetXYZ(0.,0.,0.);
72 #endif // _DTrackWireBased_
map< DetectorSystem_t, vector< DTrackFitter::Extrapolation_t > > extrapolations
float chisq
Chi-squared for the track (not chisq/dof!)
vector< DTrackFitter::pull_t > pulls
Holds pulls used in chisq calc. (not including off-diagonals)
JOBJECT_PUBLIC(DTrackWireBased)
int Ndof
Number of degrees of freedom in the fit.
oid_t candidateid
which DTrackCandidate this came from
void toStrings(vector< pair< string, string > > &items) const
void toStrings(vector< pair< string, string > > &items) const
bool GetProjection(DetectorSystem_t detector, DVector3 &pos, DVector3 *mom=nullptr, double *t=nullptr) const