Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:17:59

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