CMS 3D CMS Logo

DTHVCheckWithHysteresis.h
Go to the documentation of this file.
1 #ifndef DTHVCheckWithHysteresis_H
2 #define DTHVCheckWithHysteresis_H
3 
14 //----------------------
15 // Base Class Headers --
16 //----------------------
18 
19 //------------------------------------
20 // Collaborating Class Declarations --
21 //------------------------------------
22 namespace edm {
23  // class Event;
24  // class EventSetup;
25  class ParameterSet;
26  class ActivityRegistry;
27 } // namespace edm
28 
29 //---------------
30 // C++ Headers --
31 //---------------
32 #include <map>
33 
34 // ---------------------
35 // -- Class Interface --
36 // ---------------------
37 
38 namespace cond {
39  namespace service {
41  public:
46 
49  ~DTHVCheckWithHysteresis() override;
50 
53  // virtual int checkCurrentStatus(
56  int type,
57  float valueA,
58  float valueC,
59  float valueS,
60  const std::map<int, timedMeasurement>& snapshotValues,
61  const std::map<int, int>& aliasMap,
62  const std::map<int, int>& layerMap) override;
63  void setStatus(int rawId,
64  int flagA,
65  int flagC,
66  int flagS,
67  const std::map<int, timedMeasurement>& snapshotValues,
68  const std::map<int, int>& aliasMap,
69  const std::map<int, int>& layerMap) override;
70 
71  private:
72  float* minHVl;
73  float* minHVh;
74  float* maxHV;
75  float maxCurrent;
76  std::map<int, int>* oldStatusA;
77  std::map<int, int>* oldStatusC;
78  std::map<int, int>* oldStatusS;
79  };
80 
81  } // namespace service
82 } // namespace cond
83 
84 #endif // DTHVCheckWithHysteresis_H
cond::service::DTHVCheckWithHysteresis::minHVl
float * minHVl
Definition: DTHVCheckWithHysteresis.h:72
service
Definition: service.py:1
ActivityRegistry
cond::service::DTHVCheckWithHysteresis::oldStatusS
std::map< int, int > * oldStatusS
Definition: DTHVCheckWithHysteresis.h:78
cond::service::DTHVCheckWithHysteresis::DTHVCheckWithHysteresis
DTHVCheckWithHysteresis()
cond::service::DTHVCheckWithHysteresis::setStatus
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
Definition: DTHVCheckWithHysteresis.cc:215
edm
HLT enums.
Definition: AlignableModifier.h:19
cond::service::DTHVCheckWithHysteresis::oldStatusA
std::map< int, int > * oldStatusA
Definition: DTHVCheckWithHysteresis.h:76
DTHVAbstractCheck.h
DTHVAbstractCheck
Definition: DTHVAbstractCheck.h:31
cond::service::DTHVCheckWithHysteresis::~DTHVCheckWithHysteresis
~DTHVCheckWithHysteresis() override
Definition: DTHVCheckWithHysteresis.cc:66
DTHVAbstractCheck::flag
Definition: DTHVAbstractCheck.h:48
cond::service::DTHVCheckWithHysteresis::minHVh
float * minHVh
Definition: DTHVCheckWithHysteresis.h:73
edm::ActivityRegistry
Definition: ActivityRegistry.h:132
cond
Definition: plugin.cc:23
cond::service::DTHVCheckWithHysteresis::oldStatusC
std::map< int, int > * oldStatusC
Definition: DTHVCheckWithHysteresis.h:77
edm::ParameterSet
Definition: ParameterSet.h:36
ParameterSet
Definition: Functions.h:16
cond::service::DTHVCheckWithHysteresis::checkCurrentStatus
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
Definition: DTHVCheckWithHysteresis.cc:72
cond::service::DTHVCheckWithHysteresis::maxCurrent
float maxCurrent
Definition: DTHVCheckWithHysteresis.h:75
type
type
Definition: HCALResponse.h:21
cond::service::DTHVCheckWithHysteresis
Definition: DTHVCheckWithHysteresis.h:40
cond::service::DTHVCheckWithHysteresis::maxHV
float * maxHV
Definition: DTHVCheckWithHysteresis.h:74