CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 }
28 
29 //---------------
30 // C++ Headers --
31 //---------------
32 #include <map>
33 
34 // ---------------------
35 // -- Class Interface --
36 // ---------------------
37 
38 namespace cond { namespace service {
40 
41  public:
42 
47  edm::ActivityRegistry & iAR );
48 
51  virtual ~DTHVCheckWithHysteresis();
52 
55 // virtual int checkCurrentStatus(
58  int rawId, int type,
59  float valueA, float valueC, float valueS,
60  const std::map<int,timedMeasurement>& snapshotValues,
61  const std::map<int,int>& aliasMap,
62  const std::map<int,int>& layerMap );
63  virtual void setStatus(
64  int rawId,
65  int flagA, int flagC, int flagS,
66  const std::map<int,timedMeasurement>& snapshotValues,
67  const std::map<int,int>& aliasMap,
68  const std::map<int,int>& layerMap );
69 
70  private:
71 
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 
82 } }
83 
84 #endif // DTHVCheckWithHysteresis_H
85 
86 
87 
88 
89 
90 
type
Definition: HCALResponse.h:21
virtual 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)
check HV status
virtual 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)