#include <EcalSrFlag.h>
Public Member Functions | |
std::string | flagName () const |
virtual const DetId & | id () const =0 |
operator int () const | |
void | setValue (const int &flag) |
int | value () const |
virtual | ~EcalSrFlag () |
Static Public Member Functions | |
static std::string | flagName (const int &flag) |
Static Public Attributes | |
static const int | SRF_FORCED_MASK = 0x4 |
static const int | SRF_FULL = 3 |
static const int | SRF_SUPPRESS = 0 |
static const int | SRF_ZS1 = 1 |
static const int | SRF_ZS2 = 2 |
Protected Attributes | |
unsigned char | flag_ |
Static Private Attributes | |
static const char * | srfNames [] |
Base class for Selective Readout Flag (SR flag or SRF).
Definition at line 11 of file EcalSrFlag.h.
|
inlinevirtual |
|
inlinestatic |
Return a human readable flag name from its integer value.
flag | the flag value |
Definition at line 63 of file EcalSrFlag.h.
References srfNames.
Referenced by operator<<().
|
inline |
Return a human readable flag name from the flag value.
Definition at line 70 of file EcalSrFlag.h.
References flag_.
|
pure virtual |
Gets the Det Id the flag is associated to.
Implemented in EESrFlag, and EBSrFlag.
Referenced by EcalDigiToRaw::produce().
|
inline |
Cast to int: same as value().
Definition at line 55 of file EcalSrFlag.h.
References flag_.
|
inline |
Set the SR flag value. See SRF_XXX constants.
flag | new flag value. Must be between 0 and 7. |
Definition at line 50 of file EcalSrFlag.h.
References flag_.
Referenced by python.Vispa.Views.PropertyView.StringProperty::buttonClicked(), python.Vispa.Views.PropertyView.FileProperty::buttonClicked(), python.Vispa.Views.PropertyView.FileVectorProperty::buttonClicked(), python.Vispa.Views.PropertyView.TextEditWithButtonProperty::keyPressEvent(), and python.Vispa.Views.PropertyView.TextEditWithButtonProperty::setMultiline().
|
inline |
SR flag value. See SRF_XXX constants.
Definition at line 45 of file EcalSrFlag.h.
References flag_.
Referenced by EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), python.Vispa.Views.PropertyView.FileProperty::buttonClicked(), Types.string::configValue(), Types.FileInPath::configValue(), Mixins.UsingBlock::dumpPython(), EcalSimRawData::getSrfs(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Mixins.UsingBlock::insertInto(), Types.double::insertInto(), Types.bool::insertInto(), Types.string::insertInto(), Types.FileInPath::insertInto(), Types.vint32::insertInto(), Types.vuint32::insertInto(), Types.vint64::insertInto(), Types.vuint64::insertInto(), Types.vdouble::insertInto(), Types.vbool::insertInto(), Types.vstring::insertInto(), python.Vispa.Views.PropertyView.FileProperty::labelDoubleClicked(), operator<<(), EcalSelectiveReadoutProducer::printSrFlags(), and EcalDigiToRaw::produce().
|
protected |
The SRP flag.
Definition at line 77 of file EcalSrFlag.h.
Referenced by EBSrFlag::EBSrFlag(), EESrFlag::EESrFlag(), flagName(), operator int(), setValue(), and value().
|
static |
Mask for the 'forced' bit which is set when the decision was forced by an error condition or by configuration.
E.g., a force full readout flag has value SRF_FORCED_MASK|SRF_FULL
Definition at line 30 of file EcalSrFlag.h.
Referenced by EBSelectiveReadoutTask::analyze(), EESelectiveReadoutTask::analyze(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), and EcalDetIdToBeRecoveredProducer::produce().
|
static |
SRP flag for full readout of the readout unit.
Definition at line 25 of file EcalSrFlag.h.
Referenced by EcalSelectiveReadoutValidation::anaDigi(), EBSelectiveReadoutTask::anaDigi(), EESelectiveReadoutTask::anaDigi(), EBSelectiveReadoutTask::analyze(), EESelectiveReadoutTask::analyze(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), EcalSelectiveReadoutValidation::checkSrApplication(), and EcalDetIdToBeRecoveredProducer::produce().
|
static |
SRP flag for suppression of every channel of the readout unit.
Definition at line 16 of file EcalSrFlag.h.
|
static |
SRP flag for zero suppression with level 1.
Definition at line 19 of file EcalSrFlag.h.
Referenced by EBSelectiveReadoutTask::analyze(), EESelectiveReadoutTask::analyze(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), and EcalSelectiveReadoutValidation::checkSrApplication().
|
static |
SRP flag for zero suppression with level 2.
Definition at line 22 of file EcalSrFlag.h.
Referenced by EBSelectiveReadoutTask::analyze(), EESelectiveReadoutTask::analyze(), and EcalSelectiveReadoutValidation::checkSrApplication().
|
staticprivate |
Human readable flag value names
Definition at line 82 of file EcalSrFlag.h.
Referenced by flagName().