// $Id$ // $HeadURL$ // // File: Df250TriggerTime.h // Created: Tue Aug 7 15:24:10 EDT 2012 // Creator: davidl (on Darwin harriet.jlab.org 11.4.0 i386) // #ifndef _Df250TriggerTime_ #define _Df250TriggerTime_ #include class Df250TriggerTime:public DDAQAddress{ /// Holds trigger time data for one event in /// a single f250 Flash ADC module. public: JOBJECT_PUBLIC(Df250TriggerTime); Df250TriggerTime():DDAQAddress(0, 0, 0, 0),time(0){} Df250TriggerTime(uint32_t rocid, uint32_t slot, uint32_t itrigger, uint64_t time):DDAQAddress(rocid, slot, 0, itrigger),time(time){} uint64_t time; // from Trigger Time words // This method is used primarily for pretty printing // the second argument to AddString is printf style format void toStrings(vector > &items)const{ DDAQAddress::toStrings(items); AddString(items, "time", "%ld", time); } }; #endif // _Df250TriggerTime_