CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/CondTools/DT/src/DTHVAbstractCheck.cc

Go to the documentation of this file.
00001 /*
00002  *  See header file for a description of this class.
00003  *
00004  *  $Date: 2010/09/14 13:54:17 $
00005  *  $Revision: 1.2 $
00006  *  \author Paolo Ronchese INFN Padova
00007  *
00008  */
00009 
00010 //-----------------------
00011 // This Class' Header --
00012 //-----------------------
00013 #include "CondTools/DT/interface/DTHVAbstractCheck.h"
00014 
00015 //-------------------------------
00016 // Collaborating Class Headers --
00017 //-------------------------------
00018 
00019 
00020 //---------------
00021 // C++ Headers --
00022 //---------------
00023 
00024 
00025 //-------------------
00026 // Initializations --
00027 //-------------------
00028 DTHVAbstractCheck* DTHVAbstractCheck::instance = 0;
00029 
00030 //----------------
00031 // Constructors --
00032 //----------------
00033 DTHVAbstractCheck::DTHVAbstractCheck() {
00034 }
00035 
00036 //--------------
00037 // Destructor --
00038 //--------------
00039 DTHVAbstractCheck::~DTHVAbstractCheck() {
00040 }
00041 
00042 //--------------
00043 // Operations --
00044 //--------------
00045 DTHVAbstractCheck* DTHVAbstractCheck::getInstance() {
00046   return instance;
00047 }
00048 
00049 
00050 bool DTHVAbstractCheck::chkFlag( const DTHVAbstractCheck::flag& f ) {
00051   return ( f.a || f.c || f.s );
00052 }
00053 
00054 
00055 bool DTHVAbstractCheck::compare( const DTHVAbstractCheck::flag& fl,
00056                                  const DTHVAbstractCheck::flag& fr ) {
00057   return ( ( fl.a == fr.a ) &&
00058            ( fl.c == fr.c ) &&
00059            ( fl.s == fr.s ) );
00060 }
00061 
00062 
00063 void DTHVAbstractCheck::setValue(
00064                         int rawId, int type,
00065                         float valueA, float valueC, float valueS,
00066                         const std::map<int,timedMeasurement>& snapshotValues,
00067                         const std::map<int,int>& aliasMap,
00068                         const std::map<int,int>& layerMap ) {
00069   return;
00070 }
00071 
00072 
00073 void DTHVAbstractCheck::setStatus(
00074                         int rawId,
00075                         int flagA, int flagC, int flagS,
00076                         const std::map<int,timedMeasurement>& snapshotValues,
00077                         const std::map<int,int>& aliasMap,
00078                         const std::map<int,int>& layerMap ) {
00079   return;
00080 }
00081