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; }
62  int hashedIndex,
63  const std::string &reason);
66  int hashedIndex);
69 
72 
73  private:
75  unsigned long m_sequences;
81  bool m_debug;
82  bool m_fake;
83  };
84 } // namespace popcon
85 #endif
void dumpEndcapPayload(EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap const &laserMap)
const EcalLaserAPDPNRatios * myapdpns
void notifyProblems(const EcalLaserAPDPNRatios::EcalLaserAPDPNpair &old, const EcalLaserAPDPNRatios::EcalLaserAPDPNpair &current, int hashedIndex, const std::string &reason)
bool checkAPDPN(const EcalLaserAPDPNRatios::EcalLaserAPDPNpair &old, const EcalLaserAPDPNRatios::EcalLaserAPDPNpair &current, int hashedIndex)
bool checkAPDPNs(const EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap &laserMap, const EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap &apdpns_popcon)
EcalCondDBInterface * econn
int hashedIndex(int ieta, int iphi)
Definition: EcalPyUtils.cc:36
EcalLaserHandler(edm::ParameterSet const &)
HLT enums.
void dumpBarrelPayload(EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap const &laserMap)
float x
double diff(float x, float old_x)
std::string id() const override