CMS 3D CMS Logo

EcalTPGFineGrainEBIdMapHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_TPG_FINEGRAINEBIDMAP_HANDLER_H
2 #define ECAL_TPG_FINEGRAINEBIDMAP_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 EcalTPGFineGrainEBIdMapHandler : public popcon::PopConSourceHandler<EcalTPGFineGrainEBIdMap> {
45  public:
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
popcon::EcalTPGFineGrainEBIdMapHandler::getNewObjects
void getNewObjects() override
Definition: EcalTPGFineGrainEBIdMapHandler.cc:39
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
PopConSourceHandler.h
Handle.h
popcon::EcalTPGFineGrainEBIdMapHandler::m_pass
std::string m_pass
Definition: EcalTPGFineGrainEBIdMapHandler.h:74
popcon::EcalTPGFineGrainEBIdMapHandler
Definition: EcalTPGFineGrainEBIdMapHandler.h:44
MessageLogger.h
ESHandle.h
popcon::EcalTPGFineGrainEBIdMapHandler::m_lastRun
unsigned int m_lastRun
Definition: EcalTPGFineGrainEBIdMapHandler.h:68
popcon::EcalTPGFineGrainEBIdMapHandler::m_firstRun
unsigned int m_firstRun
Definition: EcalTPGFineGrainEBIdMapHandler.h:67
edm
HLT enums.
Definition: AlignableModifier.h:19
EBDetId.h
EEDetId.h
EcalTPGFineGrainEBIdMap.h
EcalTPGFineGrainEBIdMap
Definition: EcalTPGFineGrainEBIdMap.h:10
popcon::EcalTPGFineGrainEBIdMapHandler::mypedestals
const EcalTPGFineGrainEBIdMap * mypedestals
Definition: EcalTPGFineGrainEBIdMapHandler.h:65
popcon::EcalTPGFineGrainEBIdMapHandler::m_runtype
std::string m_runtype
Definition: EcalTPGFineGrainEBIdMapHandler.h:78
popcon::EcalTPGFineGrainEBIdMapHandler::m_i_tag
std::string m_i_tag
Definition: EcalTPGFineGrainEBIdMapHandler.h:79
popcon::EcalTPGFineGrainEBIdMapHandler::m_gentag
std::string m_gentag
Definition: EcalTPGFineGrainEBIdMapHandler.h:71
popcon::EcalTPGFineGrainEBIdMapHandler::m_runnr
unsigned int m_runnr
Definition: EcalTPGFineGrainEBIdMapHandler.h:77
MakerMacros.h
PoolDBOutputService.h
popcon::EcalTPGFineGrainEBIdMapHandler::m_name
std::string m_name
Definition: EcalTPGFineGrainEBIdMapHandler.h:76
Service.h
popcon::EcalTPGFineGrainEBIdMapHandler::m_sid
std::string m_sid
Definition: EcalTPGFineGrainEBIdMapHandler.h:72
Event
popcon::EcalTPGFineGrainEBIdMapHandler::m_location
std::string m_location
Definition: EcalTPGFineGrainEBIdMapHandler.h:70
popcon::EcalTPGFineGrainEBIdMapHandler::econn
EcalCondDBInterface * econn
Definition: EcalTPGFineGrainEBIdMapHandler.h:56
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
popcon::EcalTPGFineGrainEBIdMapHandler::m_i_version
int m_i_version
Definition: EcalTPGFineGrainEBIdMapHandler.h:80
all_monitoring_types.h
edm::ParameterSet
Definition: ParameterSet.h:36
Timestamp.h
Event.h
ParameterSet
Definition: Functions.h:16
popcon::EcalTPGFineGrainEBIdMapHandler::m_i_run_number
unsigned int m_i_run_number
Definition: EcalTPGFineGrainEBIdMapHandler.h:81
dtResolutionTest_cfi.inputFile
inputFile
Definition: dtResolutionTest_cfi.py:14
popcon::EcalTPGFineGrainEBIdMapHandler::to_string
std::string to_string(char value[])
Definition: EcalTPGFineGrainEBIdMapHandler.h:59
value
Definition: value.py:1
popcon::PopConSourceHandler
Definition: PopConSourceHandler.h:30
popcon::EcalTPGFineGrainEBIdMapHandler::writeFile
void writeFile(const char *inputFile)
Definition: EcalTPGFineGrainEBIdMapHandler.cc:283
EcalTPGFineGrainEBIdMapRcd.h
popcon::EcalTPGFineGrainEBIdMapHandler::m_user
std::string m_user
Definition: EcalTPGFineGrainEBIdMapHandler.h:73
popcon::EcalTPGFineGrainEBIdMapHandler::id
std::string id() const override
Definition: EcalTPGFineGrainEBIdMapHandler.h:51
popcon::EcalTPGFineGrainEBIdMapHandler::EcalTPGFineGrainEBIdMapHandler
EcalTPGFineGrainEBIdMapHandler(edm::ParameterSet const &)
Definition: EcalTPGFineGrainEBIdMapHandler.cc:21
popcon
Definition: Exception.h:6
relativeConstraints.value
value
Definition: relativeConstraints.py:53
ParameterSetfwd.h
popcon::EcalTPGFineGrainEBIdMapHandler::m_i_fgrIdMap
int m_i_fgrIdMap
Definition: EcalTPGFineGrainEBIdMapHandler.h:82
EventSetup.h
Oracle.h
EventSetup
ParameterSet.h
EventSetupRecordKey.h
EcalCondDBInterface.h
popcon::EcalTPGFineGrainEBIdMapHandler::readFromFile
void readFromFile(const char *inputFile)
Definition: EcalTPGFineGrainEBIdMapHandler.cc:245
popcon::EcalTPGFineGrainEBIdMapHandler::~EcalTPGFineGrainEBIdMapHandler
~EcalTPGFineGrainEBIdMapHandler() override
Definition: EcalTPGFineGrainEBIdMapHandler.cc:37
popcon::EcalTPGFineGrainEBIdMapHandler::m_locationsource
std::string m_locationsource
Definition: EcalTPGFineGrainEBIdMapHandler.h:75