CMS 3D CMS Logo

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