CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
BeamSpotProblemMonitor.h
Go to the documentation of this file.
1 #ifndef BeamSpotProblemMonitor_H
2 #define BeamSpotProblemMonitor_H
3 
10 // C++
11 #include <string>
12 // CMS
21 
22 //
23 // class declaration
24 //
25 
27 public:
30 
31 protected:
32  //The order it runs
33 
34  // BeginRun
35  void bookHistograms(DQMStore::IBooker& i, const edm::Run& r, const edm::EventSetup& c) override;
36  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
37  void dqmBeginLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& context) override;
38  void dqmEndLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& c) override;
39  // EndRun
40  void dqmEndRun(const edm::Run& r, const edm::EventSetup& c) override;
41 
42 private:
43  void fillPlots(int&, int&, int);
45  const edm::EDGetTokenT<DcsStatusCollection> dcsStatus_; // dcs status collection
48 
49  int nTracks_;
50  const int nCosmicTrk_;
51  const int fitNLumi_;
52  const bool debug_;
53  const bool onlineMode_;
54  const bool doTest_;
55  const int alarmONThreshold_;
56  const int alarmOFFThreshold_;
57 
58  int lastlumi_; // previous LS processed
59  int nextlumi_; // next LS of Fit
60  bool processed_;
61 
62  //Alarm Variable
63  bool alarmOn_;
66 
67  // MonitorElements:
71 };
72 
73 #endif
74 
75 // Local Variables:
76 // show-trailing-whitespace: t
77 // truncate-lines: t
78 // End:
const edm::EDGetTokenT< BeamSpotOnlineCollection > scalertag_
void dqmEndRun(const edm::Run &r, const edm::EventSetup &c) override
const edm::EventSetup & c
MonitorElement * beamSpotStatusLumi_
static void fillDescriptions(edm::ConfigurationDescriptions &)
void fillPlots(int &, int &, int)
MonitorElement * beamSpotStatusLumiAll_
BeamSpotProblemMonitor(const edm::ParameterSet &)
void bookHistograms(DQMStore::IBooker &i, const edm::Run &r, const edm::EventSetup &c) override
void analyze(const edm::Event &e, const edm::EventSetup &c) override
const edm::EDGetTokenT< DcsStatusCollection > dcsStatus_
void dqmEndLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override
void dqmBeginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override
const edm::EDGetTokenT< reco::TrackCollection > trkSrc_
Definition: Run.h:45