CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BeamSpotProblemMonitor.h
Go to the documentation of this file.
1 #ifndef BeamSpotProblemMonitor_H
2 #define BeamSpotProblemMonitor_H
3 
12 // C++
13 #include <string>
14 // CMS
23 #include <fstream>
24 
25 
26 //
27 // class declaration
28 //
29 
31  public:
32 
35 
36  protected:
37 
38  //The order it runs
39 
40 
41  // BeginJob
42  void beginJob();
43 
44  // BeginRun
45  void beginRun(const edm::Run& r, const edm::EventSetup& c);
46  void analyze(const edm::Event& e, const edm::EventSetup& c) ;
47  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
48  const edm::EventSetup& context) ;
49  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
50  const edm::EventSetup& c);
51  // EndRun
52  void endRun(const edm::Run& r, const edm::EventSetup& c);
53  // Endjob
54  void endJob(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& c);
55 
56 
57  private:
58 
59  void FillPlots(const edm::LuminosityBlock& lumiSeg,int&,int&,int&);
62  edm::InputTag scalertag_; // scalar colleciton
63  edm::InputTag trkSrc_; // track collection
64 
65  int Ntracks_;
67  int fitNLumi_;
69  bool debug_;
71  bool doTest_;
74 
76 
77  int lastlumi_; // previous LS processed
78  int nextlumi_; // next LS of Fit
80  bool processed_;
81 
82  //Alarm Variable
83  bool ALARM_ON_;
84  double BeamSpotStatus_;
86  bool dcsTk[6];
87 
88  // MonitorElements:
89  std::map<TString, MonitorElement*> hs;
91 
92 };
93 
94 #endif
95 
void analyze(const edm::Event &e, const edm::EventSetup &c)
void beginRun(const edm::Run &r, const edm::EventSetup &c)
std::map< TString, MonitorElement * > hs
void endRun(const edm::Run &r, const edm::EventSetup &c)
BeamSpotProblemMonitor(const edm::ParameterSet &)
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
virtual void endJob()
Definition: EDAnalyzer.h:60
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
Definition: Run.h:36
void FillPlots(const edm::LuminosityBlock &lumiSeg, int &, int &, int &)