test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalErrorMask.h
Go to the documentation of this file.
1 #ifndef EcalErrorMask_H
2 #define EcalErrorMask_H
3 
4 #include <cstdlib>
5 #include <map>
6 
8 
9 class EcalLogicID;
10 
12 class RunTTErrorsDat;
13 class RunPNErrorsDat;
14 class RunMemChErrorsDat;
15 class RunMemTTErrorsDat;
16 class RunIOV;
17 
19 
20  public:
21 
22  static void readDB( EcalCondDBInterface* eConn, RunIOV* runIOV ) throw( std::runtime_error );
23 
24  static void fetchDataSet( std::map< EcalLogicID, RunCrystalErrorsDat>* fillMap );
25  static void fetchDataSet( std::map< EcalLogicID, RunTTErrorsDat>* fillMap );
26  static void fetchDataSet( std::map< EcalLogicID, RunPNErrorsDat>* fillMap );
27  static void fetchDataSet( std::map< EcalLogicID, RunMemChErrorsDat>* fillMap );
28  static void fetchDataSet( std::map< EcalLogicID, RunMemTTErrorsDat>* fillMap );
29 
30  private:
31 
32  static int runNb_;
33 
34  static std::map<EcalLogicID, RunCrystalErrorsDat> mapCrystalErrors_;
35  static std::map<EcalLogicID, RunTTErrorsDat> mapTTErrors_;
36  static std::map<EcalLogicID, RunPNErrorsDat> mapPNErrors_;
37  static std::map<EcalLogicID, RunMemChErrorsDat> mapMemChErrors_;
38  static std::map<EcalLogicID, RunMemTTErrorsDat> mapMemTTErrors_;
39 
40 };
41 
42 #endif // EcalErrorMask_H
static void fetchDataSet(std::map< EcalLogicID, RunCrystalErrorsDat > *fillMap)
static std::map< EcalLogicID, RunCrystalErrorsDat > mapCrystalErrors_
Definition: EcalErrorMask.h:34
static std::map< EcalLogicID, RunPNErrorsDat > mapPNErrors_
Definition: EcalErrorMask.h:36
static int runNb_
Definition: EcalErrorMask.h:32
static std::map< EcalLogicID, RunTTErrorsDat > mapTTErrors_
Definition: EcalErrorMask.h:35
static std::map< EcalLogicID, RunMemTTErrorsDat > mapMemTTErrors_
Definition: EcalErrorMask.h:38
Definition: RunIOV.h:13
static void readDB(EcalCondDBInterface *eConn, RunIOV *runIOV)
static std::map< EcalLogicID, RunMemChErrorsDat > mapMemChErrors_
Definition: EcalErrorMask.h:37