CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTNoiseTest.h
Go to the documentation of this file.
1 #ifndef DTNoiseTest_H
2 #define DTNoiseTest_H
3 
4 
5 
28 
32 
34 
37 
40 
41 
42 #include <memory>
43 #include <iostream>
44 #include <fstream>
45 #include <string>
46 #include <vector>
47 #include <map>
48 
49 class DTGeometry;
50 class DTChamberId;
51 class DTSuperLayerId;
52 class DTLayerId ;
53 class DTWireId;
54 
56 
57 public:
58 
60  DTNoiseTest(const edm::ParameterSet& ps);
61 
63  virtual ~DTNoiseTest();
64 
65 protected:
66 
67  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
68 
70  void bookHistos(DQMStore::IBooker &, const DTChamberId & ch, std::string folder, std::string histoTag);
71  void bookHistos(DQMStore::IBooker &, const DTLayerId & ch, int nWire,std::string folder, std::string histoTag);
72 
74  std::string getMEName(const DTChamberId & ch);
75  std::string getMEName(const DTLayerId & ly);
76 
79 
80 
81 
82 private:
83 
84  bool debug;
85  int updates;
86  unsigned int nLumiSegs;
88  int run;
89 
91 
95 
96  // the collection of noisy channels
97  std::vector<DTWireId> theNoisyChannels;
98 
99  // histograms: < detRawID, Histogram >
100  std::map<std::string, std::map<uint32_t, MonitorElement*> > histos;
101 
102 };
103 
104 #endif
void bookHistos(DQMStore::IBooker &, const DTChamberId &ch, std::string folder, std::string histoTag)
book the new ME
edm::ESHandle< DTGeometry > muonGeom
Definition: DTNoiseTest.h:93
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
DQM Client Diagnostic.
Definition: DTNoiseTest.cc:59
std::vector< DTWireId > theNoisyChannels
Definition: DTNoiseTest.h:97
unsigned int nLumiSegs
Definition: DTNoiseTest.h:86
DTNoiseTest(const edm::ParameterSet &ps)
Constructor.
Definition: DTNoiseTest.cc:39
bool bookingdone
Definition: DTNoiseTest.h:90
edm::ESHandle< DTTtrig > tTrigMap
Definition: DTNoiseTest.h:94
int prescaleFactor
Definition: DTNoiseTest.h:87
edm::ParameterSet parameters
Definition: DTNoiseTest.h:92
virtual ~DTNoiseTest()
Destructor.
Definition: DTNoiseTest.cc:53
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition: DTNoiseTest.cc:221
std::string getMEName(const DTChamberId &ch)
Get the ME name.
Definition: DTNoiseTest.cc:227
std::map< std::string, std::map< uint32_t, MonitorElement * > > histos
Definition: DTNoiseTest.h:100