9 #include "TGeoManager.h"
23 void endJob(
void)
override;
31 : m_tag(config.getUntrackedParameter<std::
string>(
"tagInfo",
"unknown")),
32 m_outputFileName(config.getUntrackedParameter<std::
string>(
"outputFileName",
"cmsTGeoReco.root")),
39 TGeoManager*
geom = geoh.product()->manager();
43 file.WriteTObject(
new TNamed(
"CMSSW_VERSION", gSystem->Getenv(
"CMSSW_VERSION")));
44 file.WriteTObject(
new TNamed(
"tag",
m_tag.c_str()));
#define DEFINE_FWK_MODULE(type)
void beginJob(void) override
void endJob(void) override
DumpFWTGeoRecoGeometry(const edm::ParameterSet &config)
std::string m_outputFileName
~DumpFWTGeoRecoGeometry(void) override
const edm::ESGetToken< FWTGeoRecoGeometry, FWTGeoRecoGeometryRecord > m_geomToken
tuple config
parse the configuration file
ESTransientHandle< T > getTransientHandle(const ESGetToken< T, R > &iToken) const
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override