Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ModelingParameters::PVPointerCopyNo Class Reference

#include <G4ModelingParameters.hh>

Public Member Functions

 PVPointerCopyNo (G4VPhysicalVolume *pPV, G4int copyNo)
 
const G4StringGetName () const
 
const G4VPhysicalVolumeGetPVPointer () const
 
G4int GetCopyNo () const
 
G4bool operator!= (const PVPointerCopyNo &) const
 
G4bool operator== (const PVPointerCopyNo &rhs) const
 

Detailed Description

Definition at line 102 of file G4ModelingParameters.hh.

Constructor & Destructor Documentation

◆ PVPointerCopyNo()

G4ModelingParameters::PVPointerCopyNo::PVPointerCopyNo ( G4VPhysicalVolume * pPV,
G4int copyNo )
inline

Definition at line 105 of file G4ModelingParameters.hh.

106 : fpPV(pPV), fCopyNo(copyNo) {}

Member Function Documentation

◆ GetCopyNo()

G4int G4ModelingParameters::PVPointerCopyNo::GetCopyNo ( ) const
inline

Definition at line 109 of file G4ModelingParameters.hh.

109{return fCopyNo;}

◆ GetName()

const G4String & G4ModelingParameters::PVPointerCopyNo::GetName ( ) const

Definition at line 391 of file G4ModelingParameters.cc.

392{
393 return fpPV->GetName();
394}
const G4String & GetName() const

◆ GetPVPointer()

const G4VPhysicalVolume * G4ModelingParameters::PVPointerCopyNo::GetPVPointer ( ) const
inline

Definition at line 108 of file G4ModelingParameters.hh.

108{return fpPV;}

◆ operator!=()

G4bool G4ModelingParameters::PVPointerCopyNo::operator!= ( const PVPointerCopyNo & rhs) const

Definition at line 396 of file G4ModelingParameters.cc.

398{
399 if (fpPV != rhs.fpPV) return true;
400 if (fCopyNo != rhs.fCopyNo) return true;
401 return false;
402}

Referenced by operator==().

◆ operator==()

G4bool G4ModelingParameters::PVPointerCopyNo::operator== ( const PVPointerCopyNo & rhs) const
inline

Definition at line 111 of file G4ModelingParameters.hh.

111{return !operator!=(rhs);}
G4bool operator!=(const PVPointerCopyNo &) const

The documentation for this class was generated from the following files: