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 beginRun(edm::Run const& run, edm::EventSetup const& context);
55 
57  void analyze(const edm::Event& e, const edm::EventSetup& c);
58 
60  void bookHistos(DQMStore::IBooker &, const DTLayerId & ch, int firstWire, int lastWire);
61 
63  std::string getMEName(std::string histoTag, const DTChamberId & chId);
64 
65 
66  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) ;
67 
70 
71 private:
72 
73  int nevents;
74  unsigned int nLumiSegs;
76  int run;
77 
81 
82  std::map< std::string , MonitorElement* > OccupancyDiffHistos;
83 
84 };
85 
86 #endif
std::string getMEName(std::string histoTag, const DTChamberId &chId)
Get the ME name.
void bookHistos(DQMStore::IBooker &, const DTLayerId &ch, int firstWire, int lastWire)
book the new ME
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 beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
DQM Client Diagnostic.
edm::ESHandle< DTTtrig > tTrigMap
edm::ESHandle< DTGeometry > muonGeom
virtual ~DTDeadChannelTest()
Destructor.
Definition: Run.h:41
void beginRun(edm::Run const &run, edm::EventSetup const &context)
BeginRun.