// $Id$ // // File: DRemoteScintillatorHit.h // Created: Fri Dec 2 16:58:45 EST 2011 // Creator: davidl (on Linux ifarm1102 2.6.18-128.7.1.el5 x86_64) // #ifndef _DRemoteScintillatorHit_ #define _DRemoteScintillatorHit_ #include #include class DRemoteScintillatorHit:public jana::JObject{ public: JOBJECT_PUBLIC(DRemoteScintillatorHit); double sum; double ped; // This method is used primarily for pretty printing // the second argument to AddString is printf style format void toStrings(vector > &items)const{ AddString(items, "sum", "%5.1f", sum); AddString(items, "ped", "%5.1f", ped); } }; #endif // _DRemoteScintillatorHit_