// $Id$ // // File: D250WindowRawData.h // Created: Tue Nov 29 08:28:31 EST 2011 // Creator: davidl (on Linux ifarm1102 2.6.18-128.7.1.el5 x86_64) // #ifndef _D250WindowRawData_ #define _D250WindowRawData_ #include #include class D250WindowRawData:public jana::JObject{ public: JOBJECT_PUBLIC(D250WindowRawData); uint32_t chan; uint32_t window_width; vector samples; // This method is used primarily for pretty printing // the second argument to AddString is printf style format void toStrings(vector > &items)const{ AddString(items, "chan", "%d", chan); AddString(items, "window_width", "%d", window_width); AddString(items, "Nsamples", "%d", samples.size()); } }; #endif // _D250WindowRawData_