Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4GeomTestOvershootList Class Reference

#include <G4GeomTestOvershootList.hh>

+ Inheritance diagram for G4GeomTestOvershootList:

Public Member Functions

 G4GeomTestOvershootList ()
 
 G4GeomTestOvershootList (const G4VPhysicalVolume *theMother, G4int theDaughter)
 
virtual ~G4GeomTestOvershootList ()
 
G4bool operator== (const G4GeomTestOvershootList &other) const
 
G4bool operator< (const G4GeomTestOvershootList &other) const
 
const G4VPhysicalVolumeGetDaughter () const
 
G4int GetDaughterIndex () const
 
void GetDaughtPoints (G4int i, G4ThreeVector &s1, G4ThreeVector &s2) const
 
- Public Member Functions inherited from G4GeomTestErrorList
 G4GeomTestErrorList (const G4VPhysicalVolume *theMother)
 
virtual ~G4GeomTestErrorList ()
 
void AddError (const G4ThreeVector &s1, const G4ThreeVector &s2)
 
const G4VPhysicalVolumeGetMother () const
 
G4int NumError () const
 
void GetMotherPoints (G4int i, G4ThreeVector &s1, G4ThreeVector &s2) const
 
void GetGlobalPoints (G4int i, G4ThreeVector &s1, G4ThreeVector &s2) const
 
void GetOneDaughtPoints (const G4VPhysicalVolume *daught, G4int i, G4ThreeVector &s1, G4ThreeVector &s2) const
 

Detailed Description

Definition at line 46 of file G4GeomTestOvershootList.hh.

Constructor & Destructor Documentation

◆ G4GeomTestOvershootList() [1/2]

G4GeomTestOvershootList::G4GeomTestOvershootList ( )

Definition at line 56 of file G4GeomTestOvershootList.cc.

58 daughter(0)
59{}

◆ G4GeomTestOvershootList() [2/2]

G4GeomTestOvershootList::G4GeomTestOvershootList ( const G4VPhysicalVolume theMother,
G4int  theDaughter 
)

Definition at line 45 of file G4GeomTestOvershootList.cc.

48 : G4GeomTestErrorList(theMother),
49 daughter(theDaughterIndex)
50{}

◆ ~G4GeomTestOvershootList()

G4GeomTestOvershootList::~G4GeomTestOvershootList ( )
virtual

Definition at line 65 of file G4GeomTestOvershootList.cc.

66{}

Member Function Documentation

◆ GetDaughter()

const G4VPhysicalVolume * G4GeomTestOvershootList::GetDaughter ( ) const

Definition at line 89 of file G4GeomTestOvershootList.cc.

90{
91 return GetMother()->GetLogicalVolume()->GetDaughter(daughter);
92}
const G4VPhysicalVolume * GetMother() const
G4VPhysicalVolume * GetDaughter(const G4int i) const
G4LogicalVolume * GetLogicalVolume() const

Referenced by GetDaughtPoints(), and G4GeomTestStreamLogger::OvershootingDaughter().

◆ GetDaughterIndex()

G4int G4GeomTestOvershootList::GetDaughterIndex ( ) const

Definition at line 94 of file G4GeomTestOvershootList.cc.

95{
96 return daughter;
97}

◆ GetDaughtPoints()

void G4GeomTestOvershootList::GetDaughtPoints ( G4int  i,
G4ThreeVector s1,
G4ThreeVector s2 
) const

Definition at line 106 of file G4GeomTestOvershootList.cc.

109{
110 GetOneDaughtPoints( GetDaughter(), i, s1, s2 );
111}
void GetOneDaughtPoints(const G4VPhysicalVolume *daught, G4int i, G4ThreeVector &s1, G4ThreeVector &s2) const
const G4VPhysicalVolume * GetDaughter() const

Referenced by G4GeomTestStreamLogger::OvershootingDaughter().

◆ operator<()

G4bool G4GeomTestOvershootList::operator< ( const G4GeomTestOvershootList other) const

Definition at line 78 of file G4GeomTestOvershootList.cc.

80{
81 return (daughter < other.daughter);
82}

◆ operator==()

G4bool G4GeomTestOvershootList::operator== ( const G4GeomTestOvershootList other) const

Definition at line 73 of file G4GeomTestOvershootList.cc.

74{
75 return daughter==other.daughter;
76}

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