7 #include "DD4hep/Detector.h" 38 #include "DD4hep/DetElement.h" 48 description.apply( name.c_str(), 2, (
char**)files );
54 std::cout <<
"DD Vector Registry size: " << registry->size() <<
"\n";
55 for(
const auto&
p: *registry ) {
57 for(
const auto&
i :
p.second )
61 std::cout <<
"Iterate over the detectors:\n";
62 for( dd4hep::Detector::HandleMap::const_iterator
i = description.detectors().begin();
i != description.detectors().end(); ++
i ) {
63 dd4hep::DetElement det( (*i).second );
64 std::cout << (*i).first <<
": " << det.path() <<
"\n";
T getParameter(std::string const &) const
std::vector< std::string > m_relFiles
#define DEFINE_FWK_MODULE(type)
std::vector< std::string > m_files
DDCMSDetector(const edm::ParameterSet &p)
void analyze(edm::Event const &iEvent, edm::EventSetup const &) override
std::string m_confGeomXMLFiles
std::string fullPath() const