G4GeomTestOvershootList Class Reference

#include <G4GeomTestOvershootList.hh>

Inheritance diagram for G4GeomTestOvershootList:

G4GeomTestErrorList

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

Detailed Description

Definition at line 46 of file G4GeomTestOvershootList.hh.


Constructor & Destructor Documentation

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]

Definition at line 65 of file G4GeomTestOvershootList.cc.

00066 {}


Member Function Documentation

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

Definition at line 94 of file G4GeomTestOvershootList.cc.

00095 {
00096   return daughter;
00097 }

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 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:52:05 2013 for Geant4 by  doxygen 1.4.7