4 #include "DD4hep/Detector.h" 5 #include "DD4hep/DD4hepRootPersistency.h" 7 #include "TGeoManager.h" 36 std::cout <<
"DDTestDumpFile::analyze:\n";
38 TGeoManager&
geom = description.manager();
40 int level = 1 + geom.GetTopVolume()->CountNodes( 100, 3 );
42 std::cout <<
"In the DDTestDumpFile::analyze method...obtained main geometry, level=" 43 << level << std::endl;
46 file.WriteTObject( &geom );
47 file.WriteTObject(
new TNamed(
"CMSSW_VERSION", gSystem->Getenv(
"CMSSW_VERSION" )));
48 file.WriteTObject(
new TNamed(
"tag",
m_tag.c_str()));
T getUntrackedParameter(std::string const &, T const &) const
std::string m_outputFileName
#define DEFINE_FWK_MODULE(type)
void analyze(edm::Event const &iEvent, edm::EventSetup const &) override
DDTestDumpFile(const edm::ParameterSet &)