CMS 3D CMS Logo

DTDataIntegrityTest.h
Go to the documentation of this file.
1 #ifndef DTDataIntegrity_Test_H
2 #define DTDataIntegrity_Test_H
3 
22 
24 
25 class DTReadOutMapping;
26 
28 public:
31 
33  ~DTDataIntegrityTest() override;
34 
35 protected:
36  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
37 
39  std::string getMEName(std::string histoType, int FEDId);
40 
42  void bookHistos(DQMStore::IBooker &, std::string histoType, int dduId);
43 
47  edm::LuminosityBlock const &,
48  edm::EventSetup const &) override;
49 
50 private:
51  int readOutToGeometry(int dduId, int rosNumber, int &wheel, int &sector);
52  int getROS(int uROS, int link);
53 
54  //Number of onUpdates
55  int nupdates;
56 
57  // prescale on the # of LS to update the test
59 
60  // to use in 2018 with uROS
61  bool checkUros;
62 
63  //Counter between 0 and nTimeBin
64  int counter;
65 
66  int nevents;
67  unsigned int nLumiSegs;
68 
69  int run;
70 
72 
74 
75  // Monitor Elements
76  std::map<std::string, std::map<int, MonitorElement *> > dduHistos;
77  std::map<std::string, std::map<int, std::vector<MonitorElement *> > > dduVectorHistos;
78 
79  std::map<std::string, std::map<int, MonitorElement *> > fedHistos;
80  std::map<std::string, std::map<int, std::vector<MonitorElement *> > > fedVectorHistos;
81 
85 };
86 
87 #endif
MonitorElement * summaryTDCHisto
DTDataIntegrityTest(const edm::ParameterSet &ps)
Constructor.
MonitorElement * glbSummaryHisto
std::map< std::string, std::map< int, MonitorElement * > > fedHistos
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, MonitorElement * > > dduHistos
std::map< std::string, std::map< int, std::vector< MonitorElement * > > > dduVectorHistos
std::map< std::string, std::map< int, std::vector< MonitorElement * > > > fedVectorHistos
MonitorElement * summaryHisto
int readOutToGeometry(int dduId, int rosNumber, int &wheel, int &sector)
edm::ESHandle< DTReadOutMapping > mapping
int getROS(int uROS, int link)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
~DTDataIntegrityTest() override
Destructor.
void bookHistos(DQMStore::IBooker &, std::string histoType, int dduId)
Book the MEs.