CMS 3D CMS Logo

EcalPedestalsHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_PEDESTALS_HANDLER_H
2 #define ECAL_PEDESTALS_HANDLER_H
3 
4 #include <vector>
5 #include <typeinfo>
6 #include <string>
7 #include <map>
8 #include <iostream>
9 #include <ctime>
10 
13 
24 
33 
37 
41 
42 namespace edm {
43  class ParameterSet;
44  class Event;
45  class EventSetup;
46 } // namespace edm
47 
48 namespace popcon {
49 
50  class EcalPedestalsHandler : public popcon::PopConSourceHandler<EcalPedestals> {
51  public:
53  ~EcalPedestalsHandler() override;
55  void getNewObjects() override;
56  void getNewObjectsP5();
57  void getNewObjectsH2();
58  void readPedestalFile();
59  void readPedestalMC();
60  void readPedestalTree();
61  void readPedestalTimestamp();
62  void readPedestal2017();
63  std::string id() const override { return m_name; }
65 
66  private:
68 
69  unsigned int m_firstRun;
70  unsigned int m_lastRun;
71 
81  int m_runtype;
83  };
84 } // namespace popcon
85 #endif
popcon::EcalPedestalsHandler::mypedestals
const EcalPedestals * mypedestals
Definition: EcalPedestalsHandler.h:67
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
PopConSourceHandler.h
popcon::EcalPedestalsHandler::getNewObjectsP5
void getNewObjectsP5()
Definition: EcalPedestalsHandler.cc:81
Handle.h
EcalPedestals.h
MessageLogger.h
popcon::EcalPedestalsHandler::m_corrected
bool m_corrected
Definition: EcalPedestalsHandler.h:82
ESHandle.h
edm
HLT enums.
Definition: AlignableModifier.h:19
EcalLaserAPDPNRatiosRef.h
EBDetId.h
EEDetId.h
EcalLaserAPDPNRatiosRefRcd.h
popcon::EcalPedestalsHandler::m_user
std::string m_user
Definition: EcalPedestalsHandler.h:76
popcon::EcalPedestalsHandler::id
std::string id() const override
Definition: EcalPedestalsHandler.h:63
popcon::EcalPedestalsHandler::checkPedestal
bool checkPedestal(EcalPedestals::Item *item)
Definition: EcalPedestalsHandler.cc:61
EcalLaserAlphasRcd.h
EcalCondObjectContainer
Definition: EcalCondObjectContainer.h:13
popcon::EcalPedestalsHandler::m_pass
std::string m_pass
Definition: EcalPedestalsHandler.h:77
popcon::EcalPedestalsHandler::econn
EcalCondDBInterface * econn
Definition: EcalPedestalsHandler.h:64
popcon::EcalPedestalsHandler::m_name
std::string m_name
Definition: EcalPedestalsHandler.h:79
MakerMacros.h
popcon::EcalPedestalsHandler::m_lastRun
unsigned int m_lastRun
Definition: EcalPedestalsHandler.h:70
PoolDBOutputService.h
Service.h
popcon::EcalPedestalsHandler::readPedestalFile
void readPedestalFile()
Definition: EcalPedestalsHandler.cc:661
popcon::EcalPedestalsHandler::m_filename
std::string m_filename
Definition: EcalPedestalsHandler.h:80
popcon::EcalPedestalsHandler::readPedestalTimestamp
void readPedestalTimestamp()
Definition: EcalPedestalsHandler.cc:1682
popcon::EcalPedestalsHandler::EcalPedestalsHandler
EcalPedestalsHandler(edm::ParameterSet const &)
Definition: EcalPedestalsHandler.cc:17
Event
popcon::EcalPedestalsHandler::m_gentag
std::string m_gentag
Definition: EcalPedestalsHandler.h:73
EcalLaserAPDPNRatiosRcd.h
popcon::EcalPedestalsHandler::m_location
std::string m_location
Definition: EcalPedestalsHandler.h:72
popcon::EcalPedestalsHandler::m_locationsource
std::string m_locationsource
Definition: EcalPedestalsHandler.h:78
popcon::EcalPedestalsHandler::getNewObjectsH2
void getNewObjectsH2()
Definition: EcalPedestalsHandler.cc:468
all_monitoring_types.h
popcon::EcalPedestalsHandler::m_runtype
int m_runtype
Definition: EcalPedestalsHandler.h:81
edm::ParameterSet
Definition: ParameterSet.h:47
popcon::EcalPedestalsHandler::readPedestal2017
void readPedestal2017()
Definition: EcalPedestalsHandler.cc:1050
Timestamp.h
EcalLaserAlphas.h
Event.h
ParameterSet
Definition: Functions.h:16
EcalCondObjectContainer::Item
T Item
Definition: EcalCondObjectContainer.h:15
popcon::EcalPedestalsHandler::m_firstRun
unsigned int m_firstRun
Definition: EcalPedestalsHandler.h:69
popcon::EcalPedestalsHandler
Definition: EcalPedestalsHandler.h:50
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
EcalLaserAPDPNRatios.h
popcon::PopConSourceHandler
Definition: PopConSourceHandler.h:30
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
popcon::EcalPedestalsHandler::~EcalPedestalsHandler
~EcalPedestalsHandler() override
Definition: EcalPedestalsHandler.cc:37
popcon
Definition: Exception.h:6
ParameterSetfwd.h
EventSetup.h
popcon::EcalPedestalsHandler::readPedestalTree
void readPedestalTree()
Definition: EcalPedestalsHandler.cc:1249
EcalPedestalsRcd.h
Oracle.h
popcon::EcalPedestalsHandler::getNewObjects
void getNewObjects() override
Definition: EcalPedestalsHandler.cc:39
EventSetup
ParameterSet.h
popcon::EcalPedestalsHandler::readPedestalMC
void readPedestalMC()
Definition: EcalPedestalsHandler.cc:749
popcon::EcalPedestalsHandler::m_runtag
std::string m_runtag
Definition: EcalPedestalsHandler.h:74
EventSetupRecordKey.h
popcon::EcalPedestalsHandler::m_sid
std::string m_sid
Definition: EcalPedestalsHandler.h:75
EcalCondDBInterface.h