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 
24 
28 
29 
30 #include <memory>
31 #include <iostream>
32 #include <fstream>
33 #include <string>
34 #include <vector>
35 #include <map>
36 
37 class DTGeometry;
38 class DTChamberId;
39 class DTSuperLayerId;
40 class DTLayerId;
41 class DTTtrig;
42 
44 
45 public:
46 
49 
51  virtual ~DTDeadChannelTest();
52 
53 protected:
54 
56  void beginJob();
57 
59  void beginRun(edm::Run const& run, edm::EventSetup const& context);
60 
62  void analyze(const edm::Event& e, const edm::EventSetup& c);
63 
65  void endJob();
66 
68  void bookHistos(const DTLayerId & ch, int firstWire, int lastWire);
69 
71  std::string getMEName(std::string histoTag, const DTChamberId & chId);
72 
73 
74  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) ;
75 
77  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c);
78 
79 
80 
81 
82 private:
83 
84  int nevents;
85  unsigned int nLumiSegs;
87  int run;
88 
90 
94 
95  std::map< std::string , MonitorElement* > OccupancyDiffHistos;
96 
97 };
98 
99 #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:33
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
DQM Client Diagnostic.
void beginRun(edm::Run const &run, edm::EventSetup const &context)
BeginRun.