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 public:
20  static void readDB(EcalCondDBInterface* eConn, RunIOV* runIOV) noexcept(false);
21 
22  static void fetchDataSet(std::map<EcalLogicID, RunCrystalErrorsDat>* fillMap);
23  static void fetchDataSet(std::map<EcalLogicID, RunTTErrorsDat>* fillMap);
24  static void fetchDataSet(std::map<EcalLogicID, RunPNErrorsDat>* fillMap);
25  static void fetchDataSet(std::map<EcalLogicID, RunMemChErrorsDat>* fillMap);
26  static void fetchDataSet(std::map<EcalLogicID, RunMemTTErrorsDat>* fillMap);
27 
28 private:
29  static int runNb_;
30 
31  static std::map<EcalLogicID, RunCrystalErrorsDat> mapCrystalErrors_;
32  static std::map<EcalLogicID, RunTTErrorsDat> mapTTErrors_;
33  static std::map<EcalLogicID, RunPNErrorsDat> mapPNErrors_;
34  static std::map<EcalLogicID, RunMemChErrorsDat> mapMemChErrors_;
35  static std::map<EcalLogicID, RunMemTTErrorsDat> mapMemTTErrors_;
36 };
37 
38 #endif // EcalErrorMask_H
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
RunIOV
Definition: RunIOV.h:13
EcalErrorMask::mapCrystalErrors_
static std::map< EcalLogicID, RunCrystalErrorsDat > mapCrystalErrors_
Definition: EcalErrorMask.h:31
EcalErrorMask::runNb_
static int runNb_
Definition: EcalErrorMask.h:29
EcalErrorMask::fetchDataSet
static void fetchDataSet(std::map< EcalLogicID, RunCrystalErrorsDat > *fillMap)
Definition: EcalErrorMask.cc:79
RunCrystalErrorsDat
Definition: RunCrystalErrorsDat.h:12
RunPNErrorsDat
Definition: RunPNErrorsDat.h:12
EcalLogicID
Definition: EcalLogicID.h:7
EcalErrorMask::mapMemChErrors_
static std::map< EcalLogicID, RunMemChErrorsDat > mapMemChErrors_
Definition: EcalErrorMask.h:34
EcalErrorMask::readDB
static void readDB(EcalCondDBInterface *eConn, RunIOV *runIOV) noexcept(false)
Definition: EcalErrorMask.cc:26
EcalErrorMask
Definition: EcalErrorMask.h:18
RunMemTTErrorsDat
Definition: RunMemTTErrorsDat.h:12
EcalErrorMask::mapMemTTErrors_
static std::map< EcalLogicID, RunMemTTErrorsDat > mapMemTTErrors_
Definition: EcalErrorMask.h:35
EcalErrorMask::mapPNErrors_
static std::map< EcalLogicID, RunPNErrorsDat > mapPNErrors_
Definition: EcalErrorMask.h:33
EcalErrorMask::mapTTErrors_
static std::map< EcalLogicID, RunTTErrorsDat > mapTTErrors_
Definition: EcalErrorMask.h:32
RunMemChErrorsDat
Definition: RunMemChErrorsDat.h:12
RunTTErrorsDat
Definition: RunTTErrorsDat.h:12