// $Id$ // // File: DSCHit.h // Created: Wed Feb 7 10:46:20 EST 2007 // Creator: davidl (on Linux megrez.jlab.org 2.6.9-42.0.2.ELsmp x86_64) // #ifndef _DSCHit_ #define _DSCHit_ #include #include class DSCHit:public jana::JObject{ public: JOBJECT_PUBLIC(DSCHit); float dE; // Energy loss in GeV float t; // TOF to start counter in ns int sector; // sector number 1-24 void toStrings(vector > &items)const{ AddString(items, "dE", "%3.3f", dE); AddString(items, "t", "%3.3f", t); AddString(items, "sector", "%d", sector); } }; #endif // _DSCHit_