18 gSystem->Load(
"libphgeom.so");
34 geom_file +
"_DST.root");
43 std::cout <<
"All done" << std::endl;
int registerInputManager(Fun4AllInputManager *InManager)
void Fun4All_ImportGeom(const string &geom_file="./sPHENIX.root")
Read in a Geometry file, and output DST and ROOT TGeo files.
static Fun4AllServer * instance()
static void ExportGeomtry(PHCompositeNode *topNode, const std::string &geometry_file)
DST node -> TGeoManager -> export files, like gdml, .root or .C formats.
static recoConsts * instance()
int registerSubsystem(SubsysReco *subsystem, const std::string &topnodename="TOP")
int run(const int nevnts=0, const bool require_nevents=false)
run n events (0 means up to end of file)
int registerOutputManager(Fun4AllOutputManager *manager)
PHCompositeNode * topNode() const
virtual void Verbosity(const int ival)
Sets the verbosity of this module (0 by default=quiet).
Fun4All module to import TGeo ROOT Geometry at run time.