CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 <time.h>
10 
13 
14 
25 
26 
27 
36 
39 
42 
46 
47 namespace edm {
48  class ParameterSet;
49  class Event;
50  class EventSetup;
51 }
52 
53 namespace popcon
54 {
55  class EcalLaserHandler : public popcon::PopConSourceHandler<EcalLaserAPDPNRatios>
56  {
57 
58  public:
59  void getNewObjects();
60  double diff(float x, float old_x);
63 
65  std::string id() const { return m_name;}
68  int hashedIndex, const std::string &reason);
71  int hashedIndex);
74 
77 
78  private:
80  unsigned long m_sequences;
81  std::string m_sid;
82  std::string m_user;
83  std::string m_pass;
84  std::string m_name;
85  std::string m_maxtime;
86  bool m_debug;
87  bool m_fake;
88  };
89 }
90 #endif
void dumpEndcapPayload(EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap const &laserMap)
const EcalLaserAPDPNRatios * myapdpns
std::string id() const
void notifyProblems(const EcalLaserAPDPNRatios::EcalLaserAPDPNpair &old, const EcalLaserAPDPNRatios::EcalLaserAPDPNpair &current, int hashedIndex, const std::string &reason)
string reason
Definition: Association.py:177
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:42
EcalLaserHandler(edm::ParameterSet const &)
void dumpBarrelPayload(EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap const &laserMap)
Definition: DDAxes.h:10
double diff(float x, float old_x)