CMS 3D CMS Logo

EcalErrorMask.h
Go to the documentation of this file.
1 #ifndef CondTools_Ecal_EcalErrorMask_H
2 #define CondTools_Ecal_EcalErrorMask_H
3 
4 #include <cstdlib>
5 #include <map>
11 
13 class EcalLogicID;
14 class RunIOV;
15 
17 public:
18  void readDB(EcalCondDBInterface* eConn, RunIOV* runIOV) noexcept(false);
19 
20  void fetchDataSet(std::map<EcalLogicID, RunCrystalErrorsDat>* fillMap);
21  void fetchDataSet(std::map<EcalLogicID, RunTTErrorsDat>* fillMap);
22  void fetchDataSet(std::map<EcalLogicID, RunPNErrorsDat>* fillMap);
23  void fetchDataSet(std::map<EcalLogicID, RunMemChErrorsDat>* fillMap);
24  void fetchDataSet(std::map<EcalLogicID, RunMemTTErrorsDat>* fillMap);
25 
26 private:
27  int runNb_;
28 
29  std::map<EcalLogicID, RunCrystalErrorsDat> mapCrystalErrors_;
30  std::map<EcalLogicID, RunTTErrorsDat> mapTTErrors_;
31  std::map<EcalLogicID, RunPNErrorsDat> mapPNErrors_;
32  std::map<EcalLogicID, RunMemChErrorsDat> mapMemChErrors_;
33  std::map<EcalLogicID, RunMemTTErrorsDat> mapMemTTErrors_;
34 };
35 
36 #endif // CondTools_Ecal_EcalErrorMask_H
void readDB(EcalCondDBInterface *eConn, RunIOV *runIOV) noexcept(false)
std::map< EcalLogicID, RunPNErrorsDat > mapPNErrors_
Definition: EcalErrorMask.h:31
std::map< EcalLogicID, RunTTErrorsDat > mapTTErrors_
Definition: EcalErrorMask.h:30
std::map< EcalLogicID, RunMemTTErrorsDat > mapMemTTErrors_
Definition: EcalErrorMask.h:33
std::map< EcalLogicID, RunCrystalErrorsDat > mapCrystalErrors_
Definition: EcalErrorMask.h:29
void fetchDataSet(std::map< EcalLogicID, RunCrystalErrorsDat > *fillMap)
std::map< EcalLogicID, RunMemChErrorsDat > mapMemChErrors_
Definition: EcalErrorMask.h:32
Definition: RunIOV.h:13