38 #include "TGeoManager.h"
39 #include "TGeoMatrix.h"
77 std::cout <<
"In the DumpSimGeometry::analyze method..." << std::endl;
81 const TGeoManager*
geom = geoh.product();
83 int level = 1 +
geom->GetTopVolume()->CountNodes(100, 3);
85 std::cout <<
"In the DumpSimGeometry::analyze method...obtained main geometry, level=" <<
level << std::endl;
90 f.WriteTObject(
new TNamed(
"CMSSW_VERSION", gSystem->Getenv(
"CMSSW_VERSION")));
91 f.WriteTObject(
new TNamed(
"tag",
m_tag.c_str()));
T getUntrackedParameter(std::string const &, T const &) const
#define DEFINE_FWK_MODULE(type)
~DumpSimGeometry() override
void analyze(const edm::Event &, const edm::EventSetup &) override
ESTransientHandle< T > getTransientHandle(const ESGetToken< T, R > &iToken) const
std::string m_outputFileName
DumpSimGeometry(const edm::ParameterSet &)
const edm::ESGetToken< TGeoManager, DisplayGeomRecord > m_geomToken