CMS 3D CMS Logo

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