Geant4
10.01.p02
|
#include <G4AdjointPosOnPhysVolGenerator.hh>
Static Public Member Functions | |
static G4AdjointPosOnPhysVolGenerator * | GetInstance () |
Private Member Functions | |
G4AdjointPosOnPhysVolGenerator () | |
~G4AdjointPosOnPhysVolGenerator () | |
G4double | ComputeAreaOfExtSurfaceStartingFromSphere (G4VSolid *aSolid, G4int NStat) |
G4double | ComputeAreaOfExtSurfaceStartingFromBox (G4VSolid *aSolid, G4int NStat) |
void | GenerateAPositionOnASolidBoundary (G4VSolid *aSolid, G4ThreeVector &p, G4ThreeVector &direction) |
G4double | GenerateAPositionOnASphereBoundary (G4VSolid *aSolid, G4ThreeVector &p, G4ThreeVector &direction) |
G4double | GenerateAPositionOnABoxBoundary (G4VSolid *aSolid, G4ThreeVector &p, G4ThreeVector &direction) |
void | ComputeTransformationFromPhysVolToWorld () |
Static Private Attributes | |
static G4ThreadLocal G4AdjointPosOnPhysVolGenerator * | theInstance = 0 |
Definition at line 62 of file G4AdjointPosOnPhysVolGenerator.hh.
|
private |
Definition at line 66 of file G4AdjointPosOnPhysVolGenerator.cc.
Referenced by GetInstance().
|
private |
Definition at line 60 of file G4AdjointPosOnPhysVolGenerator.cc.
G4double G4AdjointPosOnPhysVolGenerator::ComputeAreaOfExtSurface | ( | ) |
Definition at line 109 of file G4AdjointPosOnPhysVolGenerator.cc.
References theSolid.
Referenced by ComputeAreaOfExtSurface().
Definition at line 115 of file G4AdjointPosOnPhysVolGenerator.cc.
References ComputeAreaOfExtSurface(), and theSolid.
Definition at line 121 of file G4AdjointPosOnPhysVolGenerator.cc.
References ComputeAreaOfExtSurface(), and theSolid.
Definition at line 127 of file G4AdjointPosOnPhysVolGenerator.cc.
References ComputeAreaOfExtSurface().
Definition at line 133 of file G4AdjointPosOnPhysVolGenerator.cc.
References ComputeAreaOfExtSurfaceStartingFromBox(), ComputeAreaOfExtSurfaceStartingFromSphere(), GenerateAPositionOnABoxBoundary(), GenerateAPositionOnASphereBoundary(), ModelOfSurfaceSource, and UseSphere.
G4double G4AdjointPosOnPhysVolGenerator::ComputeAreaOfExtSurface | ( | G4VSolid * | aSolid, |
G4double | epsilon | ||
) |
Definition at line 151 of file G4AdjointPosOnPhysVolGenerator.cc.
References ComputeAreaOfExtSurface().
|
private |
Definition at line 177 of file G4AdjointPosOnPhysVolGenerator.cc.
References G4VSolid::DistanceToIn(), GenerateAPositionOnABoxBoundary(), and kInfinity.
Referenced by ComputeAreaOfExtSurface().
|
private |
Definition at line 195 of file G4AdjointPosOnPhysVolGenerator.cc.
References G4VSolid::DistanceToIn(), GenerateAPositionOnASphereBoundary(), and kInfinity.
Referenced by ComputeAreaOfExtSurface().
|
private |
Definition at line 390 of file G4AdjointPosOnPhysVolGenerator.cc.
References G4VPhysicalVolume::GetFrameRotation(), G4PhysicalVolumeStore::GetInstance(), G4VPhysicalVolume::GetMotherLogical(), G4VPhysicalVolume::GetObjectTranslation(), thePhysicalVolume, and theTransformationFromPhysVolToWorld.
Referenced by DefinePhysicalVolume().
G4VPhysicalVolume * G4AdjointPosOnPhysVolGenerator::DefinePhysicalVolume | ( | const G4String & | aName | ) |
Definition at line 75 of file G4AdjointPosOnPhysVolGenerator.cc.
References ComputeTransformationFromPhysVolToWorld(), G4cout, G4PhysicalVolumeStore::GetInstance(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetSolid(), thePhysicalVolume, and theSolid.
Referenced by DefinePhysicalVolume1().
void G4AdjointPosOnPhysVolGenerator::DefinePhysicalVolume1 | ( | const G4String & | aName | ) |
Definition at line 103 of file G4AdjointPosOnPhysVolGenerator.cc.
References DefinePhysicalVolume(), and thePhysicalVolume.
Referenced by G4AdjointPrimaryGenerator::SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume().
|
private |
Definition at line 268 of file G4AdjointPosOnPhysVolGenerator.cc.
References G4VSolid::CalculateExtent(), G4UniformRand, kXAxis, kYAxis, and kZAxis.
Referenced by ComputeAreaOfExtSurface(), ComputeAreaOfExtSurfaceStartingFromBox(), GenerateAPositionOnASolidBoundary(), and GenerateAPositionOnTheExtSurfaceOfASolid().
|
private |
Definition at line 213 of file G4AdjointPosOnPhysVolGenerator.cc.
References G4VSolid::DistanceToIn(), GenerateAPositionOnABoxBoundary(), GenerateAPositionOnASphereBoundary(), kInfinity, and UseSphere.
Referenced by GenerateAPositionOnTheExtSurfaceOfASolid().
|
private |
Definition at line 228 of file G4AdjointPosOnPhysVolGenerator.cc.
References G4VSolid::CalculateExtent(), G4UniformRand, kXAxis, kYAxis, and kZAxis.
Referenced by ComputeAreaOfExtSurface(), ComputeAreaOfExtSurfaceStartingFromSphere(), GenerateAPositionOnASolidBoundary(), and GenerateAPositionOnTheExtSurfaceOfASolid().
void G4AdjointPosOnPhysVolGenerator::GenerateAPositionOnTheExtSurfaceOfASolid | ( | G4VSolid * | aSolid, |
G4ThreeVector & | p, | ||
G4ThreeVector & | direction | ||
) |
Definition at line 157 of file G4AdjointPosOnPhysVolGenerator.cc.
References GenerateAPositionOnABoxBoundary(), GenerateAPositionOnASolidBoundary(), GenerateAPositionOnASphereBoundary(), and ModelOfSurfaceSource.
Referenced by GenerateAPositionOnTheExtSurfaceOfTheSolid().
void G4AdjointPosOnPhysVolGenerator::GenerateAPositionOnTheExtSurfaceOfThePhysicalVolume | ( | G4ThreeVector & | p, |
G4ThreeVector & | direction | ||
) |
Definition at line 370 of file G4AdjointPosOnPhysVolGenerator.cc.
References G4cout, GenerateAPositionOnTheExtSurfaceOfTheSolid(), thePhysicalVolume, theTransformationFromPhysVolToWorld, G4AffineTransform::TransformAxis(), and G4AffineTransform::TransformPoint().
Referenced by G4AdjointPrimaryGenerator::GenerateAdjointPrimaryVertex(), GenerateAPositionOnTheExtSurfaceOfThePhysicalVolume(), and G4AdjointPrimaryGenerator::GenerateFwdPrimaryVertex().
void G4AdjointPosOnPhysVolGenerator::GenerateAPositionOnTheExtSurfaceOfThePhysicalVolume | ( | G4ThreeVector & | p, |
G4ThreeVector & | direction, | ||
G4double & | costh_to_normal | ||
) |
Definition at line 382 of file G4AdjointPosOnPhysVolGenerator.cc.
References CosThDirComparedToNormal, and GenerateAPositionOnTheExtSurfaceOfThePhysicalVolume().
void G4AdjointPosOnPhysVolGenerator::GenerateAPositionOnTheExtSurfaceOfTheSolid | ( | G4ThreeVector & | p, |
G4ThreeVector & | direction | ||
) |
Definition at line 171 of file G4AdjointPosOnPhysVolGenerator.cc.
References GenerateAPositionOnTheExtSurfaceOfASolid(), and theSolid.
Referenced by GenerateAPositionOnTheExtSurfaceOfThePhysicalVolume().
|
inline |
Definition at line 93 of file G4AdjointPosOnPhysVolGenerator.hh.
References AreaOfExtSurfaceOfThePhysicalVolume.
|
inline |
Definition at line 94 of file G4AdjointPosOnPhysVolGenerator.hh.
References CosThDirComparedToNormal.
|
static |
Definition at line 49 of file G4AdjointPosOnPhysVolGenerator.cc.
References G4AdjointPosOnPhysVolGenerator(), and theInstance.
Referenced by G4AdjointPrimaryGenerator::G4AdjointPrimaryGenerator().
|
inline |
Definition at line 92 of file G4AdjointPosOnPhysVolGenerator.hh.
References theSolid.
|
private |
Definition at line 118 of file G4AdjointPosOnPhysVolGenerator.hh.
Referenced by GetAreaOfExtSurfaceOfThePhysicalVolume().
|
private |
Definition at line 119 of file G4AdjointPosOnPhysVolGenerator.hh.
Referenced by GenerateAPositionOnTheExtSurfaceOfThePhysicalVolume(), and GetCosThDirComparedToNormal().
|
private |
Definition at line 116 of file G4AdjointPosOnPhysVolGenerator.hh.
Referenced by ComputeAreaOfExtSurface(), and GenerateAPositionOnTheExtSurfaceOfASolid().
|
staticprivate |
Definition at line 111 of file G4AdjointPosOnPhysVolGenerator.hh.
Referenced by GetInstance().
|
private |
Definition at line 113 of file G4AdjointPosOnPhysVolGenerator.hh.
Referenced by ComputeTransformationFromPhysVolToWorld(), DefinePhysicalVolume(), DefinePhysicalVolume1(), and GenerateAPositionOnTheExtSurfaceOfThePhysicalVolume().
|
private |
Definition at line 112 of file G4AdjointPosOnPhysVolGenerator.hh.
Referenced by ComputeAreaOfExtSurface(), DefinePhysicalVolume(), GenerateAPositionOnTheExtSurfaceOfTheSolid(), and SetSolid().
|
private |
Definition at line 117 of file G4AdjointPosOnPhysVolGenerator.hh.
Referenced by ComputeTransformationFromPhysVolToWorld(), and GenerateAPositionOnTheExtSurfaceOfThePhysicalVolume().
|
private |
Definition at line 115 of file G4AdjointPosOnPhysVolGenerator.hh.
Referenced by ComputeAreaOfExtSurface(), and GenerateAPositionOnASolidBoundary().