CMS 3D CMS Logo

EcalTPGLutIdMapHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_TPG_LUTIDMAP_HANDLER_H
2 #define ECAL_TPG_LUTIDMAP_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 
35 
36 namespace edm {
37  class ParameterSet;
38  class Event;
39  class EventSetup;
40 } // namespace edm
41 
42 namespace popcon {
43 
44  class EcalTPGLutIdMapHandler : public popcon::PopConSourceHandler<EcalTPGLutIdMap> {
45  public:
47  ~EcalTPGLutIdMapHandler() override;
48 
49  void getNewObjects() override;
50 
51  std::string id() const override { return m_name; }
52 
53  void readFromFile(const char* inputFile);
54  void writeFile(const char* inputFile);
55 
57 
58  private:
60  std::ostringstream streamOut;
61  streamOut << value;
62  return streamOut.str();
63  }
64 
66 
67  unsigned int m_firstRun;
68  unsigned int m_lastRun;
69 
77  unsigned int m_runnr;
81  unsigned int m_i_run_number;
83  };
84 } // namespace popcon
85 #endif
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
PopConSourceHandler.h
Handle.h
popcon::EcalTPGLutIdMapHandler::m_runnr
unsigned int m_runnr
Definition: EcalTPGLutIdMapHandler.h:77
MessageLogger.h
popcon::EcalTPGLutIdMapHandler::m_gentag
std::string m_gentag
Definition: EcalTPGLutIdMapHandler.h:71
popcon::EcalTPGLutIdMapHandler::m_pass
std::string m_pass
Definition: EcalTPGLutIdMapHandler.h:74
ESHandle.h
popcon::EcalTPGLutIdMapHandler::getNewObjects
void getNewObjects() override
Definition: EcalTPGLutIdMapHandler.cc:41
edm
HLT enums.
Definition: AlignableModifier.h:19
EBDetId.h
EEDetId.h
popcon::EcalTPGLutIdMapHandler::readFromFile
void readFromFile(const char *inputFile)
Definition: EcalTPGLutIdMapHandler.cc:246
popcon::EcalTPGLutIdMapHandler::EcalTPGLutIdMapHandler
EcalTPGLutIdMapHandler(edm::ParameterSet const &)
Definition: EcalTPGLutIdMapHandler.cc:23
popcon::EcalTPGLutIdMapHandler::m_user
std::string m_user
Definition: EcalTPGLutIdMapHandler.h:73
popcon::EcalTPGLutIdMapHandler
Definition: EcalTPGLutIdMapHandler.h:44
popcon::EcalTPGLutIdMapHandler::id
std::string id() const override
Definition: EcalTPGLutIdMapHandler.h:51
MakerMacros.h
popcon::EcalTPGLutIdMapHandler::m_location
std::string m_location
Definition: EcalTPGLutIdMapHandler.h:70
popcon::EcalTPGLutIdMapHandler::m_i_version
int m_i_version
Definition: EcalTPGLutIdMapHandler.h:80
EcalTPGLutIdMap.h
PoolDBOutputService.h
popcon::EcalTPGLutIdMapHandler::m_locationsource
std::string m_locationsource
Definition: EcalTPGLutIdMapHandler.h:75
popcon::EcalTPGLutIdMapHandler::m_runtype
std::string m_runtype
Definition: EcalTPGLutIdMapHandler.h:78
Service.h
popcon::EcalTPGLutIdMapHandler::econn
EcalCondDBInterface * econn
Definition: EcalTPGLutIdMapHandler.h:56
popcon::EcalTPGLutIdMapHandler::to_string
std::string to_string(char value[])
Definition: EcalTPGLutIdMapHandler.h:59
Event
popcon::EcalTPGLutIdMapHandler::mypedestals
const EcalTPGLutIdMap * mypedestals
Definition: EcalTPGLutIdMapHandler.h:65
popcon::EcalTPGLutIdMapHandler::m_name
std::string m_name
Definition: EcalTPGLutIdMapHandler.h:76
EcalTPGLutIdMap
Definition: EcalTPGLutIdMap.h:10
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
all_monitoring_types.h
edm::ParameterSet
Definition: ParameterSet.h:36
Timestamp.h
popcon::EcalTPGLutIdMapHandler::m_firstRun
unsigned int m_firstRun
Definition: EcalTPGLutIdMapHandler.h:67
Event.h
ParameterSet
Definition: Functions.h:16
popcon::EcalTPGLutIdMapHandler::m_sid
std::string m_sid
Definition: EcalTPGLutIdMapHandler.h:72
popcon::EcalTPGLutIdMapHandler::m_i_lutIdMap
int m_i_lutIdMap
Definition: EcalTPGLutIdMapHandler.h:82
dtResolutionTest_cfi.inputFile
inputFile
Definition: dtResolutionTest_cfi.py:14
value
Definition: value.py:1
popcon::PopConSourceHandler
Definition: PopConSourceHandler.h:30
popcon::EcalTPGLutIdMapHandler::m_lastRun
unsigned int m_lastRun
Definition: EcalTPGLutIdMapHandler.h:68
popcon
Definition: Exception.h:6
popcon::EcalTPGLutIdMapHandler::writeFile
void writeFile(const char *inputFile)
Definition: EcalTPGLutIdMapHandler.cc:284
relativeConstraints.value
value
Definition: relativeConstraints.py:53
EcalTPGLutIdMapRcd.h
ParameterSetfwd.h
EventSetup.h
Oracle.h
popcon::EcalTPGLutIdMapHandler::m_i_tag
std::string m_i_tag
Definition: EcalTPGLutIdMapHandler.h:79
EventSetup
ParameterSet.h
EventSetupRecordKey.h
popcon::EcalTPGLutIdMapHandler::~EcalTPGLutIdMapHandler
~EcalTPGLutIdMapHandler() override
Definition: EcalTPGLutIdMapHandler.cc:39
EcalCondDBInterface.h
popcon::EcalTPGLutIdMapHandler::m_i_run_number
unsigned int m_i_run_number
Definition: EcalTPGLutIdMapHandler.h:81