CMS 3D CMS Logo

EcalTPGPedestalsHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_TPG_PEDESTALS_HANDLER_H
2 #define ECAL_TPG_PEDESTALS_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 EcalTPGPedestalsHandler : public popcon::PopConSourceHandler<EcalTPGPedestals> {
46  std::ostringstream streamOut;
47  streamOut << value;
48  return streamOut.str();
49  }
50 
51  public:
53  ~EcalTPGPedestalsHandler() override;
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 
66  unsigned int m_firstRun;
67  unsigned int m_lastRun;
68 
76  unsigned int m_runnr;
80  unsigned int m_i_run_number;
81  int m_i_ped;
82  };
83 } // namespace popcon
84 #endif
popcon::EcalTPGPedestalsHandler::writeFile
void writeFile(const char *inputFile)
Definition: EcalTPGPedestalsHandler.cc:300
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
PopConSourceHandler.h
Handle.h
MessageLogger.h
ESHandle.h
popcon::EcalTPGPedestalsHandler::m_pass
std::string m_pass
Definition: EcalTPGPedestalsHandler.h:73
edm
HLT enums.
Definition: AlignableModifier.h:19
EBDetId.h
EEDetId.h
EcalCondObjectContainer< EcalTPGPedestal >
popcon::EcalTPGPedestalsHandler::m_firstRun
unsigned int m_firstRun
Definition: EcalTPGPedestalsHandler.h:66
popcon::EcalTPGPedestalsHandler::EcalTPGPedestalsHandler
EcalTPGPedestalsHandler(edm::ParameterSet const &)
Definition: EcalTPGPedestalsHandler.cc:23
MakerMacros.h
PoolDBOutputService.h
popcon::EcalTPGPedestalsHandler::to_string
std::string to_string(char value[])
Definition: EcalTPGPedestalsHandler.h:45
Service.h
Event
popcon::EcalTPGPedestalsHandler::m_locationsource
std::string m_locationsource
Definition: EcalTPGPedestalsHandler.h:74
popcon::EcalTPGPedestalsHandler::m_lastRun
unsigned int m_lastRun
Definition: EcalTPGPedestalsHandler.h:67
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
popcon::EcalTPGPedestalsHandler::m_runtype
std::string m_runtype
Definition: EcalTPGPedestalsHandler.h:77
all_monitoring_types.h
edm::ParameterSet
Definition: ParameterSet.h:36
Timestamp.h
Event.h
ParameterSet
Definition: Functions.h:16
popcon::EcalTPGPedestalsHandler::mypedestals
const EcalTPGPedestals * mypedestals
Definition: EcalTPGPedestalsHandler.h:64
popcon::EcalTPGPedestalsHandler::readFromFile
void readFromFile(const char *inputFile)
Definition: EcalTPGPedestalsHandler.cc:262
popcon::EcalTPGPedestalsHandler::m_runnr
unsigned int m_runnr
Definition: EcalTPGPedestalsHandler.h:76
dtResolutionTest_cfi.inputFile
inputFile
Definition: dtResolutionTest_cfi.py:14
value
Definition: value.py:1
popcon::EcalTPGPedestalsHandler::getNewObjects
void getNewObjects() override
Definition: EcalTPGPedestalsHandler.cc:41
popcon::EcalTPGPedestalsHandler::id
std::string id() const override
Definition: EcalTPGPedestalsHandler.h:56
EcalTPGPedestals.h
popcon::EcalTPGPedestalsHandler::m_i_version
int m_i_version
Definition: EcalTPGPedestalsHandler.h:79
popcon::EcalTPGPedestalsHandler::m_sid
std::string m_sid
Definition: EcalTPGPedestalsHandler.h:71
popcon::PopConSourceHandler
Definition: PopConSourceHandler.h:30
popcon
Definition: Exception.h:6
popcon::EcalTPGPedestalsHandler::m_name
std::string m_name
Definition: EcalTPGPedestalsHandler.h:75
popcon::EcalTPGPedestalsHandler::m_i_run_number
unsigned int m_i_run_number
Definition: EcalTPGPedestalsHandler.h:80
relativeConstraints.value
value
Definition: relativeConstraints.py:53
ParameterSetfwd.h
EventSetup.h
popcon::EcalTPGPedestalsHandler::m_i_tag
std::string m_i_tag
Definition: EcalTPGPedestalsHandler.h:78
EcalTPGPedestalsRcd.h
popcon::EcalTPGPedestalsHandler
Definition: EcalTPGPedestalsHandler.h:44
Oracle.h
popcon::EcalTPGPedestalsHandler::m_location
std::string m_location
Definition: EcalTPGPedestalsHandler.h:69
EventSetup
ParameterSet.h
EventSetupRecordKey.h
popcon::EcalTPGPedestalsHandler::m_user
std::string m_user
Definition: EcalTPGPedestalsHandler.h:72
EcalCondDBInterface.h
popcon::EcalTPGPedestalsHandler::m_gentag
std::string m_gentag
Definition: EcalTPGPedestalsHandler.h:70
popcon::EcalTPGPedestalsHandler::econn
EcalCondDBInterface * econn
Definition: EcalTPGPedestalsHandler.h:61
popcon::EcalTPGPedestalsHandler::~EcalTPGPedestalsHandler
~EcalTPGPedestalsHandler() override
Definition: EcalTPGPedestalsHandler.cc:39
popcon::EcalTPGPedestalsHandler::m_i_ped
int m_i_ped
Definition: EcalTPGPedestalsHandler.h:81