Definition at line 144 of file ftmctrl.cc.
References FTM::StaticData::Enable(), FTM::StaticData::fActiveFTU, fPrescaling, FTM::StaticData::GetSequenceLPext(), FTM::StaticData::GetSequenceLPint(), FTM::StaticData::GetSequencePed(), i, FTM::StaticData::IsEnabled(), FTM::StaticData::kLPext, FTM::StaticData::kLPint, and FTM::StaticData::kPedestal.
158 const uint16_t ref = data[0].fPrescaling;
159 for (
int i=1;
i<40;
i++)
164 data[
i].fPrescaling = ref;
169 for (
int i=0;
i<4;
i++)
179 Warn(
"GeneralSettings not consistent with trigger sequence.");
181 Warn(
"Prescaling not consistent for all boards.");
183 Warn(
"Not all FTUs are enabled - enable all FTUs.");
185 return !warn1 && !warn2 && !warn3;
uint8_t GetSequencePed() const
uint8_t GetSequenceLPint() const
uint8_t GetSequenceLPext() const
Enable trigger decision after light pulse (CalibrationTrigger, LP1)
Enable artificial trigger after light pulse (LP2)
Pedestal trigger (artifical)
void Enable(GeneralSettings type, bool enable)
bool IsEnabled(GeneralSettings type) const