CMS 3D CMS Logo

EcalPulseShapesHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_PULSESHAPES_HANDLER_H
2 #define ECAL_PULSESHAPES_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 
32 namespace edm {
33  class ParameterSet;
34  class Event;
35  class EventSetup;
36 } // namespace edm
37 
38 namespace popcon {
39 
40  class EcalPulseShapesHandler : public popcon::PopConSourceHandler<EcalPulseShapes> {
41  public:
43  ~EcalPulseShapesHandler() override;
45  void fillSimPulseShape(EcalPulseShapes::Item* item, bool isbarrel);
46  void getNewObjects() override;
47  std::string id() const override { return m_name; }
48 
49  private:
51 
52  unsigned int m_firstRun;
53  unsigned int m_lastRun;
54 
59  };
60 } // namespace popcon
61 #endif
PopConSourceHandler.h
popcon::EcalPulseShapesHandler::EcalPulseShapesHandler
EcalPulseShapesHandler(edm::ParameterSet const &)
Definition: EcalPulseShapesHandler.cc:7
Handle.h
MessageLogger.h
ESHandle.h
edm
HLT enums.
Definition: AlignableModifier.h:19
EBDetId.h
EEDetId.h
popcon::EcalPulseShapesHandler::m_firstRun
unsigned int m_firstRun
Definition: EcalPulseShapesHandler.h:52
EcalCondObjectContainer
Definition: EcalCondObjectContainer.h:13
popcon::EcalPulseShapesHandler::~EcalPulseShapesHandler
~EcalPulseShapesHandler() override
Definition: EcalPulseShapesHandler.cc:16
popcon::EcalPulseShapesHandler::m_filename
std::string m_filename
Definition: EcalPulseShapesHandler.h:56
MakerMacros.h
popcon::EcalPulseShapesHandler::m_EBPulseShapeTemplate
std::vector< double > m_EBPulseShapeTemplate
Definition: EcalPulseShapesHandler.h:58
PoolDBOutputService.h
Service.h
popcon::EcalPulseShapesHandler::m_lastRun
unsigned int m_lastRun
Definition: EcalPulseShapesHandler.h:53
Event
popcon::EcalPulseShapesHandler::mypulseshapes
const EcalPulseShapes * mypulseshapes
Definition: EcalPulseShapesHandler.h:50
EcalPulseShapes.h
edm::ParameterSet
Definition: ParameterSet.h:47
Timestamp.h
Event.h
ParameterSet
Definition: Functions.h:16
EcalCondObjectContainer::Item
T Item
Definition: EcalCondObjectContainer.h:15
popcon::EcalPulseShapesHandler::getNewObjects
void getNewObjects() override
Definition: EcalPulseShapesHandler.cc:34
popcon::EcalPulseShapesHandler::m_gentag
std::string m_gentag
Definition: EcalPulseShapesHandler.h:55
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
popcon::PopConSourceHandler
Definition: PopConSourceHandler.h:30
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
popcon::EcalPulseShapesHandler::checkPulseShape
bool checkPulseShape(EcalPulseShapes::Item *item)
Definition: EcalPulseShapesHandler.cc:18
popcon::EcalPulseShapesHandler::fillSimPulseShape
void fillSimPulseShape(EcalPulseShapes::Item *item, bool isbarrel)
Definition: EcalPulseShapesHandler.cc:28
popcon::EcalPulseShapesHandler::m_EEPulseShapeTemplate
std::vector< double > m_EEPulseShapeTemplate
Definition: EcalPulseShapesHandler.h:58
popcon
Definition: Exception.h:6
popcon::EcalPulseShapesHandler::id
std::string id() const override
Definition: EcalPulseShapesHandler.h:47
popcon::EcalPulseShapesHandler
Definition: EcalPulseShapesHandler.h:40
ParameterSetfwd.h
EventSetup.h
popcon::EcalPulseShapesHandler::m_name
std::string m_name
Definition: EcalPulseShapesHandler.h:57
EventSetup
ParameterSet.h
EventSetupRecordKey.h
EcalPulseShapesRcd.h