Definition at line 1609 of file smartfact.cc.
References FTM::DimStaticData::fDeadTime, FTM::DimStaticData::fDelayTimeMarker, FTM::DimStaticData::fDelayTrigger, FTM::DimStaticData::fMultiplicity, FTM::DimStaticData::fMultiplicityCalib, FTM::DimStaticData::fMultiplicityPhysics, FTM::DimStaticData::fPrescaling, FTM::DimStaticData::fThreshold, FTM::DimStaticData::fTriggerInterval, FTM::DimStaticData::fTriggerSeqLPext, FTM::DimStaticData::fTriggerSeqLPint, FTM::DimStaticData::fTriggerSeqPed, FTM::DimStaticData::fWindowCalib, FTM::DimStaticData::fWindowPhysics, EventImp::GetJavaDate(), EventImp::GetQoS(), FTM::DimStaticData::HasClockConditioner(), FTM::DimStaticData::HasExt1(), FTM::DimStaticData::HasExt2(), FTM::DimStaticData::HasLPext(), FTM::DimStaticData::HasLPint(), FTM::DimStaticData::HasPedestal(), FTM::DimStaticData::HasTrigger(), FTM::DimStaticData::HasVeto(), i, if(), HTML::kWhite, HTML::kYellow, StateMachineSmartFACT::Statistics::max, StateMachineSmartFACT::Statistics::med, StateMachineSmartFACT::Statistics::min, and EventImp::Ref().
Referenced by StateMachineSmartFACT().
1623 WriteCam(d,
"cam-ftmcontrol-thresholds-patch", vecp, 1000);
1624 WriteCam(d,
"cam-ftmcontrol-thresholds-board", vecb, 100);
1626 const Statistics statp(vecp);
1627 const Statistics statb(vecb);
1637 ofstream(
fPath+
"/thresholds-board.data") << out.str();
1644 ofstream(
fPath+
"/thresholds-patch.data") << out.str();
1650 ofstream(
fPath+
"/thresholds.data") << out.str();
1672 out << HTML::kWhite <<
'\t' << (dat.
HasTrigger()?
"on":
"off") <<
" / " << (dat.
HasExt1()?
"on":
"off") <<
" / " << (dat.
HasExt2()?
"on":
"off") <<
'\n';
1673 out << HTML::kWhite <<
'\t' << (dat.
HasVeto()?
"on":
"off") <<
" / " << (dat.
HasClockConditioner()?
"time cal":
"marker") <<
'\n';
1677 out << HTML::kWhite <<
'\t' << dat.
fDeadTime <<
'\n';
1680 for (
int i=1;
i<40;
i++)
1687 out << HTML::kWhite <<
'\t' << 0.5*vp <<
"\n";
1689 ofstream(
fPath+
"/ftm.data") << out.str();
int GetCurrentState() const
return the current state of the machine
static const string kYellow
bool CheckDataSize(const EventImp &d, const char *name, size_t size, bool min=false)
uint16_t fMultiplicityPhysics
Intensity of LEDs (0-127)
uint16_t fDelayTimeMarker
float fFtmBoardThresholdMed
uint16_t fMultiplicity[40]
static const string kWhite
virtual int GetQoS() const
uint64_t GetJavaDate() const
uint16_t fTriggerInterval
uint16_t fMultiplicityCalib
bool HasClockConditioner() const
uint16_t fTriggerSeqLPint
uint16_t fTriggerSeqLPext
float fFtmPatchThresholdMed
const T & Ref(size_t offset=0) const
void WriteCam(const EventImp &d, const string &fname, const T &t, double scale, double offset=0)