Skip to content
Snippets Groups Projects

Make add virtual and add to common base so that both GeoPhysVol and GeoFullPhysVol can be used as envelopes

Merged Nicholas Styles requested to merge nstyles/GeoModel:master-GeoVPhysVolUpdate into master
All threads resolved!
4 files
+ 16
10
Compare changes
  • Side-by-side
  • Inline
Files
4
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
*/
#ifndef GEOMODELKERNEL_GEOFULLPHYSVOL_H
@@ -32,8 +32,8 @@ class GeoFullPhysVol final : public GeoVFullPhysVol
public:
GeoFullPhysVol (const GeoLogVol* LogVol);
/// Adds a Graph Node to the Geometry Graph.
void add(GeoGraphNode* graphNode);
/// Adds a Graph Node to the Geometry Graph
virtual void add(GeoGraphNode* graphNode) override final;
/// Returns the number of child physical volumes.
virtual unsigned int getNChildVols() const override;
Loading