#include <DTHVCheckWithHysteresis.h>
Public Member Functions | |
DTHVAbstractCheck::flag | checkCurrentStatus (int rawId, int type, float valueA, float valueC, float valueS, const std::map< int, timedMeasurement > &snapshotValues, const std::map< int, int > &aliasMap, const std::map< int, int > &layerMap) override |
check HV status More... | |
DTHVCheckWithHysteresis () | |
DTHVCheckWithHysteresis (const edm::ParameterSet &iConfig, edm::ActivityRegistry &iAR) | |
void | setStatus (int rawId, int flagA, int flagC, int flagS, const std::map< int, timedMeasurement > &snapshotValues, const std::map< int, int > &aliasMap, const std::map< int, int > &layerMap) override |
~DTHVCheckWithHysteresis () override | |
Public Member Functions inherited from DTHVAbstractCheck | |
DTHVAbstractCheck () | |
virtual void | setValue (int rawId, int type, float valueA, float valueC, float valueS, const std::map< int, timedMeasurement > &snapshotValues, const std::map< int, int > &aliasMap, const std::map< int, int > &layerMap) |
virtual | ~DTHVAbstractCheck () |
Private Attributes | |
float | maxCurrent |
float * | maxHV |
float * | minHVh |
float * | minHVl |
std::map< int, int > * | oldStatusA |
std::map< int, int > * | oldStatusC |
std::map< int, int > * | oldStatusS |
Additional Inherited Members | |
Public Types inherited from DTHVAbstractCheck | |
typedef std::pair< long long int, float > | timedMeasurement |
check HV status More... | |
Static Public Member Functions inherited from DTHVAbstractCheck | |
static bool | chkFlag (const DTHVAbstractCheck::flag &f) |
static bool | compare (const DTHVAbstractCheck::flag &fl, const DTHVAbstractCheck::flag &fr) |
static DTHVAbstractCheck * | getInstance () |
check HV status More... | |
Static Protected Attributes inherited from DTHVAbstractCheck | |
static DTHVAbstractCheck * | instance = nullptr |
Definition at line 40 of file DTHVCheckWithHysteresis.h.
cond::service::DTHVCheckWithHysteresis::DTHVCheckWithHysteresis | ( | ) |
Constructor
DTHVCheckWithHysteresis::DTHVCheckWithHysteresis | ( | const edm::ParameterSet & | iConfig, |
edm::ActivityRegistry & | iAR | ||
) |
Definition at line 37 of file DTHVCheckWithHysteresis.cc.
References gather_cfg::cout, DTHVAbstractCheck::instance, maxCurrent, maxHV, minHVh, minHVl, oldStatusA, oldStatusC, and oldStatusS.
|
override |
|
overridevirtual |
check HV status
Operations
Implements DTHVAbstractCheck.
Definition at line 72 of file DTHVCheckWithHysteresis.cc.
References DTHVAbstractCheck::flag::a, DTHVAbstractCheck::flag::c, officialStyle::chan, RemoveAddSevLevel::flag, DTWireId::layerId(), maxCurrent, maxHV, minHVh, minHVl, oldStatusA, oldStatusC, oldStatusS, DetId::rawId(), DTHVAbstractCheck::flag::s, and DTWireId::wire().
|
overridevirtual |
Reimplemented from DTHVAbstractCheck.
Definition at line 215 of file DTHVCheckWithHysteresis.cc.
References oldStatusA, oldStatusC, and oldStatusS.
|
private |
Definition at line 75 of file DTHVCheckWithHysteresis.h.
Referenced by checkCurrentStatus(), and DTHVCheckWithHysteresis().
|
private |
Definition at line 74 of file DTHVCheckWithHysteresis.h.
Referenced by checkCurrentStatus(), and DTHVCheckWithHysteresis().
|
private |
Definition at line 73 of file DTHVCheckWithHysteresis.h.
Referenced by checkCurrentStatus(), and DTHVCheckWithHysteresis().
|
private |
Definition at line 72 of file DTHVCheckWithHysteresis.h.
Referenced by checkCurrentStatus(), and DTHVCheckWithHysteresis().
|
private |
Definition at line 76 of file DTHVCheckWithHysteresis.h.
Referenced by checkCurrentStatus(), DTHVCheckWithHysteresis(), and setStatus().
|
private |
Definition at line 77 of file DTHVCheckWithHysteresis.h.
Referenced by checkCurrentStatus(), DTHVCheckWithHysteresis(), and setStatus().
|
private |
Definition at line 78 of file DTHVCheckWithHysteresis.h.
Referenced by checkCurrentStatus(), DTHVCheckWithHysteresis(), and setStatus().