12 #include <JANA/JObject.h>
13 #include <JANA/JFactory.h>
36 void toStrings(vector<pair<string,string> > &items)
const{
37 AddString(items,
"rocid" ,
"%d",
rocid);
38 AddString(items,
"slot_mask" ,
"0x%06x",
slot_mask);
43 #endif // _DDAQConfig_
void toStrings(vector< pair< string, string > > &items) const
This class is a base class used for classes that hold DAQ module configuration parameters. A subclass for each type of digitization module exists that has the attributes appropriate for that type of module. (See Df250Config, DF1TDCConfig, ...) This class only holds the rocid and slot_mask fields which are common to all configurations. One of the main purposes of this base class is to allow configuration objects for all module types to be stored in a single container used internally by the DAQ plugin.
DDAQConfig(uint32_t rocid, uint32_t slot_mask)
JOBJECT_PUBLIC(DDAQConfig)