// $Id: DTrackWireBased.h 4927 2009-03-11 13:20:33Z staylor $ // // File: DTrackWireBased.h // Created: Sun Apr 3 12:28:45 EDT 2005 // Creator: davidl (on Darwin Harriet.local 7.8.0 powerpc) // #ifndef _DTrackWireBased_ #define _DTrackWireBased_ #include "JANA/JObject.h" #include "JANA/JFactory.h" #include "PID/DKinematicData.h" class DReferenceTrajectory; class DTrackWireBased:public DKinematicData{ public: JOBJECT_PUBLIC(DTrackWireBased); oid_t candidateid; ///< id of DTrackCandidate this came from float chisq; ///< Chi-squared for the track (not chisq/dof!) int Ndof; ///< Number of degrees of freedom in the fit vector > cov; vector > fcov; const DReferenceTrajectory *rt; ///< pointer to reference trjectory representing this track void toStrings(vector > &items)const{ DKinematicData::toStrings(items); AddString(items, "candidateid", "0x%x", candidateid); AddString(items, "chisq", "%f", chisq); AddString(items, "Ndof", "%d", Ndof); } }; #endif // _DTrackWireBased_