4 #include <JANA/JObject.h>
5 #include <JANA/JFactory.h>
50 void toStrings(vector<pair<string,string> > &items)
const{
51 AddString(items,
"timestamp",
"%ld",
timestamp );
52 AddString(items,
"event_type",
"%d",
event_type );
53 AddString(items,
"trig_mask",
"0x%08x",
trig_mask );
54 AddString(items,
"fp_trig_mask",
"0x%08x",
fp_trig_mask );
56 AddString(items,
"nsync" ,
"%d" ,
nsync);
57 AddString(items,
"trig_number" ,
"%d" ,
trig_number);
58 AddString(items,
"live" ,
"%d" ,
live);
59 AddString(items,
"busy" ,
"%d" ,
busy);
60 AddString(items,
"live_inst" ,
"%d" ,
live_inst);
61 AddString(items,
"unix_time" ,
"%d" ,
unix_time);
63 AddString(items,
"gtp_sc" ,
"%d" ,
gtp_sc.size());
64 AddString(items,
"fp_sc" ,
"%d" ,
fp_sc.size());
65 AddString(items,
"gtp_rate" ,
"%d" ,
gtp_rate.size());
66 AddString(items,
"fp_rate" ,
"%d" ,
fp_rate.size());
72 #endif // _DL1Trigger_
vector< uint32_t > gtp_rate
vector< uint32_t > fp_rate
vector< gtp_par > gtp_conf
void toStrings(vector< pair< string, string > > &items) const
vector< uint32_t > gtp_sc
JOBJECT_PUBLIC(DL1Trigger)