// $Id$ // // File: DMiniFCALHit.h // Created: Thu Dec 1 13:49:07 EST 2011 // Creator: davidl (on Linux ifarm1102 2.6.18-128.7.1.el5 x86_64) // #ifndef _DMiniFCALHit_ #define _DMiniFCALHit_ #include #include class DMiniFCALHit:public jana::JObject{ public: JOBJECT_PUBLIC(DMiniFCALHit); int row; int col; 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, "row", "%d", row); AddString(items, "col", "%d", col); AddString(items, "sum", "%5.1f", sum); AddString(items, "ped", "%5.1f", ped); } }; #endif // _DMiniFCALHit_