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 
35  ~DTDataIntegrityTest() override;
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  // to use in 2018 with uROS
62  bool checkUros;
63 
64  //Counter between 0 and nTimeBin
65  int counter;
66 
67  int nevents;
68  unsigned int nLumiSegs;
69 
70  int run;
71 
73 
75 
76  // Monitor Elements
77  std::map<std::string, std::map<int, MonitorElement*> > dduHistos;
78  std::map<std::string, std::map<int, std::vector <MonitorElement*> > > dduVectorHistos;
79 
80  std::map<std::string, std::map<int, MonitorElement*> > fedHistos;
81  std::map<std::string, std::map<int, std::vector <MonitorElement*> > > fedVectorHistos;
82 
86  };
87 
88 #endif
std::map< std::string, std::map< int, MonitorElement * > > fedHistos
MonitorElement * summaryTDCHisto
DTDataIntegrityTest(const edm::ParameterSet &ps)
Constructor.
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
std::map< std::string, std::map< int, std::vector< MonitorElement * > > > fedVectorHistos
~DTDataIntegrityTest() override
Destructor.
void bookHistos(DQMStore::IBooker &, std::string histoType, int dduId)
Book the MEs.