CMS 3D CMS Logo

DTDataIntegrityTest.h
Go to the documentation of this file.
1 #ifndef DTDataIntegrity_Test_H
2 #define DTDataIntegrity_Test_H
3 
20 
22 
23 class DQMStore;
24 class MonitorElement;
25 class DTReadOutMapping;
26 
28 
29 public:
30 
33 
36 
37 protected:
38 
39  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
40 
42  std::string getMEName(std::string histoType, int FEDId);
43 
45  void bookHistos(DQMStore::IBooker &, std::string histoType, int dduId);
46 
49 
50 private:
51  int readOutToGeometry(int dduId, int rosNumber, int& wheel, int& sector);
52 
53 private:
54 
55  //Number of onUpdates
56  int nupdates;
57 
58  // prescale on the # of LS to update the test
60 
61 
62  //Counter between 0 and nTimeBin
63  int counter;
64 
65  int nevents;
66  unsigned int nLumiSegs;
67 
68  int run;
69 
71 
73 
74  // Monitor Elements
75  std::map<std::string, std::map<int, MonitorElement*> > dduHistos;
76  std::map<std::string, std::map<int, std::vector <MonitorElement*> > > dduVectorHistos;
77 
81  };
82 
83 #endif
MonitorElement * summaryTDCHisto
DTDataIntegrityTest(const edm::ParameterSet &ps)
Constructor.
~DTDataIntegrityTest()
Destructor.
MonitorElement * glbSummaryHisto
std::string getMEName(std::string histoType, int FEDId)
Get the ME name.
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
DQM Client Diagnostic.
std::map< std::string, std::map< int, std::vector< MonitorElement * > > > dduVectorHistos
MonitorElement * summaryHisto
int readOutToGeometry(int dduId, int rosNumber, int &wheel, int &sector)
edm::ESHandle< DTReadOutMapping > mapping
std::map< std::string, std::map< int, MonitorElement * > > dduHistos
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
void bookHistos(DQMStore::IBooker &, std::string histoType, int dduId)
Book the MEs.