CMS 3D CMS Logo

EcalLaserHandler.h
Go to the documentation of this file.
1 #ifndef ECAL_LASER_HANDLER_H
2 #define ECAL_LASER_HANDLER_H
3 
4 #include <vector>
5 #include <typeinfo>
6 #include <string>
7 #include <map>
8 #include <iostream>
9 #include <ctime>
10 
13 
24 
33 
36 
39 
43 
44 namespace edm {
45  class ParameterSet;
46  class Event;
47  class EventSetup;
48 } // namespace edm
49 
50 namespace popcon {
51  class EcalLaserHandler : public popcon::PopConSourceHandler<EcalLaserAPDPNRatios> {
52  public:
53  void getNewObjects() override;
54  double diff(float x, float old_x);
55  ~EcalLaserHandler() override;
57 
59  std::string id() const override { return m_name; }
60  void notifyProblems(const EcalLaserAPDPNRatios::EcalLaserAPDPNpair &old,
62  int hashedIndex,
63  const std::string &reason);
64  bool checkAPDPN(const EcalLaserAPDPNRatios::EcalLaserAPDPNpair &old,
66  int hashedIndex);
67  bool checkAPDPNs(const EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap &laserMap,
69 
70  void dumpBarrelPayload(EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap const &laserMap);
71  void dumpEndcapPayload(EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap const &laserMap);
72 
73  private:
75  unsigned long m_sequences;
81  bool m_debug;
82  bool m_fake;
83  };
84 } // namespace popcon
85 #endif
const EcalLaserAPDPNRatios * myapdpns
EcalCondDBInterface * econn
int hashedIndex(int ieta, int iphi)
Definition: EcalPyUtils.cc:38
std::string id() const override
HLT enums.