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 readPedestalMC();
64  void readPedestalTree();
65  void readPedestalTimestamp();
66  void readPedestal2017();
67  std::string id() const override { return m_name;}
69 
70  private:
72 
73  unsigned int m_firstRun ;
74  unsigned int m_lastRun ;
75 
85  int m_runtype;
87 
88  };
89 }
90 #endif
91 
std::string id() const override
EcalCondHandler< EcalPedestals, EcalPedestalsXMLTranslator > EcalPedestalsHandler
const EcalPedestals * mypedestals
HLT enums.