1544 if (!
CheckDataSize(d,
"FtmControl:TriggerRates", 24+160+640+8))
1573 WriteHist(d,
"hist-ftmcontrol-triggerrate",
1575 WriteCam(d,
"cam-ftmcontrol-boardrates",
1576 vector<float>(brates, brates+40), 10);
1577 WriteCam(d,
"cam-ftmcontrol-patchrates",
1578 vector<float>(prates, prates+160), 10);
1581 out << setprecision(3);
1585 ofstream(
fPath+
"/trigger.data") << out.str();
1587 const Statistics bstat(vector<float>(brates, brates+ 40));
1588 const Statistics pstat(vector<float>(prates, prates+160));
1596 ofstream(
fPath+
"/boardrates.data") << out.str();
1604 ofstream(
fPath+
"/patchrates.data") << out.str();
int32_t fFtmControlTriggerRateTooLow
int GetCurrentState() const
return the current state of the machine
bool CheckDataSize(const EventImp &d, const char *name, size_t size, bool min=false)
void WriteHist(const EventImp &d, const string &fname, const T &t, double scale, double offset=0)
deque< float > fFtmControlTriggerRateHist
static const string kWhite
virtual int GetQoS() const
uint64_t GetJavaDate() const
const T & Ref(size_t offset=0) const
void WriteCam(const EventImp &d, const string &fname, const T &t, double scale, double offset=0)
Trigger output enabled, configuration ignored.