ATLAS Offline Software
|
#include <PeriodicScaler.h>
Public Member Functions | |
PeriodicScaler () | |
virtual | ~PeriodicScaler () |
virtual bool | decision (float factor) |
make decision based on given factor More... | |
void | reset () |
Reset scaler to initial state. More... | |
Protected Attributes | |
unsigned int | m_counter |
event counter More... | |
unsigned int | m_last |
last integer More... | |
Utility class to determine if a chain should be prescaled/passed-through using its PS/PT factor, implemented with a periodic algorithm (take every [factor] event).
Utility class to determine if a chain should be prescaled/passed-through using its PS/PT factor, implemented with a periodic algorithm (take every [factor] event and always 1st event)
Definition at line 43 of file PeriodicScaler.h.
LVL1::PeriodicScaler::PeriodicScaler | ( | ) |
Definition at line 22 of file PeriodicScaler.cxx.
|
inlinevirtual |
Definition at line 48 of file PeriodicScaler.h.
|
virtual |
make decision based on given factor
factor | take every [factor] event |
Reimplemented in LVL1::PeriodicScalerTake1st.
Definition at line 26 of file PeriodicScaler.cxx.
void LVL1::PeriodicScaler::reset | ( | ) |
Reset scaler to initial state.
Definition at line 36 of file PeriodicScaler.cxx.
|
protected |
event counter
Definition at line 61 of file PeriodicScaler.h.
|
protected |
last integer
Definition at line 62 of file PeriodicScaler.h.