CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LaserClient.h
Go to the documentation of this file.
1 #ifndef LaserClient_H
2 #define LaserClient_H
3 
5 
7 
8 namespace ecaldqm {
9 
10  class LaserClient : public DQWorkerClient {
11  public:
14 
15  void bookMEs() override;
16 
17  void initialize() override;
18 
19  void beginRun(const edm::Run&, const edm::EventSetup&) override;
20 
21  void producePlots() override;
22 
23  enum Constants {
26  };
27 
28  enum MESets {
39  };
40 
41  static void setMEData(std::vector<MEData>&);
42 
43  enum Sources {
48  };
49 
50  protected:
51  std::vector<int> laserWavelengths_;
52  std::vector<int> MGPAGainsPN_;
53 
55  std::vector<double> expectedAmplitude_;
56  std::vector<double> amplitudeThreshold_;
57  std::vector<double> amplitudeRMSThreshold_;
58  std::vector<double> expectedTiming_;
59  std::vector<double> timingThreshold_;
60  std::vector<double> timingRMSThreshold_;
61  std::vector<double> expectedPNAmplitude_;
62  std::vector<double> pnAmplitudeThreshold_;
63  std::vector<double> pnAmplitudeRMSThreshold_;
64 
66 
67  std::map<std::pair<unsigned, int>, float> ampCorrections_;
68  };
69 
70 }
71 
72 #endif
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition: LaserClient.cc:164
void bookMEs() override
Definition: LaserClient.cc:141
std::vector< int > laserWavelengths_
Definition: LaserClient.h:51
std::vector< double > expectedAmplitude_
Definition: LaserClient.h:55
void producePlots() override
Definition: LaserClient.cc:179
std::vector< double > timingThreshold_
Definition: LaserClient.h:59
void initialize() override
Definition: LaserClient.cc:122
std::vector< double > expectedTiming_
Definition: LaserClient.h:58
std::vector< double > pnAmplitudeThreshold_
Definition: LaserClient.h:62
LaserClient(const edm::ParameterSet &, const edm::ParameterSet &)
Definition: LaserClient.cc:11
std::vector< double > expectedPNAmplitude_
Definition: LaserClient.h:61
std::vector< double > amplitudeThreshold_
Definition: LaserClient.h:56
std::vector< double > amplitudeRMSThreshold_
Definition: LaserClient.h:57
std::map< std::pair< unsigned, int >, float > ampCorrections_
Definition: LaserClient.h:67
std::vector< double > timingRMSThreshold_
Definition: LaserClient.h:60
std::vector< int > MGPAGainsPN_
Definition: LaserClient.h:52
static void setMEData(std::vector< MEData > &)
Definition: LaserClient.cc:285
Definition: Run.h:41
std::vector< double > pnAmplitudeRMSThreshold_
Definition: LaserClient.h:63