CMS 3D CMS Logo

EcalSRPHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_SRP_HANDLER_H
2 #define ECAL_SRP_HANDLER_H
3 
4 #include <vector>
5 #include <typeinfo>
6 #include <string>
7 #include <map>
8 #include <iostream>
9 #include <ctime>
10 
13 
24 
27 
31 
33 
34 namespace edm {
35  class ParameterSet;
36  class Event;
37  class EventSetup;
38 } // namespace edm
39 
40 namespace popcon {
41  class EcalSRPHandler : public popcon::PopConSourceHandler<EcalSRSettings> {
42  public:
44  ~EcalSRPHandler() override;
45 
46  void getNewObjects() override;
47  std::string id() const override { return m_name; }
49  void importDccConfigFile(EcalSRSettings& sr, const std::string& filename, bool debug = false);
50  void PrintPayload(EcalSRSettings& sr, std::ofstream& fout);
52 
53  private:
54  unsigned long m_firstRun;
55  unsigned long m_lastRun;
64  bool m_debug;
66  };
67 } // namespace popcon
68 #endif
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
PopConSourceHandler.h
Handle.h
popcon::EcalSRPHandler::m_lastRun
unsigned long m_lastRun
Definition: EcalSRPHandler.h:55
MessageLogger.h
EcalSRSettingsRcd.h
ESHandle.h
popcon::EcalSRPHandler::~EcalSRPHandler
~EcalSRPHandler() override
Definition: EcalSRPHandler.cc:48
edm
HLT enums.
Definition: AlignableModifier.h:19
popcon::EcalSRPHandler
Definition: EcalSRPHandler.h:41
popcon::EcalSRPHandler::ChangePayload
void ChangePayload(EcalSRSettings &sref, EcalSRSettings &sr)
Definition: EcalSRPHandler.cc:956
popcon::EcalSRPHandler::id
std::string id() const override
Definition: EcalSRPHandler.h:47
popcon::EcalSRPHandler::getNewObjects
void getNewObjects() override
Definition: EcalSRPHandler.cc:50
EcalSRSettings.h
MakerMacros.h
debug
#define debug
Definition: HDRShower.cc:19
popcon::EcalSRPHandler::PrintPayload
void PrintPayload(EcalSRSettings &sr, std::ofstream &fout)
Definition: EcalSRPHandler.cc:819
PoolDBOutputService.h
popcon::EcalSRPHandler::m_gentag
std::string m_gentag
Definition: EcalSRPHandler.h:62
Service.h
popcon::EcalSRPHandler::m_firstRun
unsigned long m_firstRun
Definition: EcalSRPHandler.h:54
popcon::EcalSRPHandler::m_debug
bool m_debug
Definition: EcalSRPHandler.h:64
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
Event
popcon::EcalSRPHandler::econn
EcalCondDBInterface * econn
Definition: EcalSRPHandler.h:48
popcon::EcalSRPHandler::importDccConfigFile
void importDccConfigFile(EcalSRSettings &sr, const std::string &filename, bool debug=false)
Definition: EcalSRPHandler.cc:736
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
all_monitoring_types.h
edm::ParameterSet
Definition: ParameterSet.h:36
Timestamp.h
Event.h
popcon::EcalSRPHandler::EcalSRPHandler
EcalSRPHandler(edm::ParameterSet const &)
Definition: EcalSRPHandler.cc:33
ParameterSet
Definition: Functions.h:16
popcon::EcalSRPHandler::m_i_version
int m_i_version
Definition: EcalSRPHandler.h:65
popcon::EcalSRPHandler::m_user
std::string m_user
Definition: EcalSRPHandler.h:57
groupFilesInBlocks.fout
fout
Definition: groupFilesInBlocks.py:162
popcon::PopConSourceHandler
Definition: PopConSourceHandler.h:30
popcon::EcalSRPHandler::m_pass
std::string m_pass
Definition: EcalSRPHandler.h:58
EcalSRSettings
Definition: EcalSRSettings.h:29
popcon::EcalSRPHandler::m_name
std::string m_name
Definition: EcalSRPHandler.h:59
popcon
Definition: Exception.h:6
popcon::EcalSRPHandler::m_sid
std::string m_sid
Definition: EcalSRPHandler.h:56
ParameterSetfwd.h
EventSetup.h
popcon::EcalSRPHandler::m_location
std::string m_location
Definition: EcalSRPHandler.h:60
Oracle.h
popcon::EcalSRPHandler::m_runtype
std::string m_runtype
Definition: EcalSRPHandler.h:61
EventSetup
ParameterSet.h
EventSetupRecordKey.h
EcalCondDBInterface.h
popcon::EcalSRPHandler::m_i_tag
std::string m_i_tag
Definition: EcalSRPHandler.h:63