12 #include "DD4hep/Detector.h" 28 void endJob()
override;
37 : m_tag(iConfig.getParameter<
ESInputTag>(
"DDDetector")),
44 LogVerbatim(
"Geometry") <<
"Iterate over the detectors:\n";
46 for (
auto const& it : det->
description()->detectors()) {
47 dd4hep::DetElement det(it.second);
48 log << it.first <<
": " << det.path();
57 for (
const auto&
p : registry->
vectors) {
58 log <<
" " << p.first <<
" => ";
59 for (const auto& i : p.second)
DDCMSDetector(const ParameterSet &p)
Log< level::Info, true > LogVerbatim
#define DEFINE_FWK_MODULE(type)
dd4hep::Detector const * description() const
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
void analyze(Event const &iEvent, EventSetup const &) override
const ESGetToken< DDVectorRegistry, DDVectorRegistryRcd > m_registryToken
const ESGetToken< DDDetector, IdealGeometryRecord > m_detectorToken
Namespace of DDCMS conversion namespace.
ESTransientHandle< T > getTransientHandle(const ESGetToken< T, R > &iToken) const