** Warning **
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle dbname=lxr at /lxr/lib/LXR/Common.pm line 1113.
Last-Modified: Sat, 23 May 2025 23:49:09 GMT
Content-Type: text/html; charset=utf-8
/CMSSW_15_1_X_2025-05-23-2300/CondTools/Ecal/interface/EcalErrorMask.h
File indexing completed on 2024-04-06 12:02:50
0001 #ifndef CondTools_Ecal_EcalErrorMask_H
0002 #define CondTools_Ecal_EcalErrorMask_H
0003
0004 #include <cstdlib>
0005 #include <map>
0006 #include "OnlineDB /EcalCondDB /interface /RunCrystalErrorsDat.h "
0007 #include "OnlineDB /EcalCondDB /interface /RunTTErrorsDat.h "
0008 #include "OnlineDB /EcalCondDB /interface /RunPNErrorsDat.h "
0009 #include "OnlineDB /EcalCondDB /interface /RunMemChErrorsDat.h "
0010 #include "OnlineDB /EcalCondDB /interface /RunMemTTErrorsDat.h "
0011
0012 class EcalCondDBInterface ;
0013 class EcalLogicID ;
0014 class RunIOV ;
0015
0016 class EcalErrorMask {
0017 public :
0018 void readDB (EcalCondDBInterface * eConn, RunIOV * runIOV ) noexcept (false );
0019
0020 void fetchDataSet (std ::map <EcalLogicID , RunCrystalErrorsDat >* fillMap );
0021 void fetchDataSet (std ::map <EcalLogicID , RunTTErrorsDat >* fillMap );
0022 void fetchDataSet (std ::map <EcalLogicID , RunPNErrorsDat >* fillMap );
0023 void fetchDataSet (std ::map <EcalLogicID , RunMemChErrorsDat >* fillMap );
0024 void fetchDataSet (std ::map <EcalLogicID , RunMemTTErrorsDat >* fillMap );
0025
0026 private :
0027 int runNb_ ;
0028
0029 std ::map <EcalLogicID , RunCrystalErrorsDat > mapCrystalErrors_ ;
0030 std ::map <EcalLogicID , RunTTErrorsDat > mapTTErrors_ ;
0031 std ::map <EcalLogicID , RunPNErrorsDat > mapPNErrors_ ;
0032 std ::map <EcalLogicID , RunMemChErrorsDat > mapMemChErrors_ ;
0033 std ::map <EcalLogicID , RunMemTTErrorsDat > mapMemTTErrors_ ;
0034 };
0035
0036 #endif