ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/event/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 61 of file G4AdjointPosOnPhysVolGenerator.hh.
View newest version in sPHENIX GitHub at line 61 of file G4AdjointPosOnPhysVolGenerator.hh
|
private |
Definition at line 65 of file G4AdjointPosOnPhysVolGenerator.cc.
View newest version in sPHENIX GitHub at line 65 of file G4AdjointPosOnPhysVolGenerator.cc
Referenced by GetInstance().
|
private |
Definition at line 59 of file G4AdjointPosOnPhysVolGenerator.cc.
View newest version in sPHENIX GitHub at line 59 of file G4AdjointPosOnPhysVolGenerator.cc
G4double G4AdjointPosOnPhysVolGenerator::ComputeAreaOfExtSurface | ( | ) |
Definition at line 108 of file G4AdjointPosOnPhysVolGenerator.cc.
View newest version in sPHENIX GitHub at line 108 of file G4AdjointPosOnPhysVolGenerator.cc
References theSolid.
Referenced by ComputeAreaOfExtSurface().
Definition at line 114 of file G4AdjointPosOnPhysVolGenerator.cc.
View newest version in sPHENIX GitHub at line 114 of file G4AdjointPosOnPhysVolGenerator.cc
References ComputeAreaOfExtSurface(), and theSolid.
Definition at line 120 of file G4AdjointPosOnPhysVolGenerator.cc.
View newest version in sPHENIX GitHub at line 120 of file G4AdjointPosOnPhysVolGenerator.cc
References ComputeAreaOfExtSurface(), and theSolid.
Definition at line 126 of file G4AdjointPosOnPhysVolGenerator.cc.
View newest version in sPHENIX GitHub at line 126 of file G4AdjointPosOnPhysVolGenerator.cc
References ComputeAreaOfExtSurface(), and e.
Definition at line 132 of file G4AdjointPosOnPhysVolGenerator.cc.
View newest version in sPHENIX GitHub at line 132 of file G4AdjointPosOnPhysVolGenerator.cc
References ComputeAreaOfExtSurfaceStartingFromBox(), ComputeAreaOfExtSurfaceStartingFromSphere(), dir, GenerateAPositionOnABoxBoundary(), GenerateAPositionOnASphereBoundary(), ModelOfSurfaceSource, and UseSphere.
G4double G4AdjointPosOnPhysVolGenerator::ComputeAreaOfExtSurface | ( | G4VSolid * | aSolid, |
G4double | epsilon | ||
) |
Definition at line 150 of file G4AdjointPosOnPhysVolGenerator.cc.
View newest version in sPHENIX GitHub at line 150 of file G4AdjointPosOnPhysVolGenerator.cc
References ComputeAreaOfExtSurface().
|
private |
Definition at line 176 of file G4AdjointPosOnPhysVolGenerator.cc.
View newest version in sPHENIX GitHub at line 176 of file G4AdjointPosOnPhysVolGenerator.cc
References G4VSolid::DistanceToIn(), GenerateAPositionOnABoxBoundary(), and kInfinity.
Referenced by ComputeAreaOfExtSurface().
|
private |
Definition at line 194 of file G4AdjointPosOnPhysVolGenerator.cc.
View newest version in sPHENIX GitHub at line 194 of file G4AdjointPosOnPhysVolGenerator.cc
References G4VSolid::DistanceToIn(), GenerateAPositionOnASphereBoundary(), and kInfinity.
Referenced by ComputeAreaOfExtSurface().
|
private |
Definition at line 389 of file G4AdjointPosOnPhysVolGenerator.cc.
View newest version in sPHENIX GitHub at line 389 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 74 of file G4AdjointPosOnPhysVolGenerator.cc.
View newest version in sPHENIX GitHub at line 74 of file G4AdjointPosOnPhysVolGenerator.cc
References ComputeTransformationFromPhysVolToWorld(), G4cout, G4PhysicalVolumeStore::GetInstance(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetSolid(), thePhysicalVolume, and theSolid.
Referenced by DefinePhysicalVolume1().
Definition at line 102 of file G4AdjointPosOnPhysVolGenerator.cc.
View newest version in sPHENIX GitHub at line 102 of file G4AdjointPosOnPhysVolGenerator.cc
References DefinePhysicalVolume(), and thePhysicalVolume.
Referenced by G4AdjointPrimaryGenerator::SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume().
|
private |
Definition at line 267 of file G4AdjointPosOnPhysVolGenerator.cc.
View newest version in sPHENIX GitHub at line 267 of file G4AdjointPosOnPhysVolGenerator.cc
References kdfinder::abs(), G4VSolid::CalculateExtent(), Acts::Test::dX, Acts::Test::dY, G4UniformRand, kXAxis, kYAxis, kZAxis, maxY, maxZ, minY, Acts::Test::origin(), phi, and scale.
Referenced by ComputeAreaOfExtSurface(), ComputeAreaOfExtSurfaceStartingFromBox(), GenerateAPositionOnASolidBoundary(), and GenerateAPositionOnTheExtSurfaceOfASolid().
|
private |
Definition at line 212 of file G4AdjointPosOnPhysVolGenerator.cc.
View newest version in sPHENIX GitHub at line 212 of file G4AdjointPosOnPhysVolGenerator.cc
References G4VSolid::DistanceToIn(), GenerateAPositionOnABoxBoundary(), GenerateAPositionOnASphereBoundary(), kInfinity, and UseSphere.
Referenced by GenerateAPositionOnTheExtSurfaceOfASolid().
|
private |
Definition at line 227 of file G4AdjointPosOnPhysVolGenerator.cc.
View newest version in sPHENIX GitHub at line 227 of file G4AdjointPosOnPhysVolGenerator.cc
References G4VSolid::CalculateExtent(), Acts::Test::dX, Acts::Test::dY, G4UniformRand, kXAxis, kYAxis, kZAxis, maxY, maxZ, minY, Acts::Test::origin(), phi, r, CLHEP::Hep3Vector::rotateY(), CLHEP::Hep3Vector::rotateZ(), scale, CLHEP::Hep3Vector::setRThetaPhi(), and theta().
Referenced by ComputeAreaOfExtSurface(), ComputeAreaOfExtSurfaceStartingFromSphere(), GenerateAPositionOnASolidBoundary(), and GenerateAPositionOnTheExtSurfaceOfASolid().
void G4AdjointPosOnPhysVolGenerator::GenerateAPositionOnTheExtSurfaceOfASolid | ( | G4VSolid * | aSolid, |
G4ThreeVector & | p, | ||
G4ThreeVector & | direction | ||
) |
Definition at line 156 of file G4AdjointPosOnPhysVolGenerator.cc.
View newest version in sPHENIX GitHub at line 156 of file G4AdjointPosOnPhysVolGenerator.cc
References GenerateAPositionOnABoxBoundary(), GenerateAPositionOnASolidBoundary(), GenerateAPositionOnASphereBoundary(), and ModelOfSurfaceSource.
Referenced by GenerateAPositionOnTheExtSurfaceOfTheSolid().
void G4AdjointPosOnPhysVolGenerator::GenerateAPositionOnTheExtSurfaceOfThePhysicalVolume | ( | G4ThreeVector & | p, |
G4ThreeVector & | direction | ||
) |
Definition at line 369 of file G4AdjointPosOnPhysVolGenerator.cc.
View newest version in sPHENIX GitHub at line 369 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 381 of file G4AdjointPosOnPhysVolGenerator.cc.
View newest version in sPHENIX GitHub at line 381 of file G4AdjointPosOnPhysVolGenerator.cc
References CosThDirComparedToNormal, and GenerateAPositionOnTheExtSurfaceOfThePhysicalVolume().
void G4AdjointPosOnPhysVolGenerator::GenerateAPositionOnTheExtSurfaceOfTheSolid | ( | G4ThreeVector & | p, |
G4ThreeVector & | direction | ||
) |
Definition at line 170 of file G4AdjointPosOnPhysVolGenerator.cc.
View newest version in sPHENIX GitHub at line 170 of file G4AdjointPosOnPhysVolGenerator.cc
References GenerateAPositionOnTheExtSurfaceOfASolid(), and theSolid.
Referenced by GenerateAPositionOnTheExtSurfaceOfThePhysicalVolume().
|
inline |
Definition at line 92 of file G4AdjointPosOnPhysVolGenerator.hh.
View newest version in sPHENIX GitHub at line 92 of file G4AdjointPosOnPhysVolGenerator.hh
References AreaOfExtSurfaceOfThePhysicalVolume.
|
inline |
Definition at line 93 of file G4AdjointPosOnPhysVolGenerator.hh.
View newest version in sPHENIX GitHub at line 93 of file G4AdjointPosOnPhysVolGenerator.hh
References CosThDirComparedToNormal.
|
static |
Definition at line 48 of file G4AdjointPosOnPhysVolGenerator.cc.
View newest version in sPHENIX GitHub at line 48 of file G4AdjointPosOnPhysVolGenerator.cc
References G4AdjointPosOnPhysVolGenerator(), and theInstance.
Referenced by G4AdjointPrimaryGenerator::G4AdjointPrimaryGenerator().
Definition at line 91 of file G4AdjointPosOnPhysVolGenerator.hh.
View newest version in sPHENIX GitHub at line 91 of file G4AdjointPosOnPhysVolGenerator.hh
References theSolid.
|
private |
Definition at line 117 of file G4AdjointPosOnPhysVolGenerator.hh.
View newest version in sPHENIX GitHub at line 117 of file G4AdjointPosOnPhysVolGenerator.hh
Referenced by GetAreaOfExtSurfaceOfThePhysicalVolume().
|
private |
Definition at line 118 of file G4AdjointPosOnPhysVolGenerator.hh.
View newest version in sPHENIX GitHub at line 118 of file G4AdjointPosOnPhysVolGenerator.hh
Referenced by GenerateAPositionOnTheExtSurfaceOfThePhysicalVolume(), and GetCosThDirComparedToNormal().
|
private |
Definition at line 115 of file G4AdjointPosOnPhysVolGenerator.hh.
View newest version in sPHENIX GitHub at line 115 of file G4AdjointPosOnPhysVolGenerator.hh
Referenced by ComputeAreaOfExtSurface(), and GenerateAPositionOnTheExtSurfaceOfASolid().
|
staticprivate |
Definition at line 110 of file G4AdjointPosOnPhysVolGenerator.hh.
View newest version in sPHENIX GitHub at line 110 of file G4AdjointPosOnPhysVolGenerator.hh
Referenced by GetInstance().
|
private |
Definition at line 112 of file G4AdjointPosOnPhysVolGenerator.hh.
View newest version in sPHENIX GitHub at line 112 of file G4AdjointPosOnPhysVolGenerator.hh
Referenced by ComputeTransformationFromPhysVolToWorld(), DefinePhysicalVolume(), DefinePhysicalVolume1(), and GenerateAPositionOnTheExtSurfaceOfThePhysicalVolume().
|
private |
Definition at line 111 of file G4AdjointPosOnPhysVolGenerator.hh.
View newest version in sPHENIX GitHub at line 111 of file G4AdjointPosOnPhysVolGenerator.hh
Referenced by ComputeAreaOfExtSurface(), DefinePhysicalVolume(), GenerateAPositionOnTheExtSurfaceOfTheSolid(), and SetSolid().
|
private |
Definition at line 116 of file G4AdjointPosOnPhysVolGenerator.hh.
View newest version in sPHENIX GitHub at line 116 of file G4AdjointPosOnPhysVolGenerator.hh
Referenced by ComputeTransformationFromPhysVolToWorld(), and GenerateAPositionOnTheExtSurfaceOfThePhysicalVolume().
|
private |
Definition at line 114 of file G4AdjointPosOnPhysVolGenerator.hh.
View newest version in sPHENIX GitHub at line 114 of file G4AdjointPosOnPhysVolGenerator.hh
Referenced by ComputeAreaOfExtSurface(), and GenerateAPositionOnASolidBoundary().