#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 G4VPhysicalVolume * | GetDaughter () const |
G4int | GetDaughterIndex () const |
void | GetDaughtPoints (G4int i, G4ThreeVector &s1, G4ThreeVector &s2) const |
Definition at line 46 of file G4GeomTestOvershootList.hh.
G4GeomTestOvershootList::G4GeomTestOvershootList | ( | ) |
Definition at line 56 of file G4GeomTestOvershootList.cc.
00057 : G4GeomTestErrorList(0), 00058 daughter(0) 00059 {}
G4GeomTestOvershootList::G4GeomTestOvershootList | ( | const G4VPhysicalVolume * | theMother, | |
G4int | theDaughter | |||
) |
Definition at line 45 of file G4GeomTestOvershootList.cc.
00048 : G4GeomTestErrorList(theMother), 00049 daughter(theDaughterIndex) 00050 {}
G4GeomTestOvershootList::~G4GeomTestOvershootList | ( | ) | [virtual] |
const G4VPhysicalVolume * G4GeomTestOvershootList::GetDaughter | ( | ) | const |
Definition at line 89 of file G4GeomTestOvershootList.cc.
References G4LogicalVolume::GetDaughter(), G4VPhysicalVolume::GetLogicalVolume(), and G4GeomTestErrorList::GetMother().
Referenced by GetDaughtPoints(), and G4GeomTestStreamLogger::OvershootingDaughter().
00090 { 00091 return GetMother()->GetLogicalVolume()->GetDaughter(daughter); 00092 }
G4int G4GeomTestOvershootList::GetDaughterIndex | ( | ) | const |
void G4GeomTestOvershootList::GetDaughtPoints | ( | G4int | i, | |
G4ThreeVector & | s1, | |||
G4ThreeVector & | s2 | |||
) | const |
Definition at line 106 of file G4GeomTestOvershootList.cc.
References GetDaughter(), and G4GeomTestErrorList::GetOneDaughtPoints().
Referenced by G4GeomTestStreamLogger::OvershootingDaughter().
00109 { 00110 GetOneDaughtPoints( GetDaughter(), i, s1, s2 ); 00111 }
G4bool G4GeomTestOvershootList::operator< | ( | const G4GeomTestOvershootList & | other | ) | const |
Definition at line 79 of file G4GeomTestOvershootList.cc.
References daughter.
00080 { 00081 return (daughter < other.daughter); 00082 }
G4bool G4GeomTestOvershootList::operator== | ( | const G4GeomTestOvershootList & | other | ) | const |
Definition at line 73 of file G4GeomTestOvershootList.cc.
References daughter.
00074 { 00075 return daughter==other.daughter; 00076 }