CMS 3D CMS Logo

DDTestMuonNumbering.cc
Go to the documentation of this file.
8 
10 public:
12 
13  void beginJob() override {}
14  void analyze(edm::Event const& iEvent, edm::EventSetup const&) override;
15  void endJob() override {}
16 };
17 
18 void
20 {
21  edm::LogVerbatim("Geometry") << "DDTestMuonNumbering::analyze";
23  iEventSetup.get<MuonNumberingRecord>().get(numbering);
24 
25  edm::LogVerbatim("Geometry") << "MuonNumbering size: " << numbering->values().size();
26  edm::LogVerbatim("Geometry").log([&numbering](auto& log) {
27  for(const auto& i: numbering->values()) {
28  log << " " << i.first << " = " << i.second;
29  log << '\n';
30  }
31  });
32 }
33 
void analyze(edm::Event const &iEvent, edm::EventSetup const &) override
int iEvent
Definition: GenABIO.cc:224
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
LogVerbatim & log(F &&iF)
void beginJob() override
DDTestMuonNumbering(const edm::ParameterSet &)
const MuonConstants & values() const
T get() const
Definition: EventSetup.h:71