CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTHVAbstractCheck.h
Go to the documentation of this file.
1 #ifndef DTHVAbstractCheck_H
2 #define DTHVAbstractCheck_H
3 
14 //----------------------
15 // Base Class Headers --
16 //----------------------
17 
18 
19 //------------------------------------
20 // Collaborating Class Declarations --
21 //------------------------------------
22 
23 
24 //---------------
25 // C++ Headers --
26 //---------------
27 #include <map>
28 
29 // ---------------------
30 // -- Class Interface --
31 // ---------------------
32 
34 
35  public:
36 
40 
43  virtual ~DTHVAbstractCheck();
44 
49 
51  typedef std::pair<long long int,float> timedMeasurement;
52  struct flag { int a; int c; int s; };
53  static bool chkFlag( const DTHVAbstractCheck::flag& f );
54  static bool compare( const DTHVAbstractCheck::flag& fl,
55  const DTHVAbstractCheck::flag& fr );
57  int rawId, int type,
58  float valueA, float valueC, float valueS,
59  const std::map<int,timedMeasurement>& snapshotValues,
60  const std::map<int,int>& aliasMap,
61  const std::map<int,int>& layerMap ) = 0;
62  virtual void setValue(
63  int rawId, int type,
64  float valueA, float valueC, float valueS,
65  const std::map<int,timedMeasurement>& snapshotValues,
66  const std::map<int,int>& aliasMap,
67  const std::map<int,int>& layerMap );
68  virtual void setStatus(
69  int rawId,
70  int flagA, int flagC, int flagS,
71  const std::map<int,timedMeasurement>& snapshotValues,
72  const std::map<int,int>& aliasMap,
73  const std::map<int,int>& layerMap );
74 
75  protected:
76 
78 
79  private:
80 
81 };
82 
83 
84 #endif // DTHVAbstractCheck_H
85 
86 
87 
88 
89 
90 
type
Definition: HCALResponse.h:22
static bool chkFlag(const DTHVAbstractCheck::flag &f)
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)
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)=0
static bool compare(const DTHVAbstractCheck::flag &fl, const DTHVAbstractCheck::flag &fr)
std::pair< long long int, float > timedMeasurement
check HV status
double f[11][100]
virtual ~DTHVAbstractCheck()
static DTHVAbstractCheck * getInstance()
check HV status
static DTHVAbstractCheck * instance
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)