49#ifndef G4AdjointPosOnPhysVolGenerator_hh
50#define G4AdjointPosOnPhysVolGenerator_hh 1
89 {
return AreaOfExtSurfaceOfThePhysicalVolume; }
91 {
return CosThDirComparedToNormal; }
102 void GenerateAPositionOnASolidBoundary(
G4VSolid* aSolid,
111 void ComputeTransformationFromPhysVolToWorld();
122 G4String ModelOfSurfaceSource{
"OnSolid"};
124 G4double AreaOfExtSurfaceOfThePhysicalVolume{0.};
125 G4double CosThDirComparedToNormal{0.};
G4double epsilon(G4double density, G4double temperature)
void GenerateAPositionOnTheExtSurfaceOfTheSolid(G4ThreeVector &p, G4ThreeVector &direction)
void GenerateAPositionOnTheExtSurfaceOfThePhysicalVolume(G4ThreeVector &p, G4ThreeVector &direction)
G4VPhysicalVolume * DefinePhysicalVolume(const G4String &aName)
void DefinePhysicalVolume1(const G4String &aName)
void SetSolid(G4VSolid *aSolid)
void GenerateAPositionOnTheExtSurfaceOfASolid(G4VSolid *aSolid, G4ThreeVector &p, G4ThreeVector &direction)
G4double ComputeAreaOfExtSurface()
G4double GetAreaOfExtSurfaceOfThePhysicalVolume()
G4double GetCosThDirComparedToNormal()
static G4AdjointPosOnPhysVolGenerator * GetInstance()