10 #define _DF1TDCConfig_
30 void toStrings(vector<pair<string,string> > &items)
const{
32 AddString(items,
"REFCNT" ,
"%d",
REFCNT);
33 AddString(items,
"TRIGWIN" ,
"%d",
TRIGWIN);
34 AddString(items,
"TRIGLAT" ,
"%d",
TRIGLAT);
35 AddString(items,
"HSDIV" ,
"%d",
HSDIV);
36 AddString(items,
"BINSIZE(ps)" ,
"%d",
BINSIZE);
37 AddString(items,
"REFCLKDIV" ,
"%d",
REFCLKDIV);
42 #endif // _DF1TDCConfig_
void toStrings(vector< pair< string, string > > &items) const
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.
DF1TDCConfig(uint32_t rocid, uint32_t slot_mask)
JOBJECT_PUBLIC(DF1TDCConfig)
DF1TDCConfig(const DF1TDCConfig *c)