CMS 3D CMS Logo

EcalPedestalsHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_PEDESTALS_HANDLER_H
2 #define ECAL_PEDESTALS_HANDLER_H
3 
4 #include <vector>
5 #include <typeinfo>
6 #include <string>
7 #include <map>
8 #include <iostream>
9 #include <ctime>
10 
13 
14 
25 
26 
27 
36 
40 
44 
45 namespace edm {
46  class ParameterSet;
47  class Event;
48  class EventSetup;
49 }
50 
51 namespace popcon {
52 
53  class EcalPedestalsHandler : public popcon::PopConSourceHandler<EcalPedestals> {
54 
55  public:
57  ~EcalPedestalsHandler() override;
58  bool checkPedestal(EcalPedestals::Item* item);
59  void getNewObjects() override;
60  void getNewObjectsP5();
61  void getNewObjectsH2();
62  void readPedestalFile();
63  void readPedestalTree();
64  void readPedestalTimestamp();
65  void readPedestal2017();
66  std::string id() const override { return m_name;}
68 
69  private:
71 
72  unsigned int m_firstRun ;
73  unsigned int m_lastRun ;
74 
84  int m_runtype;
85 
86  };
87 }
88 #endif
89 
std::string id() const override
EcalCondHandler< EcalPedestals, EcalPedestalsXMLTranslator > EcalPedestalsHandler
const EcalPedestals * mypedestals
HLT enums.