16 gSystem->Load(
"libphgeom.so");
19 gSystem->Load(
"libg4calo.so");
20 gSystem->Load(
"libg4vertex.so");
21 gSystem->Load(
"libg4eval.so");
35 string output = DST_file_name +
"_export.root";
37 cout <<
"Done export Geometry to "<<output<<endl;
41 cout <<
"All done"<<endl;
int registerInputManager(Fun4AllInputManager *InManager)
static Fun4AllServer * instance()
static void ExportGeomtry(PHCompositeNode *topNode, const std::string &geometry_file)
DST node -> TGeoManager -> export files, like gdml, .root or .C formats.
virtual void set_IntFlag(const std::string &name, const int flag)
static recoConsts * instance()
int run(const int nevnts=0, const bool require_nevents=false)
run n events (0 means up to end of file)
void Fun4All_ExportGeom(string DST_file_name="sPHENIX.root_DST.root")
get geometry from DST file and output TGeoManager ROOT files or other formats of geometry files ...
PHCompositeNode * topNode() const
virtual void Verbosity(const int ival)
Sets the verbosity of this module (0 by default=quiet).