// $Id$ // // File: DTOFPoint.h // Created: Tue Oct 18 09:50:52 EST 2005 // Creator: remitche (on Linux mantrid00 2.4.20-18.8smp i686) // #ifndef _DTOFPoint_ #define _DTOFPoint_ #include #include #include using namespace jana; class DTOFPoint:public JObject{ public: JOBJECT_PUBLIC(DTOFPoint); DVector3 pos; //reconstructed position float t; //reconstructed time float dE; //reconstructed deposited energy float tErr; //uncertainty on reconstructed time void toStrings(vector > &items)const{ AddString(items, "x", "%1.3f", pos.x()); AddString(items, "y", "%1.3f", pos.y()); AddString(items, "z", "%1.3f", pos.z()); AddString(items, "t", "%1.3f", t); AddString(items, "dE", "%1.6f", dE); } }; #endif // _DTOFPoint_