CMS 3D CMS Logo

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 ) noexcept(false);
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 readDB(EcalCondDBInterface *eConn, RunIOV *runIOV) noexcept(false)
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
#define noexcept
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 std::map< EcalLogicID, RunMemChErrorsDat > mapMemChErrors_
Definition: EcalErrorMask.h:37