CMS 3D CMS Logo

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:
BeamSpotProblemMonitor::monitorName_
std::string monitorName_
Definition: BeamSpotProblemMonitor.h:44
mps_fire.i
i
Definition: mps_fire.py:428
BeamSpotProblemMonitor::BeamSpotProblemMonitor
BeamSpotProblemMonitor(const edm::ParameterSet &)
Definition: BeamSpotProblemMonitor.cc:29
DcsStatus.h
BeamSpotProblemMonitor::doTest_
const bool doTest_
Definition: BeamSpotProblemMonitor.h:54
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
BeamSpotProblemMonitor::beamSpotStatus_
double beamSpotStatus_
Definition: BeamSpotProblemMonitor.h:64
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< DcsStatusCollection >
BeamSpotProblemMonitor::fitNLumi_
const int fitNLumi_
Definition: BeamSpotProblemMonitor.h:51
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
BeamSpotOnline.h
BeamSpotProblemMonitor::trkSrc_
const edm::EDGetTokenT< reco::TrackCollection > trkSrc_
Definition: BeamSpotProblemMonitor.h:47
BeamSpotProblemMonitor::processed_
bool processed_
Definition: BeamSpotProblemMonitor.h:60
BeamSpotProblemMonitor::beamSpotFromDB_
int beamSpotFromDB_
Definition: BeamSpotProblemMonitor.h:65
BeamSpotProblemMonitor::dqmBeginLuminosityBlock
void dqmBeginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override
Definition: BeamSpotProblemMonitor.cc:101
BeamSpotProblemMonitor
Definition: BeamSpotProblemMonitor.h:26
DQMOneEDAnalyzer.h
BeamSpotProblemMonitor::nextlumi_
int nextlumi_
Definition: BeamSpotProblemMonitor.h:59
BeamSpotProblemMonitor::dcsStatus_
const edm::EDGetTokenT< DcsStatusCollection > dcsStatus_
Definition: BeamSpotProblemMonitor.h:45
Track.h
TrackFwd.h
BeamSpotProblemMonitor::nCosmicTrk_
const int nCosmicTrk_
Definition: BeamSpotProblemMonitor.h:50
BeamSpotProblemMonitor::alarmOFFThreshold_
const int alarmOFFThreshold_
Definition: BeamSpotProblemMonitor.h:56
BeamSpotProblemMonitor::beamSpotError_
MonitorElement * beamSpotError_
Definition: BeamSpotProblemMonitor.h:70
BeamSpotProblemMonitor::lastlumi_
int lastlumi_
Definition: BeamSpotProblemMonitor.h:58
BeamSpotProblemMonitor::dqmEndLuminosityBlock
void dqmEndLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override
Definition: BeamSpotProblemMonitor.cc:280
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
BeamSpotProblemMonitor::scalertag_
const edm::EDGetTokenT< BeamSpotOnlineCollection > scalertag_
Definition: BeamSpotProblemMonitor.h:46
BeamSpotProblemMonitor::dqmEndRun
void dqmEndRun(const edm::Run &r, const edm::EventSetup &c) override
Definition: BeamSpotProblemMonitor.cc:287
edm::ParameterSet
Definition: ParameterSet.h:47
BeamSpotProblemMonitor::beamSpotStatusLumi_
MonitorElement * beamSpotStatusLumi_
Definition: BeamSpotProblemMonitor.h:68
DQMOneLumiEDAnalyzer
Definition: DQMOneEDAnalyzer.h:90
BeamSpotProblemMonitor::debug_
const bool debug_
Definition: BeamSpotProblemMonitor.h:52
BeamSpotProblemMonitor::nTracks_
int nTracks_
Definition: BeamSpotProblemMonitor.h:49
edm::EventSetup
Definition: EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
alignCSCRings.r
r
Definition: alignCSCRings.py:93
BeamSpotProblemMonitor::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &)
Definition: BeamSpotProblemMonitor.cc:53
BeamSpotProblemMonitor::beamSpotStatusLumiAll_
MonitorElement * beamSpotStatusLumiAll_
Definition: BeamSpotProblemMonitor.h:69
BeamSpotProblemMonitor::fillPlots
void fillPlots(int &, int &, int)
Definition: BeamSpotProblemMonitor.cc:217
Frameworkfwd.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
BeamSpotProblemMonitor::onlineMode_
const bool onlineMode_
Definition: BeamSpotProblemMonitor.h:53
ParameterSet.h
edm::Event
Definition: Event.h:73
BeamSpotProblemMonitor::alarmONThreshold_
const int alarmONThreshold_
Definition: BeamSpotProblemMonitor.h:55
BeamSpotProblemMonitor::bookHistograms
void bookHistograms(DQMStore::IBooker &i, const edm::Run &r, const edm::EventSetup &c) override
Definition: BeamSpotProblemMonitor.cc:70
BeamSpotProblemMonitor::alarmOn_
bool alarmOn_
Definition: BeamSpotProblemMonitor.h:63
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
BeamSpotProblemMonitor::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: BeamSpotProblemMonitor.cc:123