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

#include <G4ModelingParameters.hh>

Public Member Functions

 PVNameCopyNo (G4String name, G4int copyNo)
 
const G4StringGetName () const
 
G4int GetCopyNo () const
 
G4bool operator!= (const PVNameCopyNo &) const
 
G4bool operator== (const PVNameCopyNo &rhs) const
 

Detailed Description

Definition at line 81 of file G4ModelingParameters.hh.

Constructor & Destructor Documentation

◆ PVNameCopyNo()

G4ModelingParameters::PVNameCopyNo::PVNameCopyNo ( G4String  name,
G4int  copyNo 
)
inline

Definition at line 84 of file G4ModelingParameters.hh.

85 : fName(name), fCopyNo(copyNo) {}

Member Function Documentation

◆ GetCopyNo()

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

Definition at line 87 of file G4ModelingParameters.hh.

87{return fCopyNo;}

◆ GetName()

const G4String & G4ModelingParameters::PVNameCopyNo::GetName ( ) const
inline

Definition at line 86 of file G4ModelingParameters.hh.

86{return fName;}

◆ operator!=()

G4bool G4ModelingParameters::PVNameCopyNo::operator!= ( const PVNameCopyNo rhs) const

Definition at line 357 of file G4ModelingParameters.cc.

359{
360 if (fName != rhs.fName) return true;
361 if (fCopyNo != rhs.fCopyNo) return true;
362 return false;
363}

Referenced by operator==().

◆ operator==()

G4bool G4ModelingParameters::PVNameCopyNo::operator== ( const PVNameCopyNo rhs) const
inline

Definition at line 89 of file G4ModelingParameters.hh.

89{return !operator!=(rhs);}
G4bool operator!=(const PVNameCopyNo &) const

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