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;
44  bool checkPulseShape(EcalPulseShapes::Item* item);
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 
58  std::vector<double> m_EBPulseShapeTemplate, m_EEPulseShapeTemplate;
59  };
60 } // namespace popcon
61 #endif
const EcalPulseShapes * mypulseshapes
std::string id() const override
std::vector< double > m_EEPulseShapeTemplate
HLT enums.
EcalCondHandler< EcalPulseShapes, EcalPulseShapesXMLTranslator > EcalPulseShapesHandler