CMS 3D CMS Logo

EcalTPGFineGrainTowerEEHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_TPG_FINEGRAINTOWEREE_HANDLER_H
2 #define ECAL_TPG_FINEGRAINTOWEREE_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 EcalTPGFineGrainTowerEEHandler : public popcon::PopConSourceHandler<EcalTPGFineGrainTowerEE> {
45  public:
48 
49  //std::map<std::string, int> makeTTEBDetId();
50 
51  void getNewObjects() override;
52 
53  std::map<std::string, int> makeTTEEDetId();
54 
55  std::string id() const override { return m_name; }
56 
57  void readFromFile(const char* inputFile);
58  void writeFile(const char* inputFile);
59 
61 
62  private:
64  std::ostringstream streamOut;
65  streamOut << value;
66  return streamOut.str();
67  }
68 
69  unsigned int m_firstRun;
70  unsigned int m_lastRun;
71  std::map<std::string, int> mapDetEEId;
72 
80  unsigned int m_runnr;
84  unsigned int m_i_run_number;
86  };
87 } // namespace popcon
88 #endif
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
PopConSourceHandler.h
Handle.h
popcon::EcalTPGFineGrainTowerEEHandler::id
std::string id() const override
Definition: EcalTPGFineGrainTowerEEHandler.h:55
MessageLogger.h
popcon::EcalTPGFineGrainTowerEEHandler::m_i_tag
std::string m_i_tag
Definition: EcalTPGFineGrainTowerEEHandler.h:82
ESHandle.h
popcon::EcalTPGFineGrainTowerEEHandler::m_i_version
int m_i_version
Definition: EcalTPGFineGrainTowerEEHandler.h:83
edm
HLT enums.
Definition: AlignableModifier.h:19
EBDetId.h
EEDetId.h
popcon::EcalTPGFineGrainTowerEEHandler::m_runnr
unsigned int m_runnr
Definition: EcalTPGFineGrainTowerEEHandler.h:80
popcon::EcalTPGFineGrainTowerEEHandler::mapDetEEId
std::map< std::string, int > mapDetEEId
Definition: EcalTPGFineGrainTowerEEHandler.h:71
popcon::EcalTPGFineGrainTowerEEHandler::makeTTEEDetId
std::map< std::string, int > makeTTEEDetId()
EcalTPGFineGrainTowerEE.h
popcon::EcalTPGFineGrainTowerEEHandler::m_firstRun
unsigned int m_firstRun
Definition: EcalTPGFineGrainTowerEEHandler.h:69
MakerMacros.h
popcon::EcalTPGFineGrainTowerEEHandler::getNewObjects
void getNewObjects() override
Definition: EcalTPGFineGrainTowerEEHandler.cc:31
PoolDBOutputService.h
popcon::EcalTPGFineGrainTowerEEHandler::m_pass
std::string m_pass
Definition: EcalTPGFineGrainTowerEEHandler.h:77
Service.h
popcon::EcalTPGFineGrainTowerEEHandler::to_string
std::string to_string(char value[])
Definition: EcalTPGFineGrainTowerEEHandler.h:63
Event
popcon::EcalTPGFineGrainTowerEEHandler::writeFile
void writeFile(const char *inputFile)
Definition: EcalTPGFineGrainTowerEEHandler.cc:293
popcon::EcalTPGFineGrainTowerEEHandler::m_name
std::string m_name
Definition: EcalTPGFineGrainTowerEEHandler.h:79
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
popcon::EcalTPGFineGrainTowerEEHandler::m_gentag
std::string m_gentag
Definition: EcalTPGFineGrainTowerEEHandler.h:74
all_monitoring_types.h
popcon::EcalTPGFineGrainTowerEEHandler
Definition: EcalTPGFineGrainTowerEEHandler.h:44
edm::ParameterSet
Definition: ParameterSet.h:47
Timestamp.h
Event.h
ParameterSet
Definition: Functions.h:16
dtResolutionTest_cfi.inputFile
inputFile
Definition: dtResolutionTest_cfi.py:14
value
Definition: value.py:1
popcon::PopConSourceHandler
Definition: PopConSourceHandler.h:30
EcalTPGFineGrainTowerEERcd.h
popcon::EcalTPGFineGrainTowerEEHandler::m_i_fgrTTEE
int m_i_fgrTTEE
Definition: EcalTPGFineGrainTowerEEHandler.h:85
popcon::EcalTPGFineGrainTowerEEHandler::EcalTPGFineGrainTowerEEHandler
EcalTPGFineGrainTowerEEHandler(edm::ParameterSet const &)
Definition: EcalTPGFineGrainTowerEEHandler.cc:13
popcon
Definition: Exception.h:6
popcon::EcalTPGFineGrainTowerEEHandler::m_lastRun
unsigned int m_lastRun
Definition: EcalTPGFineGrainTowerEEHandler.h:70
popcon::EcalTPGFineGrainTowerEEHandler::~EcalTPGFineGrainTowerEEHandler
~EcalTPGFineGrainTowerEEHandler() override
Definition: EcalTPGFineGrainTowerEEHandler.cc:29
popcon::EcalTPGFineGrainTowerEEHandler::readFromFile
void readFromFile(const char *inputFile)
Definition: EcalTPGFineGrainTowerEEHandler.cc:255
relativeConstraints.value
value
Definition: relativeConstraints.py:53
popcon::EcalTPGFineGrainTowerEEHandler::m_location
std::string m_location
Definition: EcalTPGFineGrainTowerEEHandler.h:73
ParameterSetfwd.h
EventSetup.h
popcon::EcalTPGFineGrainTowerEEHandler::m_runtype
std::string m_runtype
Definition: EcalTPGFineGrainTowerEEHandler.h:81
popcon::EcalTPGFineGrainTowerEEHandler::m_i_run_number
unsigned int m_i_run_number
Definition: EcalTPGFineGrainTowerEEHandler.h:84
Oracle.h
EventSetup
ParameterSet.h
popcon::EcalTPGFineGrainTowerEEHandler::m_sid
std::string m_sid
Definition: EcalTPGFineGrainTowerEEHandler.h:75
EventSetupRecordKey.h
popcon::EcalTPGFineGrainTowerEEHandler::m_locationsource
std::string m_locationsource
Definition: EcalTPGFineGrainTowerEEHandler.h:78
EcalCondDBInterface.h
popcon::EcalTPGFineGrainTowerEEHandler::econn
EcalCondDBInterface * econn
Definition: EcalTPGFineGrainTowerEEHandler.h:60
popcon::EcalTPGFineGrainTowerEEHandler::m_user
std::string m_user
Definition: EcalTPGFineGrainTowerEEHandler.h:76