8 #include <JANA/JObject.h>
9 #include <JANA/JFactory.h>
21 inline void setTime(
double time ) { t = time;}
22 inline void setTOT(
double timeOverThreshold ) { tot = timeOverThreshold;}
25 void toStrings(vector<pair<string, string> >&items)
const {
26 AddString(items,
"t",
"%1.3f", t);
27 AddString(items,
"tot",
"%1.3f", tot);
28 AddString(items,
"ch",
"%d", ch);
void setTOT(double timeOverThreshold)
void toStrings(vector< pair< string, string > > &items) const
void setTime(double time)
void setChannel(int channel)