CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTDeadChannelTest.h
Go to the documentation of this file.
1 #ifndef DTDeadChannelTest_H
2 #define DTDeadChannelTest_H
3 
4 
22 
26 
27 
28 #include <memory>
29 #include <iostream>
30 #include <fstream>
31 #include <string>
32 #include <vector>
33 #include <map>
34 
35 class DTGeometry;
36 class DTChamberId;
37 class DTSuperLayerId;
38 class DTLayerId;
39 class DTTtrig;
40 
42 
43 public:
44 
47 
49  virtual ~DTDeadChannelTest();
50 
51 protected:
52 
54  void beginJob();
55 
57  void beginRun(edm::Run const& run, edm::EventSetup const& context);
58 
60  void analyze(const edm::Event& e, const edm::EventSetup& c);
61 
63  void endJob();
64 
66  void bookHistos(const DTLayerId & ch, int firstWire, int lastWire);
67 
69  std::string getMEName(std::string histoTag, const DTChamberId & chId);
70 
71 
72  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) ;
73 
75  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c);
76 
77 
78 
79 
80 private:
81 
82  int nevents;
83  unsigned int nLumiSegs;
85  int run;
86 
88 
92 
93  std::map< std::string , MonitorElement* > OccupancyDiffHistos;
94 
95 };
96 
97 #endif
std::string getMEName(std::string histoTag, const DTChamberId &chId)
Get the ME name.
void endJob()
Endjob.
DTDeadChannelTest(const edm::ParameterSet &ps)
Constructor.
unsigned int nLumiSegs
std::map< std::string, MonitorElement * > OccupancyDiffHistos
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
edm::ParameterSet parameters
void beginJob()
BeginJob.
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
void bookHistos(const DTLayerId &ch, int firstWire, int lastWire)
book the new ME
edm::ESHandle< DTTtrig > tTrigMap
edm::ESHandle< DTGeometry > muonGeom
virtual ~DTDeadChannelTest()
Destructor.
Definition: Run.h:41
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
DQM Client Diagnostic.
void beginRun(edm::Run const &run, edm::EventSetup const &context)
BeginRun.