// $Id: DTrack.h 3646 2008-04-24 19:44:31Z davidl $ // // File: DTrack.h // Created: Sun Apr 3 12:28:45 EDT 2005 // Creator: davidl (on Darwin Harriet.local 7.8.0 powerpc) // #ifndef _DTrack_ #define _DTrack_ #include "JANA/JObject.h" #include "JANA/JFactory.h" #include "PID/DKinematicData.h" class DReferenceTrajectory; class DTrack:public DKinematicData{ public: JOBJECT_PUBLIC(DTrack); float q; ///< electric charge float p; ///< Total momentum in GeV/c float theta,phi; ///< Inital theta and phi angles in radians float x,y,z; ///< Vertex position in cm oid_t candidateid; ///< id of DTrackCandidate this came from float chisq; ///< reduced Chi-squared for the track float dE; ///< Total energy deposited in straws float ds; ///< Total pathlength through straws contributing to dE float err_dE; ///< Error on value of dE float err_ds; ///< Error on value of ds const DReferenceTrajectory *rt; ///< pointer to reference trjectory representing this track }; #endif // _DTrack_