#include <PeriodicScaler.h>
Definition at line 73 of file PeriodicScaler.h.
◆ PeriodicScalerTake1st()
LVL1::PeriodicScalerTake1st::PeriodicScalerTake1st |
( |
| ) |
|
◆ ~PeriodicScalerTake1st()
virtual LVL1::PeriodicScalerTake1st::~PeriodicScalerTake1st |
( |
| ) |
|
|
inlinevirtual |
◆ decision()
bool LVL1::PeriodicScalerTake1st::decision |
( |
float |
factor | ) |
|
|
overridevirtual |
make decision based on given factor (but always take first event)
- Parameters
-
factor | take every [factor] event |
- Returns
- true if event is taken
Reimplemented from LVL1::PeriodicScaler.
Definition at line 46 of file PeriodicScaler.cxx.
48 unsigned offset =
static_cast<unsigned>(factor)-1;
◆ reset()
void LVL1::PeriodicScaler::reset |
( |
| ) |
|
|
inherited |
◆ m_counter
unsigned int LVL1::PeriodicScaler::m_counter |
|
protectedinherited |
◆ m_last
unsigned int LVL1::PeriodicScaler::m_last |
|
protectedinherited |
The documentation for this class was generated from the following files: