Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:20:20

0001 #include "PHGeomFileImport.h"
0002 #include "PHGeomUtility.h"
0003 
0004 // PHENIX includes
0005 #include <fun4all/SubsysReco.h>
0006 
0007 class PHCompositeNode;
0008 
0009 PHGeomFileImport::PHGeomFileImport(const std::string &geometry_file)
0010   : SubsysReco("PHGeomFileImport")
0011   , m_GeometryFile(geometry_file)
0012 {
0013 }
0014 
0015 int PHGeomFileImport::InitRun(PHCompositeNode *topNode)
0016 {
0017   return PHGeomUtility::ImportGeomFile(topNode, m_GeometryFile);
0018 }