CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DTHVAbstractCheck.cc
Go to the documentation of this file.
1 /*
2  * See header file for a description of this class.
3  *
4  * $Date: 2010/01/18 18:59:54 $
5  * $Revision: 1.1 $
6  * \author Paolo Ronchese INFN Padova
7  *
8  */
9 
10 //-----------------------
11 // This Class' Header --
12 //-----------------------
14 
15 //-------------------------------
16 // Collaborating Class Headers --
17 //-------------------------------
18 
19 //---------------
20 // C++ Headers --
21 //---------------
22 
23 //-------------------
24 // Initializations --
25 //-------------------
27 
28 //----------------
29 // Constructors --
30 //----------------
32 
33 //--------------
34 // Destructor --
35 //--------------
37 
38 //--------------
39 // Operations --
40 //--------------
42 
43 bool DTHVAbstractCheck::chkFlag(const DTHVAbstractCheck::flag& f) { return (f.a || f.c || f.s); }
44 
46  return ((fl.a == fr.a) && (fl.c == fr.c) && (fl.s == fr.s));
47 }
48 
50  int type,
51  float valueA,
52  float valueC,
53  float valueS,
54  const std::map<int, timedMeasurement>& snapshotValues,
55  const std::map<int, int>& aliasMap,
56  const std::map<int, int>& layerMap) {
57  return;
58 }
59 
61  int flagA,
62  int flagC,
63  int flagS,
64  const std::map<int, timedMeasurement>& snapshotValues,
65  const std::map<int, int>& aliasMap,
66  const std::map<int, int>& layerMap) {
67  return;
68 }
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)
static bool compare(const DTHVAbstractCheck::flag &fl, const DTHVAbstractCheck::flag &fr)
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)