CMS 3D CMS Logo

DTHVCheckByAbsoluteValues.h
Go to the documentation of this file.
1 #ifndef DTHVCheckByAbsoluteValues_H
2 #define DTHVCheckByAbsoluteValues_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 
33 // ---------------------
34 // -- Class Interface --
35 // ---------------------
36 
37 namespace cond {
38  namespace service {
40  public:
45 
48  ~DTHVCheckByAbsoluteValues() override;
49 
52  // virtual int checkCurrentStatus(
55  int type,
56  float valueA,
57  float valueC,
58  float valueS,
59  const std::map<int, timedMeasurement>& snapshotValues,
60  const std::map<int, int>& aliasMap,
61  const std::map<int, int>& layerMap) override;
62 
63  private:
64  float* minHV;
65  float* maxHV;
66  float maxCurrent;
67  };
68 
69  } // namespace service
70 } // namespace cond
71 
72 #endif // DTHVCheckByAbsoluteValues_H
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
HLT enums.