// $Id$ // // File: DTAGHHit.h // Created: Sat Jul 5 07:49:15 EDT 2014 // Creator: jonesrt (on gluey.phys.uconn.edu) // #ifndef _DTAGHhit_ #define _DTAGHhit_ #include #include class DTAGHHit:public jana::JObject{ public: JOBJECT_PUBLIC(DTAGHHit); double E; double t; int counter_id; double time_fadc; double npe_fadc; void toStrings(vector > &items)const{ AddString(items, "counter_id", "%d", counter_id); AddString(items, "E(GeV)", "%f", E); AddString(items, "t(ns)", "%f", t); AddString(items, "time_fadc(ns)", "%f", E); AddString(items, "npe_fadc", "%f", t); } }; #endif // _DTAGHHit_