Import Geant4 11.2.0.beta source tree
This commit is contained in:
@@ -109,28 +109,28 @@ class G4PVDivision : public G4PVReplica
|
||||
const G4double offset);
|
||||
// Constructor in mother physical volume (same as first constructor)
|
||||
|
||||
virtual ~G4PVDivision();
|
||||
~G4PVDivision() override;
|
||||
|
||||
G4PVDivision(const G4PVDivision&) = delete;
|
||||
G4PVDivision& operator=(const G4PVDivision&) = delete;
|
||||
|
||||
virtual G4bool IsMany() const;
|
||||
virtual G4bool IsReplicated() const;
|
||||
virtual G4int GetMultiplicity() const;
|
||||
virtual G4VPVParameterisation* GetParameterisation() const;
|
||||
virtual void GetReplicationData( EAxis& axis,
|
||||
G4bool IsMany() const override;
|
||||
G4bool IsReplicated() const override;
|
||||
G4int GetMultiplicity() const override;
|
||||
G4VPVParameterisation* GetParameterisation() const override;
|
||||
void GetReplicationData( EAxis& axis,
|
||||
G4int& nReplicas,
|
||||
G4double& width,
|
||||
G4double& offset,
|
||||
G4bool& consuming ) const;
|
||||
G4bool& consuming ) const override;
|
||||
EAxis GetDivisionAxis() const;
|
||||
G4bool IsParameterised() const;
|
||||
G4bool IsParameterised() const override;
|
||||
|
||||
virtual EVolume VolumeType() const;
|
||||
EVolume VolumeType() const override;
|
||||
// Characterise the type of volume - normal/replicated/parameterised.
|
||||
|
||||
G4bool IsRegularStructure() const;
|
||||
G4int GetRegularStructureId() const;
|
||||
G4bool IsRegularStructure() const override;
|
||||
G4int GetRegularStructureId() const override;
|
||||
// Methods to identify volume that can have revised 'regular' navigation.
|
||||
// Currently divisions do not qualify for this.
|
||||
|
||||
|
||||
@@ -44,44 +44,44 @@ class G4PVDivisionFactory : public G4VPVDivisionFactory
|
||||
{
|
||||
public: // with description
|
||||
|
||||
virtual ~G4PVDivisionFactory();
|
||||
~G4PVDivisionFactory() override;
|
||||
|
||||
virtual G4VPhysicalVolume* CreatePVDivision(
|
||||
G4VPhysicalVolume* CreatePVDivision(
|
||||
const G4String& pName,
|
||||
G4LogicalVolume* pLogical,
|
||||
G4LogicalVolume* pMother,
|
||||
const EAxis pAxis,
|
||||
const G4int nReplicas,
|
||||
const G4double width,
|
||||
const G4double offset );
|
||||
const G4double offset ) override;
|
||||
// Create division - with number of divisions and width.
|
||||
|
||||
virtual G4VPhysicalVolume* CreatePVDivision(
|
||||
G4VPhysicalVolume* CreatePVDivision(
|
||||
const G4String& pName,
|
||||
G4LogicalVolume* pLogical,
|
||||
G4LogicalVolume* pMotherLogical,
|
||||
const EAxis pAxis,
|
||||
const G4int nReplicas,
|
||||
const G4double offset );
|
||||
const G4double offset ) override;
|
||||
// Create division - with number of divisions.
|
||||
|
||||
virtual G4VPhysicalVolume* CreatePVDivision(
|
||||
G4VPhysicalVolume* CreatePVDivision(
|
||||
const G4String& pName,
|
||||
G4LogicalVolume* pLogical,
|
||||
G4LogicalVolume* pMotherLogical,
|
||||
const EAxis pAxis,
|
||||
const G4double width,
|
||||
const G4double offset );
|
||||
const G4double offset ) override;
|
||||
// Create division - with width.
|
||||
|
||||
virtual G4VPhysicalVolume* CreatePVDivision(
|
||||
G4VPhysicalVolume* CreatePVDivision(
|
||||
const G4String& pName,
|
||||
G4LogicalVolume* pLogical,
|
||||
G4LogicalVolume* pMotherLogical,
|
||||
const G4VPVParameterisation* param);
|
||||
const G4VPVParameterisation* param) override;
|
||||
// Create division - with parameterisation.
|
||||
|
||||
virtual G4bool IsPVDivision(const G4VPhysicalVolume* pv) const;
|
||||
G4bool IsPVDivision(const G4VPhysicalVolume* pv) const override;
|
||||
// Returns true if pv is division.
|
||||
|
||||
static G4PVDivisionFactory* GetInstance();
|
||||
|
||||
@@ -63,7 +63,7 @@ class G4VParameterisationBox : public G4VDivisionParameterisation
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* msolid, DivisionType divType );
|
||||
|
||||
virtual ~G4VParameterisationBox();
|
||||
~G4VParameterisationBox() override;
|
||||
};
|
||||
|
||||
class G4ParameterisationBoxX : public G4VParameterisationBox
|
||||
@@ -73,41 +73,41 @@ class G4ParameterisationBoxX : public G4VParameterisationBox
|
||||
G4ParameterisationBoxX( EAxis axis, G4int nCopies,
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* msolid, DivisionType divType );
|
||||
~G4ParameterisationBoxX();
|
||||
~G4ParameterisationBoxX() override;
|
||||
|
||||
G4double GetMaxParameter() const;
|
||||
G4double GetMaxParameter() const override;
|
||||
|
||||
void ComputeTransformation( const G4int copyNo,
|
||||
G4VPhysicalVolume* physVol ) const;
|
||||
G4VPhysicalVolume* physVol ) const override;
|
||||
void ComputeDimensions(G4Box& box, const G4int copyNo,
|
||||
const G4VPhysicalVolume* physVol) const;
|
||||
const G4VPhysicalVolume* physVol) const override;
|
||||
|
||||
private: // Dummy declarations to get rid of warnings ...
|
||||
|
||||
void ComputeDimensions (G4Cons&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trd&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Sphere&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Orb&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Ellipsoid&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Torus&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Para&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trap&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Hype&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Tubs&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polycone&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polyhedra&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
};
|
||||
|
||||
class G4ParameterisationBoxY : public G4VParameterisationBox
|
||||
@@ -117,42 +117,42 @@ class G4ParameterisationBoxY : public G4VParameterisationBox
|
||||
G4ParameterisationBoxY( EAxis axis, G4int nCopies,
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* msolid, DivisionType divType );
|
||||
~G4ParameterisationBoxY();
|
||||
~G4ParameterisationBoxY() override;
|
||||
|
||||
G4double GetMaxParameter() const;
|
||||
G4double GetMaxParameter() const override;
|
||||
|
||||
void ComputeTransformation( const G4int copyNo,
|
||||
G4VPhysicalVolume* physVol ) const;
|
||||
G4VPhysicalVolume* physVol ) const override;
|
||||
|
||||
void ComputeDimensions(G4Box& box, const G4int copyNo,
|
||||
const G4VPhysicalVolume* physVol) const;
|
||||
const G4VPhysicalVolume* physVol) const override;
|
||||
|
||||
private: // Dummy declarations to get rid of warnings ...
|
||||
|
||||
void ComputeDimensions (G4Cons&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trd&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Sphere&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Orb&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Ellipsoid&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Torus&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Para&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trap&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Hype&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Tubs&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polycone&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polyhedra&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
};
|
||||
|
||||
class G4ParameterisationBoxZ : public G4VParameterisationBox
|
||||
@@ -162,41 +162,41 @@ class G4ParameterisationBoxZ : public G4VParameterisationBox
|
||||
G4ParameterisationBoxZ( EAxis axis, G4int nCopies,
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* msolid, DivisionType divType );
|
||||
~G4ParameterisationBoxZ();
|
||||
~G4ParameterisationBoxZ() override;
|
||||
|
||||
G4double GetMaxParameter() const;
|
||||
G4double GetMaxParameter() const override;
|
||||
|
||||
void ComputeTransformation( const G4int copyNo,
|
||||
G4VPhysicalVolume* physVol ) const;
|
||||
G4VPhysicalVolume* physVol ) const override;
|
||||
void ComputeDimensions(G4Box& box, const G4int copyNo,
|
||||
const G4VPhysicalVolume* physVol) const;
|
||||
const G4VPhysicalVolume* physVol) const override;
|
||||
|
||||
private: // Dummy declarations to get rid of warnings ...
|
||||
|
||||
void ComputeDimensions (G4Cons&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trd&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Sphere&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Orb&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Ellipsoid&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Torus&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Para&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trap&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Hype&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Tubs&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polycone&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polyhedra&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -64,7 +64,7 @@ class G4VParameterisationCons : public G4VDivisionParameterisation
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* msolid, DivisionType divType );
|
||||
|
||||
virtual ~G4VParameterisationCons();
|
||||
~G4VParameterisationCons() override;
|
||||
};
|
||||
|
||||
class G4ParameterisationConsRho : public G4VParameterisationCons
|
||||
@@ -74,41 +74,41 @@ class G4ParameterisationConsRho : public G4VParameterisationCons
|
||||
G4ParameterisationConsRho( EAxis axis, G4int nCopies,
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* motherSolid, DivisionType divType );
|
||||
~G4ParameterisationConsRho();
|
||||
~G4ParameterisationConsRho() override;
|
||||
|
||||
G4double GetMaxParameter() const;
|
||||
G4double GetMaxParameter() const override;
|
||||
|
||||
void ComputeTransformation( const G4int copyNo,
|
||||
G4VPhysicalVolume* physVol ) const;
|
||||
G4VPhysicalVolume* physVol ) const override;
|
||||
void ComputeDimensions( G4Cons& tubs, const G4int copyNo,
|
||||
const G4VPhysicalVolume* physVol) const;
|
||||
const G4VPhysicalVolume* physVol) const override;
|
||||
|
||||
private: // Dummy declarations to get rid of warnings ...
|
||||
|
||||
void ComputeDimensions (G4Trd&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trap&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Box&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Sphere&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Orb&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Ellipsoid&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Torus&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Para&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Hype&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Tubs&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polycone&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polyhedra&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
};
|
||||
|
||||
class G4ParameterisationConsPhi : public G4VParameterisationCons
|
||||
@@ -118,41 +118,41 @@ class G4ParameterisationConsPhi : public G4VParameterisationCons
|
||||
G4ParameterisationConsPhi( EAxis axis, G4int nCopies,
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* motherSolid, DivisionType divType );
|
||||
~G4ParameterisationConsPhi();
|
||||
~G4ParameterisationConsPhi() override;
|
||||
|
||||
G4double GetMaxParameter() const;
|
||||
G4double GetMaxParameter() const override;
|
||||
|
||||
void ComputeTransformation( const G4int copyNo,
|
||||
G4VPhysicalVolume* physVol ) const;
|
||||
G4VPhysicalVolume* physVol ) const override;
|
||||
void ComputeDimensions( G4Cons& tubs, const G4int copyNo,
|
||||
const G4VPhysicalVolume* physVol ) const;
|
||||
const G4VPhysicalVolume* physVol ) const override;
|
||||
|
||||
private: // Dummy declarations to get rid of warnings ...
|
||||
|
||||
void ComputeDimensions (G4Trd&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trap&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Box&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Sphere&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Orb&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Ellipsoid&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Torus&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Para&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Hype&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Tubs&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polycone&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polyhedra&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
};
|
||||
|
||||
class G4ParameterisationConsZ : public G4VParameterisationCons
|
||||
@@ -162,41 +162,41 @@ class G4ParameterisationConsZ : public G4VParameterisationCons
|
||||
G4ParameterisationConsZ( EAxis axis, G4int nCopies,
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* motherSolid, DivisionType divType );
|
||||
~G4ParameterisationConsZ();
|
||||
~G4ParameterisationConsZ() override;
|
||||
|
||||
G4double GetMaxParameter() const;
|
||||
G4double GetMaxParameter() const override;
|
||||
|
||||
void ComputeTransformation( const G4int copyNo,
|
||||
G4VPhysicalVolume* physVol ) const;
|
||||
G4VPhysicalVolume* physVol ) const override;
|
||||
void ComputeDimensions( G4Cons& tubs, const G4int copyNo,
|
||||
const G4VPhysicalVolume* physVol ) const;
|
||||
const G4VPhysicalVolume* physVol ) const override;
|
||||
|
||||
private: // Dummy declarations to get rid of warnings ...
|
||||
|
||||
void ComputeDimensions (G4Trd&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trap&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Box&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Sphere&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Orb&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Ellipsoid&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Torus&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Para&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Hype&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Tubs&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polycone&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polyhedra&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -63,7 +63,7 @@ class G4VParameterisationPara : public G4VDivisionParameterisation
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* msolid, DivisionType divType );
|
||||
|
||||
virtual ~G4VParameterisationPara();
|
||||
~G4VParameterisationPara() override;
|
||||
};
|
||||
|
||||
class G4ParameterisationParaX : public G4VParameterisationPara
|
||||
@@ -73,42 +73,42 @@ class G4ParameterisationParaX : public G4VParameterisationPara
|
||||
G4ParameterisationParaX( EAxis axis, G4int nCopies,
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* msolid, DivisionType divType );
|
||||
~G4ParameterisationParaX();
|
||||
~G4ParameterisationParaX() override;
|
||||
|
||||
G4double GetMaxParameter() const;
|
||||
G4double GetMaxParameter() const override;
|
||||
|
||||
void ComputeTransformation( const G4int copyNo,
|
||||
G4VPhysicalVolume* physVol ) const;
|
||||
G4VPhysicalVolume* physVol ) const override;
|
||||
void ComputeDimensions(G4Para& para, const G4int copyNo,
|
||||
const G4VPhysicalVolume* pv) const;
|
||||
const G4VPhysicalVolume* pv) const override;
|
||||
|
||||
|
||||
private: // Dummy declarations to get rid of warnings ...
|
||||
|
||||
void ComputeDimensions (G4Cons&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Box&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Sphere&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Orb&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Ellipsoid&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Torus&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trd&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trap&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Hype&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Tubs&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polycone&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polyhedra&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
};
|
||||
|
||||
|
||||
@@ -119,42 +119,42 @@ class G4ParameterisationParaY : public G4VParameterisationPara
|
||||
G4ParameterisationParaY( EAxis axis, G4int nCopies,
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* msolid, DivisionType divType );
|
||||
~G4ParameterisationParaY();
|
||||
~G4ParameterisationParaY() override;
|
||||
|
||||
G4double GetMaxParameter() const;
|
||||
G4double GetMaxParameter() const override;
|
||||
|
||||
void ComputeTransformation( const G4int copyNo,
|
||||
G4VPhysicalVolume* physVol ) const;
|
||||
G4VPhysicalVolume* physVol ) const override;
|
||||
void ComputeDimensions(G4Para& para, const G4int copyNo,
|
||||
const G4VPhysicalVolume* pv) const;
|
||||
const G4VPhysicalVolume* pv) const override;
|
||||
|
||||
|
||||
private: // Dummy declarations to get rid of warnings ...
|
||||
|
||||
void ComputeDimensions (G4Cons&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Box&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Sphere&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Orb&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Ellipsoid&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Torus&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trd&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trap&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Hype&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Tubs&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polycone&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polyhedra&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
};
|
||||
|
||||
|
||||
@@ -165,42 +165,42 @@ class G4ParameterisationParaZ : public G4VParameterisationPara
|
||||
G4ParameterisationParaZ( EAxis axis, G4int nCopies,
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* msolid, DivisionType divType );
|
||||
~G4ParameterisationParaZ();
|
||||
~G4ParameterisationParaZ() override;
|
||||
|
||||
G4double GetMaxParameter() const;
|
||||
G4double GetMaxParameter() const override;
|
||||
|
||||
void ComputeTransformation( const G4int copyNo,
|
||||
G4VPhysicalVolume* physVol ) const;
|
||||
G4VPhysicalVolume* physVol ) const override;
|
||||
void ComputeDimensions(G4Para& para, const G4int copyNo,
|
||||
const G4VPhysicalVolume* pv) const;
|
||||
const G4VPhysicalVolume* pv) const override;
|
||||
|
||||
|
||||
private: // Dummy declarations to get rid of warnings ...
|
||||
|
||||
void ComputeDimensions (G4Cons&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Box&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Sphere&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Orb&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Ellipsoid&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Torus&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trd&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trap&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Hype&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Tubs&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polycone&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polyhedra&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -63,7 +63,7 @@ class G4VParameterisationPolycone : public G4VDivisionParameterisation
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* msolid, DivisionType divType );
|
||||
|
||||
virtual ~G4VParameterisationPolycone();
|
||||
~G4VParameterisationPolycone() override;
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
@@ -78,43 +78,43 @@ class G4ParameterisationPolyconeRho : public G4VParameterisationPolycone
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* motherSolid,
|
||||
DivisionType divType );
|
||||
~G4ParameterisationPolyconeRho();
|
||||
~G4ParameterisationPolyconeRho() override;
|
||||
|
||||
void CheckParametersValidity();
|
||||
void CheckParametersValidity() override;
|
||||
|
||||
G4double GetMaxParameter() const;
|
||||
G4double GetMaxParameter() const override;
|
||||
|
||||
void ComputeTransformation( const G4int copyNo,
|
||||
G4VPhysicalVolume* physVol ) const;
|
||||
G4VPhysicalVolume* physVol ) const override;
|
||||
void ComputeDimensions( G4Polycone& pcone, const G4int copyNo,
|
||||
const G4VPhysicalVolume* physVol ) const;
|
||||
const G4VPhysicalVolume* physVol ) const override;
|
||||
|
||||
private: // Dummy declarations to get rid of warnings ...
|
||||
|
||||
void ComputeDimensions (G4Trd&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trap&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Box&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Orb&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Ellipsoid&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Sphere&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Torus&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Para&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Hype&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Tubs&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Cons&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polyhedra&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
@@ -129,41 +129,41 @@ class G4ParameterisationPolyconePhi : public G4VParameterisationPolycone
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* motherSolid,
|
||||
DivisionType divType );
|
||||
~G4ParameterisationPolyconePhi();
|
||||
~G4ParameterisationPolyconePhi() override;
|
||||
|
||||
G4double GetMaxParameter() const;
|
||||
G4double GetMaxParameter() const override;
|
||||
|
||||
void ComputeTransformation( const G4int copyNo,
|
||||
G4VPhysicalVolume* physVol ) const;
|
||||
G4VPhysicalVolume* physVol ) const override;
|
||||
void ComputeDimensions( G4Polycone& pcone, const G4int copyNo,
|
||||
const G4VPhysicalVolume* physVol ) const;
|
||||
const G4VPhysicalVolume* physVol ) const override;
|
||||
|
||||
private: // Dummy declarations to get rid of warnings ...
|
||||
|
||||
void ComputeDimensions (G4Trd&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trap&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Box&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Orb&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Sphere&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Ellipsoid&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Torus&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Para&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Hype&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Tubs&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Cons&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polyhedra&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
@@ -178,16 +178,16 @@ class G4ParameterisationPolyconeZ : public G4VParameterisationPolycone
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* motherSolid,
|
||||
DivisionType divType );
|
||||
~G4ParameterisationPolyconeZ();
|
||||
~G4ParameterisationPolyconeZ() override;
|
||||
|
||||
void CheckParametersValidity();
|
||||
void CheckParametersValidity() override;
|
||||
|
||||
G4double GetMaxParameter() const;
|
||||
G4double GetMaxParameter() const override;
|
||||
|
||||
void ComputeTransformation( const G4int copyNo,
|
||||
G4VPhysicalVolume* physVol ) const;
|
||||
G4VPhysicalVolume* physVol ) const override;
|
||||
void ComputeDimensions( G4Polycone& pcone, const G4int copyNo,
|
||||
const G4VPhysicalVolume* physVol ) const;
|
||||
const G4VPhysicalVolume* physVol ) const override;
|
||||
|
||||
private:
|
||||
|
||||
@@ -199,29 +199,29 @@ class G4ParameterisationPolyconeZ : public G4VParameterisationPolycone
|
||||
// Dummy declarations to get rid of warnings ...
|
||||
|
||||
void ComputeDimensions (G4Trd&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trap&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Box&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Orb&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Sphere&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Ellipsoid&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Torus&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Para&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Hype&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Tubs&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Cons&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polyhedra&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
private:
|
||||
|
||||
G4int fNSegment = 0;
|
||||
|
||||
@@ -63,7 +63,7 @@ class G4VParameterisationPolyhedra : public G4VDivisionParameterisation
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* msolid, DivisionType divType );
|
||||
|
||||
virtual ~G4VParameterisationPolyhedra();
|
||||
~G4VParameterisationPolyhedra() override;
|
||||
|
||||
private:
|
||||
|
||||
@@ -84,43 +84,43 @@ class G4ParameterisationPolyhedraRho : public G4VParameterisationPolyhedra
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* motherSolid,
|
||||
DivisionType divType );
|
||||
~G4ParameterisationPolyhedraRho();
|
||||
~G4ParameterisationPolyhedraRho() override;
|
||||
|
||||
void CheckParametersValidity();
|
||||
void CheckParametersValidity() override;
|
||||
|
||||
G4double GetMaxParameter() const;
|
||||
G4double GetMaxParameter() const override;
|
||||
|
||||
void ComputeTransformation( const G4int copyNo,
|
||||
G4VPhysicalVolume* physVol ) const;
|
||||
G4VPhysicalVolume* physVol ) const override;
|
||||
void ComputeDimensions( G4Polyhedra& phedra, const G4int copyNo,
|
||||
const G4VPhysicalVolume* physVol ) const;
|
||||
const G4VPhysicalVolume* physVol ) const override;
|
||||
|
||||
private: // Dummy declarations to get rid of warnings ...
|
||||
|
||||
void ComputeDimensions (G4Trd&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trap&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Box&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Sphere&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Orb&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Ellipsoid&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Torus&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Para&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Hype&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Tubs&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Cons&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polycone&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
@@ -135,43 +135,43 @@ class G4ParameterisationPolyhedraPhi : public G4VParameterisationPolyhedra
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* motherSolid,
|
||||
DivisionType divType );
|
||||
~G4ParameterisationPolyhedraPhi();
|
||||
~G4ParameterisationPolyhedraPhi() override;
|
||||
|
||||
void CheckParametersValidity();
|
||||
void CheckParametersValidity() override;
|
||||
|
||||
G4double GetMaxParameter() const;
|
||||
G4double GetMaxParameter() const override;
|
||||
|
||||
void ComputeTransformation( const G4int copyNo,
|
||||
G4VPhysicalVolume* physVol ) const;
|
||||
G4VPhysicalVolume* physVol ) const override;
|
||||
void ComputeDimensions( G4Polyhedra& phedra, const G4int copyNo,
|
||||
const G4VPhysicalVolume* physVol ) const;
|
||||
const G4VPhysicalVolume* physVol ) const override;
|
||||
|
||||
private: // Dummy declarations to get rid of warnings ...
|
||||
|
||||
void ComputeDimensions (G4Trd&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trap&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Box&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Sphere&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Orb&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Ellipsoid&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Torus&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Para&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Hype&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Tubs&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Cons&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polycone&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
@@ -186,16 +186,16 @@ class G4ParameterisationPolyhedraZ : public G4VParameterisationPolyhedra
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* motherSolid,
|
||||
DivisionType divType );
|
||||
~G4ParameterisationPolyhedraZ();
|
||||
~G4ParameterisationPolyhedraZ() override;
|
||||
|
||||
void CheckParametersValidity();
|
||||
void CheckParametersValidity() override;
|
||||
|
||||
G4double GetMaxParameter() const;
|
||||
G4double GetMaxParameter() const override;
|
||||
|
||||
void ComputeTransformation( const G4int copyNo,
|
||||
G4VPhysicalVolume* physVol ) const;
|
||||
G4VPhysicalVolume* physVol ) const override;
|
||||
void ComputeDimensions( G4Polyhedra& phedra, const G4int copyNo,
|
||||
const G4VPhysicalVolume* physVol ) const;
|
||||
const G4VPhysicalVolume* physVol ) const override;
|
||||
|
||||
private:
|
||||
|
||||
@@ -206,29 +206,29 @@ class G4ParameterisationPolyhedraZ : public G4VParameterisationPolyhedra
|
||||
|
||||
// Dummy declarations to get rid of warnings ...
|
||||
void ComputeDimensions (G4Trd&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trap&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Box&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Sphere&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Orb&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Ellipsoid&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Torus&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Para&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Hype&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Tubs&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Cons&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polycone&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
private:
|
||||
|
||||
G4int fNSegment = 0;
|
||||
|
||||
@@ -65,7 +65,7 @@ class G4VParameterisationTrd : public G4VDivisionParameterisation
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* msolid, DivisionType divType );
|
||||
|
||||
virtual ~G4VParameterisationTrd();
|
||||
~G4VParameterisationTrd() override;
|
||||
|
||||
protected:
|
||||
|
||||
@@ -79,43 +79,43 @@ class G4ParameterisationTrdX : public G4VParameterisationTrd
|
||||
G4ParameterisationTrdX( EAxis axis, G4int nCopies,
|
||||
G4double width, G4double offset,
|
||||
G4VSolid* motherSolid, DivisionType divType );
|
||||
~G4ParameterisationTrdX();
|
||||
~G4ParameterisationTrdX() override;
|
||||
|
||||
G4double GetMaxParameter() const;
|
||||
G4double GetMaxParameter() const override;
|
||||
|
||||
void ComputeTransformation(const G4int copyNo,
|
||||
G4VPhysicalVolume* physVol) const;
|
||||
G4VPhysicalVolume* physVol) const override;
|
||||
|
||||
void ComputeDimensions(G4Trd& trd, const G4int copyNo,
|
||||
const G4VPhysicalVolume* pv) const;
|
||||
const G4VPhysicalVolume* pv) const override;
|
||||
|
||||
void ComputeDimensions(G4Trap& trd, const G4int copyNo,
|
||||
const G4VPhysicalVolume* pv) const;
|
||||
const G4VPhysicalVolume* pv) const override;
|
||||
|
||||
private: // Dummy declarations to get rid of warnings ...
|
||||
|
||||
void ComputeDimensions (G4Cons&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Box&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Sphere&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Orb&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Ellipsoid&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Torus&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Para&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Hype&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Tubs&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polycone&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polyhedra&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
};
|
||||
|
||||
|
||||
@@ -126,43 +126,43 @@ class G4ParameterisationTrdY : public G4VParameterisationTrd
|
||||
G4ParameterisationTrdY( EAxis axis, G4int nCopies,
|
||||
G4double width, G4double offset,
|
||||
G4VSolid* motherSolid, DivisionType divType );
|
||||
~G4ParameterisationTrdY();
|
||||
~G4ParameterisationTrdY() override;
|
||||
|
||||
G4double GetMaxParameter() const;
|
||||
G4double GetMaxParameter() const override;
|
||||
|
||||
void ComputeTransformation(const G4int copyNo,
|
||||
G4VPhysicalVolume *physVol) const;
|
||||
G4VPhysicalVolume *physVol) const override;
|
||||
|
||||
void ComputeDimensions(G4Trd& trd, const G4int copyNo,
|
||||
const G4VPhysicalVolume* pv) const;
|
||||
const G4VPhysicalVolume* pv) const override;
|
||||
|
||||
void ComputeDimensions (G4Trap&,const G4int,
|
||||
const G4VPhysicalVolume*) const;
|
||||
const G4VPhysicalVolume*) const override;
|
||||
|
||||
private: // Dummy declarations to get rid of warnings ...
|
||||
|
||||
void ComputeDimensions (G4Cons&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Box&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Sphere&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Orb&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Ellipsoid&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Torus&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Para&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Hype&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Tubs&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polycone&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polyhedra&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
};
|
||||
|
||||
|
||||
@@ -173,41 +173,41 @@ class G4ParameterisationTrdZ : public G4VParameterisationTrd
|
||||
G4ParameterisationTrdZ( EAxis axis, G4int nCopies,
|
||||
G4double width, G4double offset,
|
||||
G4VSolid* motherSolid, DivisionType divType );
|
||||
~G4ParameterisationTrdZ();
|
||||
~G4ParameterisationTrdZ() override;
|
||||
|
||||
G4double GetMaxParameter() const;
|
||||
G4double GetMaxParameter() const override;
|
||||
|
||||
void ComputeTransformation(const G4int copyNo,
|
||||
G4VPhysicalVolume* physVol) const;
|
||||
G4VPhysicalVolume* physVol) const override;
|
||||
void ComputeDimensions(G4Trd& trd, const G4int copyNo,
|
||||
const G4VPhysicalVolume* pv) const;
|
||||
const G4VPhysicalVolume* pv) const override;
|
||||
|
||||
private: // Dummy declarations to get rid of warnings ...
|
||||
|
||||
void ComputeDimensions (G4Cons&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Box&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Sphere&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Orb&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Ellipsoid&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Torus&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Para&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trap&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Hype&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Tubs&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polycone&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polyhedra&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -62,7 +62,7 @@ class G4VParameterisationTubs : public G4VDivisionParameterisation
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* msolid, DivisionType divType );
|
||||
|
||||
virtual ~G4VParameterisationTubs();
|
||||
~G4VParameterisationTubs() override;
|
||||
};
|
||||
|
||||
class G4ParameterisationTubsRho : public G4VParameterisationTubs
|
||||
@@ -72,41 +72,41 @@ class G4ParameterisationTubsRho : public G4VParameterisationTubs
|
||||
G4ParameterisationTubsRho( EAxis axis, G4int nCopies,
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* motherSolid, DivisionType divType );
|
||||
~G4ParameterisationTubsRho();
|
||||
~G4ParameterisationTubsRho() override;
|
||||
|
||||
G4double GetMaxParameter() const;
|
||||
G4double GetMaxParameter() const override;
|
||||
|
||||
void ComputeTransformation(const G4int copyNo,
|
||||
G4VPhysicalVolume* physVol) const;
|
||||
G4VPhysicalVolume* physVol) const override;
|
||||
void ComputeDimensions(G4Tubs& tubs, const G4int copyNo,
|
||||
const G4VPhysicalVolume* physVol) const;
|
||||
const G4VPhysicalVolume* physVol) const override;
|
||||
|
||||
private: // Dummy declarations to get rid of warnings ...
|
||||
|
||||
void ComputeDimensions (G4Trd&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trap&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Box&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Sphere&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Orb&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Ellipsoid&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Torus&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Para&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Hype&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Cons&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polycone&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polyhedra&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
};
|
||||
|
||||
|
||||
@@ -117,41 +117,41 @@ class G4ParameterisationTubsPhi : public G4VParameterisationTubs
|
||||
G4ParameterisationTubsPhi( EAxis axis, G4int nCopies,
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* motherSolid, DivisionType divType );
|
||||
~G4ParameterisationTubsPhi();
|
||||
~G4ParameterisationTubsPhi() override;
|
||||
|
||||
G4double GetMaxParameter() const;
|
||||
G4double GetMaxParameter() const override;
|
||||
|
||||
void ComputeTransformation(const G4int copyNo,
|
||||
G4VPhysicalVolume* physVol) const;
|
||||
G4VPhysicalVolume* physVol) const override;
|
||||
void ComputeDimensions(G4Tubs& tubs, const G4int copyNo,
|
||||
const G4VPhysicalVolume* physVol) const;
|
||||
const G4VPhysicalVolume* physVol) const override;
|
||||
|
||||
private: // Dummy declarations to get rid of warnings ...
|
||||
|
||||
void ComputeDimensions (G4Trd&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trap&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Box&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Sphere&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Orb&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Ellipsoid&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Torus&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Para&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Hype&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Cons&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polycone&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polyhedra&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
};
|
||||
|
||||
|
||||
@@ -162,41 +162,41 @@ class G4ParameterisationTubsZ : public G4VParameterisationTubs
|
||||
G4ParameterisationTubsZ( EAxis axis, G4int nCopies,
|
||||
G4double offset, G4double step,
|
||||
G4VSolid* motherSolid, DivisionType divType );
|
||||
~G4ParameterisationTubsZ();
|
||||
~G4ParameterisationTubsZ() override;
|
||||
|
||||
G4double GetMaxParameter() const;
|
||||
G4double GetMaxParameter() const override;
|
||||
|
||||
void ComputeTransformation(const G4int copyNo,
|
||||
G4VPhysicalVolume* physVol) const;
|
||||
G4VPhysicalVolume* physVol) const override;
|
||||
void ComputeDimensions(G4Tubs& tubs, const G4int copyNo,
|
||||
const G4VPhysicalVolume* physVol) const;
|
||||
const G4VPhysicalVolume* physVol) const override;
|
||||
|
||||
private: // Dummy declarations to get rid of warnings ...
|
||||
|
||||
void ComputeDimensions (G4Trd&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Trap&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Box&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Sphere&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Orb&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Ellipsoid&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Torus&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Para&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Hype&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Cons&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polycone&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
void ComputeDimensions (G4Polyhedra&,const G4int,
|
||||
const G4VPhysicalVolume*) const {}
|
||||
const G4VPhysicalVolume*) const override {}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -123,28 +123,28 @@ class G4ReplicatedSlice : public G4PVReplica
|
||||
const G4double offset );
|
||||
// Constructor with width
|
||||
|
||||
virtual ~G4ReplicatedSlice();
|
||||
~G4ReplicatedSlice() override;
|
||||
|
||||
G4ReplicatedSlice(const G4ReplicatedSlice&) = delete;
|
||||
G4ReplicatedSlice& operator=(const G4ReplicatedSlice&) = delete;
|
||||
|
||||
virtual G4bool IsMany() const;
|
||||
virtual G4bool IsReplicated() const;
|
||||
virtual G4int GetMultiplicity() const;
|
||||
virtual G4VPVParameterisation* GetParameterisation() const;
|
||||
virtual void GetReplicationData( EAxis& axis,
|
||||
G4int& nReplicas,
|
||||
G4double& width,
|
||||
G4double& offset,
|
||||
G4bool& consuming ) const;
|
||||
G4bool IsMany() const override;
|
||||
G4bool IsReplicated() const override;
|
||||
G4int GetMultiplicity() const override;
|
||||
G4VPVParameterisation* GetParameterisation() const override;
|
||||
void GetReplicationData( EAxis& axis,
|
||||
G4int& nReplicas,
|
||||
G4double& width,
|
||||
G4double& offset,
|
||||
G4bool& consuming ) const override;
|
||||
EAxis GetDivisionAxis() const;
|
||||
G4bool IsParameterised() const;
|
||||
G4bool IsParameterised() const override;
|
||||
|
||||
EVolume VolumeType() const final;
|
||||
// Characterise the type of volume - normal/replicated/parameterised.
|
||||
|
||||
G4bool IsRegularStructure() const;
|
||||
G4int GetRegularStructureId() const;
|
||||
G4bool IsRegularStructure() const override;
|
||||
G4int GetRegularStructureId() const override;
|
||||
// Methods to identify volume that can apply 'regular' navigation.
|
||||
// Currently divisions do not qualify for this.
|
||||
|
||||
|
||||
@@ -54,12 +54,12 @@ class G4VDivisionParameterisation : public G4VPVParameterisation
|
||||
G4VDivisionParameterisation( EAxis axis, G4int nDiv, G4double width,
|
||||
G4double offset, DivisionType divType,
|
||||
G4VSolid* motherSolid = nullptr);
|
||||
virtual ~G4VDivisionParameterisation();
|
||||
~G4VDivisionParameterisation() override;
|
||||
|
||||
virtual G4VSolid* ComputeSolid(const G4int, G4VPhysicalVolume*);
|
||||
G4VSolid* ComputeSolid(const G4int, G4VPhysicalVolume*) override;
|
||||
|
||||
virtual void ComputeTransformation(const G4int copyNo,
|
||||
G4VPhysicalVolume *physVol) const = 0;
|
||||
void ComputeTransformation(const G4int copyNo,
|
||||
G4VPhysicalVolume *physVol) const override = 0;
|
||||
|
||||
inline const G4String& GetType() const;
|
||||
inline EAxis GetAxis() const;
|
||||
|
||||
Reference in New Issue
Block a user