#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 10 of file EcalSrFlag.h.
|
inlinevirtual |
|
inlinestatic |
Return a human readable flag name from its integer value.
flag | the flag value |
Definition at line 62 of file EcalSrFlag.h.
References archive::flag, and srfNames.
Referenced by operator<<().
|
inline |
Return a human readable flag name from the flag value.
Definition at line 69 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 54 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 49 of file EcalSrFlag.h.
References hitfit::char, and flag_.
Referenced by Vispa.Views.PropertyView.StringProperty::buttonClicked(), Vispa.Views.PropertyView.FileProperty::buttonClicked(), Vispa.Views.PropertyView.FileVectorProperty::buttonClicked(), Vispa.Views.PropertyView.TextEditWithButtonProperty::keyPressEvent(), and Vispa.Views.PropertyView.TextEditWithButtonProperty::setMultiline().
|
inline |
SR flag value. See SRF_XXX constants.
Definition at line 44 of file EcalSrFlag.h.
References flag_.
Referenced by Types.int32::__nonzero__(), Types.uint32::__nonzero__(), Types.int64::__nonzero__(), Types.uint64::__nonzero__(), Types.double::__nonzero__(), Types.bool::__nonzero__(), Types.string::__nonzero__(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), average.Average::average(), 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(), Vispa.Views.PropertyView.FileProperty::labelDoubleClicked(), operator<<(), EcalSelectiveReadoutProducer::printSrFlags(), and EcalDigiToRaw::produce().
|
protected |
The SRP flag.
Definition at line 76 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 29 of file EcalSrFlag.h.
Referenced by EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), EcalDetIdToBeRecoveredProducer::produce(), ecaldqm::SelectiveReadoutTask::runOnDigis(), and ecaldqm::SelectiveReadoutTask::runOnSrFlags().
|
static |
SRP flag for full readout of the readout unit.
Definition at line 24 of file EcalSrFlag.h.
Referenced by EcalSelectiveReadoutValidation::anaDigi(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), EcalSelectiveReadoutValidation::checkSrApplication(), EcalDetIdToBeRecoveredProducer::produce(), ecaldqm::SelectiveReadoutTask::runOnDigis(), and ecaldqm::SelectiveReadoutTask::runOnSrFlags().
|
static |
SRP flag for suppression of every channel of the readout unit.
Definition at line 15 of file EcalSrFlag.h.
|
static |
SRP flag for zero suppression with level 1.
Definition at line 18 of file EcalSrFlag.h.
Referenced by EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), EcalSelectiveReadoutValidation::checkSrApplication(), ecaldqm::SelectiveReadoutTask::runOnDigis(), and ecaldqm::SelectiveReadoutTask::runOnSrFlags().
|
static |
SRP flag for zero suppression with level 2.
Definition at line 21 of file EcalSrFlag.h.
Referenced by EcalSelectiveReadoutValidation::checkSrApplication(), ecaldqm::SelectiveReadoutTask::runOnDigis(), and ecaldqm::SelectiveReadoutTask::runOnSrFlags().
|
staticprivate |
Human readable flag value names
Definition at line 81 of file EcalSrFlag.h.
Referenced by flagName().