CMS 3D CMS Logo

SiStripDaqInfo.h
Go to the documentation of this file.
1 #ifndef SiStripMonitorClient_SiStripDaqInfo_h
2 #define SiStripMonitorClient_SiStripDaqInfo_h
3 // -*- C++ -*-
4 //
5 // Package: SiStripMonitorClient
6 // Class : SiStripDaqInfo
7 //
17 //
18 // Author: Suchandra Dutta
19 // Created: Thu Dec 11 17:50:00 CET 2008
20 //
21 
22 #include <string>
23 
30 
31 #include <iostream>
32 #include <fstream>
33 #include <string>
34 #include <vector>
35 #include <map>
36 
37 class DQMStore;
38 class MonitorElement;
39 class SiStripFedCabling;
40 class TrackerTopology;
41 
43 public:
45 
46 private:
47  void beginRun(edm::Run const& run, edm::EventSetup const& eSetup) override;
48  void analyze(edm::Event const&, edm::EventSetup const&) override;
49 
50  void readFedIds(edm::ESHandle<SiStripFedCabling> const& fedcabling,
51  edm::EventSetup const& iSetup);
52  void readSubdetFedFractions(DQMStore& dqm_store,
53  std::vector<int> const& fed_ids,
54  edm::EventSetup const& iSetup);
55  void bookStatus(DQMStore& dqm_store);
56  void fillDummyStatus(DQMStore& dqm_store);
57  void findExcludedModule(DQMStore& dqm_store,
58  unsigned short fed_id,
59  TrackerTopology const* tTopo);
60 
61  std::map<std::string, std::vector<unsigned short>> subDetFedMap_;
62 
64 
65  struct SubDetMEs{
68  };
69 
70  std::map<std::string, SubDetMEs> subDetMEsMap_;
71 
72  unsigned long long m_cacheID_{};
73  int nFedTotal_{};
74  bool bookedStatus_{false};
75 
77 };
78 #endif
void findExcludedModule(DQMStore &dqm_store, unsigned short fed_id, TrackerTopology const *tTopo)
void readSubdetFedFractions(DQMStore &dqm_store, std::vector< int > const &fed_ids, edm::EventSetup const &iSetup)
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override
void bookStatus(DQMStore &dqm_store)
MonitorElement * daqFractionME
std::map< std::string, std::vector< unsigned short > > subDetFedMap_
void readFedIds(edm::ESHandle< SiStripFedCabling > const &fedcabling, edm::EventSetup const &iSetup)
void analyze(edm::Event const &, edm::EventSetup const &) override
SiStripDaqInfo(edm::ParameterSet const &ps)
std::map< std::string, SubDetMEs > subDetMEsMap_
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses...
MonitorElement * daqFraction_
void fillDummyStatus(DQMStore &dqm_store)
unsigned long long m_cacheID_
Definition: Run.h:45
edm::ESHandle< SiStripFedCabling > fedCabling_