// $Id: DFCALPbWHit.h zihlmann $ // // File: DFCALPbWHit.h // Created: Mon Aug 11 10:28:11 EDT 2008 // Creator: zihlmann // #ifndef _DFCALPbWHit_ #define _DFCALPbWHit_ #include #include using namespace jana; class DFCALPbWHit:public JObject{ public: JOBJECT_PUBLIC(DFCALPbWHit); DFCALPbWHit(){} float x; float y; float E; float t; void toStrings(vector > &items)const{ AddString(items, "x(cm)", "%3.1f", x); AddString(items, "y(cm)", "%3.1f", y); AddString(items, "E(MeV)", "%2.3f", E*1000.0); AddString(items, "t(ns)", "%2.3f", t); } }; #endif // _DFCALPbWHit_