CMS 3D CMS Logo

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 }
DTHVAbstractCheck::chkFlag
static bool chkFlag(const DTHVAbstractCheck::flag &f)
Definition: DTHVAbstractCheck.cc:43
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
DTHVAbstractCheck::setStatus
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)
Definition: DTHVAbstractCheck.cc:60
DTHVAbstractCheck::compare
static bool compare(const DTHVAbstractCheck::flag &fl, const DTHVAbstractCheck::flag &fr)
Definition: DTHVAbstractCheck.cc:45
DTHVAbstractCheck.h
DTHVAbstractCheck
Definition: DTHVAbstractCheck.h:31
DTHVAbstractCheck::flag
Definition: DTHVAbstractCheck.h:48
DTHVAbstractCheck::instance
static DTHVAbstractCheck * instance
Definition: DTHVAbstractCheck.h:80
DTHVAbstractCheck::~DTHVAbstractCheck
virtual ~DTHVAbstractCheck()
Definition: DTHVAbstractCheck.cc:36
DTHVAbstractCheck::DTHVAbstractCheck
DTHVAbstractCheck()
Definition: DTHVAbstractCheck.cc:31
DTHVAbstractCheck::flag::c
int c
Definition: DTHVAbstractCheck.h:50
type
type
Definition: HCALResponse.h:21
DTHVAbstractCheck::getInstance
static DTHVAbstractCheck * getInstance()
check HV status
Definition: DTHVAbstractCheck.cc:41
DTHVAbstractCheck::flag::a
int a
Definition: DTHVAbstractCheck.h:49
DTHVAbstractCheck::setValue
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)
Definition: DTHVAbstractCheck.cc:49
DTHVAbstractCheck::flag::s
int s
Definition: DTHVAbstractCheck.h:51