diff --git a/Simulation/G4Utilities/Geo2G4/src/Geo2G4AssemblyFactory.h b/Simulation/G4Utilities/Geo2G4/src/Geo2G4AssemblyFactory.h index 16c93561260be876e07defefa0bf9fe55a24ce59..3fec704918f7924a9cc4c74847f3196785916fe4 100644 --- a/Simulation/G4Utilities/Geo2G4/src/Geo2G4AssemblyFactory.h +++ b/Simulation/G4Utilities/Geo2G4/src/Geo2G4AssemblyFactory.h @@ -1,25 +1,24 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ #ifndef GEO2G4_Geo2G4AssemblyFactory_h #define GEO2G4_Geo2G4AssemblyFactory_h #include "GeoModelKernel/GeoVPhysVol.h" -#include "Geo2G4AssemblyFactory.h" #include <map> #include <memory> class Geo2G4AssemblyVolume; -class Geo2G4AssemblyFactory +class Geo2G4AssemblyFactory { public: Geo2G4AssemblyFactory(); Geo2G4AssemblyVolume* Build(const PVConstLink thePhys, - bool& descend); - + bool& descend); + private: std::map<const GeoVPhysVol*, std::unique_ptr<Geo2G4AssemblyVolume>, std::less<const GeoVPhysVol*> > m_assemblyMap; };