Geant4  10.02.p02
G4UCNBoundaryProcess Class Reference

#include <G4UCNBoundaryProcess.hh>

+ Inheritance diagram for G4UCNBoundaryProcess:
+ Collaboration diagram for G4UCNBoundaryProcess:

Public Member Functions

 G4UCNBoundaryProcess (const G4String &processName="UCNBoundaryProcess", G4ProcessType type=fUCN)
 
virtual ~G4UCNBoundaryProcess ()
 
G4bool IsApplicable (const G4ParticleDefinition &aParticleType)
 
G4double GetMeanFreePath (const G4Track &aTrack, G4double, G4ForceCondition *condition)
 
G4VParticleChangePostStepDoIt (const G4Track &aTrack, const G4Step &aStep)
 
G4ThreeVector MRreflect (G4double, G4ThreeVector, G4ThreeVector, G4double, G4double)
 
G4ThreeVector MRreflectHigh (G4double, G4double, G4double, G4ThreeVector, G4ThreeVector, G4double, G4double, G4double &)
 
void SetMicroRoughness (G4bool)
 
G4bool GetMicroRoughness ()
 
G4UCNBoundaryProcessStatus GetStatus () const
 
void BoundaryProcessSummary () const
 
void SetMaterialPropertiesTable1 (G4UCNMaterialPropertiesTable *MPT)
 
void SetMaterialPropertiesTable2 (G4UCNMaterialPropertiesTable *MPT)
 
G4double GetTheta_o ()
 
G4double GetPhi_o ()
 
- Public Member Functions inherited from G4VDiscreteProcess
 G4VDiscreteProcess (const G4String &, G4ProcessType aType=fNotDefined)
 
 G4VDiscreteProcess (G4VDiscreteProcess &)
 
virtual ~G4VDiscreteProcess ()
 
virtual G4double PostStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
 
virtual G4double AlongStepGetPhysicalInteractionLength (const G4Track &, G4double, G4double, G4double &, G4GPILSelection *)
 
virtual G4double AtRestGetPhysicalInteractionLength (const G4Track &, G4ForceCondition *)
 
virtual G4VParticleChangeAtRestDoIt (const G4Track &, const G4Step &)
 
virtual G4VParticleChangeAlongStepDoIt (const G4Track &, const G4Step &)
 
- Public Member Functions inherited from G4VProcess
 G4VProcess (const G4String &aName="NoName", G4ProcessType aType=fNotDefined)
 
 G4VProcess (const G4VProcess &right)
 
virtual ~G4VProcess ()
 
G4int operator== (const G4VProcess &right) const
 
G4int operator!= (const G4VProcess &right) const
 
G4double GetCurrentInteractionLength () const
 
void SetPILfactor (G4double value)
 
G4double GetPILfactor () const
 
G4double AlongStepGPIL (const G4Track &track, G4double previousStepSize, G4double currentMinimumStep, G4double &proposedSafety, G4GPILSelection *selection)
 
G4double AtRestGPIL (const G4Track &track, G4ForceCondition *condition)
 
G4double PostStepGPIL (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &)
 
virtual void PreparePhysicsTable (const G4ParticleDefinition &)
 
virtual G4bool StorePhysicsTable (const G4ParticleDefinition *, const G4String &, G4bool)
 
virtual G4bool RetrievePhysicsTable (const G4ParticleDefinition *, const G4String &, G4bool)
 
const G4StringGetPhysicsTableFileName (const G4ParticleDefinition *, const G4String &directory, const G4String &tableName, G4bool ascii=false)
 
const G4StringGetProcessName () const
 
G4ProcessType GetProcessType () const
 
void SetProcessType (G4ProcessType)
 
G4int GetProcessSubType () const
 
void SetProcessSubType (G4int)
 
virtual void StartTracking (G4Track *)
 
virtual void EndTracking ()
 
virtual void SetProcessManager (const G4ProcessManager *)
 
virtual const G4ProcessManagerGetProcessManager ()
 
virtual void ResetNumberOfInteractionLengthLeft ()
 
G4double GetNumberOfInteractionLengthLeft () const
 
G4double GetTotalNumberOfInteractionLengthTraversed () const
 
G4bool isAtRestDoItIsEnabled () const
 
G4bool isAlongStepDoItIsEnabled () const
 
G4bool isPostStepDoItIsEnabled () const
 
virtual void DumpInfo () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
virtual void SetMasterProcess (G4VProcess *masterP)
 
const G4VProcessGetMasterProcess () const
 
virtual void BuildWorkerPhysicsTable (const G4ParticleDefinition &part)
 
virtual void PrepareWorkerPhysicsTable (const G4ParticleDefinition &)
 

Private Member Functions

 G4UCNBoundaryProcess (const G4UCNBoundaryProcess &right)
 
G4UCNBoundaryProcessoperator= (const G4UCNBoundaryProcess &right)
 
G4bool High (G4double, G4double)
 
G4bool Loss (G4double, G4double, G4double)
 
G4bool SpinFlip (G4double)
 
G4double Reflectivity (G4double, G4double)
 
G4ThreeVector Reflect (G4double, G4ThreeVector, G4ThreeVector)
 
G4double Transmit (G4double, G4double)
 
G4ThreeVector LDiffRefl (G4ThreeVector)
 
G4ThreeVector MRDiffRefl (G4ThreeVector, G4double, G4double, G4ThreeVector, G4double)
 
G4ThreeVector MRDiffTrans (G4ThreeVector, G4double, G4double, G4ThreeVector, G4double)
 
G4RotationMatrix GetCoordinateTransformMatrix (G4ThreeVector, G4ThreeVector)
 
void BoundaryProcessVerbose () const
 
G4bool InvokeSD (const G4Step *step)
 

Private Attributes

G4UCNBoundaryProcessMessengerfMessenger
 
G4double neV
 
G4double kCarTolerance
 
G4UCNBoundaryProcessStatus theStatus
 
G4MaterialMaterial1
 
G4MaterialMaterial2
 
G4UCNMaterialPropertiesTableaMaterialPropertiesTable1
 
G4UCNMaterialPropertiesTableaMaterialPropertiesTable2
 
G4bool UseMicroRoughnessReflection
 
G4bool DoMicroRoughnessReflection
 
G4int nNoMPT
 
G4int nNoMRT
 
G4int nNoMRCondition
 
G4int nAbsorption
 
G4int nEzero
 
G4int nFlip
 
G4int aSpecularReflection
 
G4int bSpecularReflection
 
G4int bLambertianReflection
 
G4int aMRDiffuseReflection
 
G4int bMRDiffuseReflection
 
G4int nSnellTransmit
 
G4int mSnellTransmit
 
G4int aMRDiffuseTransmit
 
G4double ftheta_o
 
G4double fphi_o
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VProcess
static const G4StringGetProcessTypeName (G4ProcessType)
 
- Protected Member Functions inherited from G4VProcess
void SubtractNumberOfInteractionLengthLeft (G4double previousStepSize)
 
void ClearNumberOfInteractionLengthLeft ()
 
- Protected Attributes inherited from G4VProcess
const G4ProcessManageraProcessManager
 
G4VParticleChangepParticleChange
 
G4ParticleChange aParticleChange
 
G4double theNumberOfInteractionLengthLeft
 
G4double currentInteractionLength
 
G4double theInitialNumberOfInteractionLength
 
G4String theProcessName
 
G4String thePhysicsTableFileName
 
G4ProcessType theProcessType
 
G4int theProcessSubType
 
G4double thePILfactor
 
G4bool enableAtRestDoIt
 
G4bool enableAlongStepDoIt
 
G4bool enablePostStepDoIt
 
G4int verboseLevel
 

Detailed Description

Definition at line 83 of file G4UCNBoundaryProcess.hh.

Constructor & Destructor Documentation

G4UCNBoundaryProcess::~G4UCNBoundaryProcess ( )
virtual

Definition at line 105 of file G4UCNBoundaryProcess.cc.

References fMessenger.

G4UCNBoundaryProcess::G4UCNBoundaryProcess ( const G4UCNBoundaryProcess right)
private

Member Function Documentation

void G4UCNBoundaryProcess::BoundaryProcessSummary ( void  ) const

Definition at line 942 of file G4UCNBoundaryProcess.cc.

References aMRDiffuseReflection, aMRDiffuseTransmit, aSpecularReflection, bLambertianReflection, bMRDiffuseReflection, bSpecularReflection, G4cout, G4endl, mSnellTransmit, nAbsorption, nEzero, nFlip, nNoMPT, nNoMRCondition, nNoMRT, and nSnellTransmit.

Referenced by ExUCNRunAction::EndOfRunAction().

+ Here is the caller graph for this function:

void G4UCNBoundaryProcess::BoundaryProcessVerbose ( ) const
private

Definition at line 908 of file G4UCNBoundaryProcess.cc.

References Absorption, Ezero, Flip, G4cout, G4endl, LambertianReflection, MRDiffuseReflection, MRDiffuseTransmit, NoMPT, NoMRCondition, NoMRT, NotAtBoundary, SameMaterial, SnellTransmit, SpecularReflection, StepTooSmall, theStatus, and Undefined.

Referenced by MRreflect(), MRreflectHigh(), PostStepDoIt(), and Reflect().

+ Here is the caller graph for this function:

G4RotationMatrix G4UCNBoundaryProcess::GetCoordinateTransformMatrix ( G4ThreeVector  Normal,
G4ThreeVector  direction 
)
private

Definition at line 877 of file G4UCNBoundaryProcess.cc.

References degree.

Referenced by MRDiffRefl(), and MRDiffTrans().

+ Here is the caller graph for this function:

G4double G4UCNBoundaryProcess::GetMeanFreePath ( const G4Track aTrack,
G4double  ,
G4ForceCondition condition 
)
virtual

Implements G4VDiscreteProcess.

Definition at line 455 of file G4UCNBoundaryProcess.cc.

References DBL_MAX, and Forced.

G4bool G4UCNBoundaryProcess::GetMicroRoughness ( )
inline

Definition at line 248 of file G4UCNBoundaryProcess.hh.

References UseMicroRoughnessReflection.

G4double G4UCNBoundaryProcess::GetPhi_o ( )
inline

Definition at line 213 of file G4UCNBoundaryProcess.hh.

References fphi_o.

G4UCNBoundaryProcessStatus G4UCNBoundaryProcess::GetStatus ( ) const
inline

Definition at line 228 of file G4UCNBoundaryProcess.hh.

References theStatus.

G4double G4UCNBoundaryProcess::GetTheta_o ( )
inline

Definition at line 212 of file G4UCNBoundaryProcess.hh.

References ftheta_o.

G4bool G4UCNBoundaryProcess::High ( G4double  Energy,
G4double  FermiPotDiff 
)
inlineprivate

Definition at line 234 of file G4UCNBoundaryProcess.hh.

Referenced by PostStepDoIt().

+ Here is the caller graph for this function:

G4bool G4UCNBoundaryProcess::InvokeSD ( const G4Step step)
private

Definition at line 975 of file G4UCNBoundaryProcess.cc.

References G4Step::AddTotalEnergyDeposit(), G4Track::GetKineticEnergy(), G4Step::GetPostStepPoint(), G4StepPoint::GetSensitiveDetector(), G4Step::GetTrack(), and G4VSensitiveDetector::Hit().

+ Here is the call graph for this function:

G4bool G4UCNBoundaryProcess::IsApplicable ( const G4ParticleDefinition aParticleType)
inlinevirtual

Reimplemented from G4VProcess.

Definition at line 222 of file G4UCNBoundaryProcess.hh.

References G4Neutron::NeutronDefinition().

+ Here is the call graph for this function:

G4ThreeVector G4UCNBoundaryProcess::LDiffRefl ( G4ThreeVector  Normal)
private

Definition at line 859 of file G4UCNBoundaryProcess.cc.

References G4cout, G4endl, G4UniformRand, and pi.

Referenced by Reflect().

+ Here is the caller graph for this function:

G4bool G4UCNBoundaryProcess::Loss ( G4double  pUpScatter,
G4double  theVelocityNormal,
G4double  FermiPot 
)
private

Definition at line 464 of file G4UCNBoundaryProcess.cc.

References aMaterialPropertiesTable2, DoMicroRoughnessReflection, G4UniformRand, G4UCNMaterialPropertiesTable::GetCorrLen(), G4UCNMaterialPropertiesTable::GetRMS(), and w.

Referenced by PostStepDoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ThreeVector G4UCNBoundaryProcess::MRDiffRefl ( G4ThreeVector  Normal,
G4double  Energy,
G4double  FermiPot,
G4ThreeVector  OldMomentum,
G4double  pDiffuse 
)
private

Definition at line 694 of file G4UCNBoundaryProcess.cc.

References aMaterialPropertiesTable2, fphi_o, ftheta_o, G4cout, G4endl, G4UniformRand, GetCoordinateTransformMatrix(), and pi.

Referenced by MRreflect(), and MRreflectHigh().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ThreeVector G4UCNBoundaryProcess::MRDiffTrans ( G4ThreeVector  Normal,
G4double  Energy,
G4double  FermiPot,
G4ThreeVector  OldMomentum,
G4double  pDiffuseTrans 
)
private

Definition at line 776 of file G4UCNBoundaryProcess.cc.

References aMaterialPropertiesTable2, G4cout, G4endl, G4UniformRand, GetCoordinateTransformMatrix(), and pi.

Referenced by MRreflectHigh().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ThreeVector G4UCNBoundaryProcess::MRreflect ( G4double  pDiffuse,
G4ThreeVector  OldMomentum,
G4ThreeVector  Normal,
G4double  Energy,
G4double  FermiPot 
)

Definition at line 541 of file G4UCNBoundaryProcess.cc.

References bMRDiffuseReflection, BoundaryProcessVerbose(), bSpecularReflection, G4UniformRand, MRDiffRefl(), MRDiffuseReflection, SpecularReflection, theStatus, and G4VProcess::verboseLevel.

Referenced by PostStepDoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ThreeVector G4UCNBoundaryProcess::MRreflectHigh ( G4double  pDiffuse,
G4double  pDiffuseTrans,
G4double  pLoss,
G4ThreeVector  OldMomentum,
G4ThreeVector  Normal,
G4double  Energy,
G4double  FermiPot,
G4double Enew 
)

Definition at line 585 of file G4UCNBoundaryProcess.cc.

References aMRDiffuseReflection, aMRDiffuseTransmit, aSpecularReflection, BoundaryProcessVerbose(), Ezero, G4cout, G4endl, G4UniformRand, MRDiffRefl(), MRDiffTrans(), MRDiffuseReflection, MRDiffuseTransmit, mSnellTransmit, nEzero, Reflectivity(), SnellTransmit, SpecularReflection, theStatus, and G4VProcess::verboseLevel.

Referenced by PostStepDoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4UCNBoundaryProcess& G4UCNBoundaryProcess::operator= ( const G4UCNBoundaryProcess right)
private
G4VParticleChange * G4UCNBoundaryProcess::PostStepDoIt ( const G4Track aTrack,
const G4Step aStep 
)
virtual

Reimplemented from G4VDiscreteProcess.

Definition at line 111 of file G4UCNBoundaryProcess.cc.

References Absorption, aMaterialPropertiesTable1, aMaterialPropertiesTable2, G4VProcess::aParticleChange, BoundaryProcessVerbose(), degree, DoMicroRoughnessReflection, EventMustBeAborted, fGeomBoundary, Flip, fStopAndKill, G4cout, G4endl, G4Exception(), G4UniformRand, G4MaterialPropertiesTable::GetConstProperty(), G4Track::GetDynamicParticle(), G4ParticleChange::GetEnergy(), G4ParallelWorldProcess::GetHyperStep(), G4ParallelWorldProcess::GetHypNavigatorID(), G4Track::GetKineticEnergy(), G4StepPoint::GetMaterial(), G4UCNMaterialPropertiesTable::GetMicroRoughnessTable(), G4Track::GetMomentum(), G4DynamicParticle::GetMomentumDirection(), G4Track::GetMomentumDirection(), G4VPhysicalVolume::GetName(), G4StepPoint::GetPhysicalVolume(), G4DynamicParticle::GetPolarization(), G4StepPoint::GetPosition(), G4Step::GetPostStepPoint(), G4Step::GetPreStepPoint(), G4Track::GetStepLength(), G4StepPoint::GetStepStatus(), G4TransportationManager::GetTransportationManager(), G4Track::GetVelocity(), High(), G4ParticleChange::Initialize(), kCarTolerance, Loss(), Material1, Material2, MRreflect(), MRreflectHigh(), nAbsorption, neV, nFlip, nNoMPT, nNoMRCondition, nNoMRT, NoMPT, NoMRCondition, NoMRT, NotAtBoundary, nSnellTransmit, G4VDiscreteProcess::PostStepDoIt(), G4ParticleChange::ProposeEnergy(), G4VParticleChange::ProposeLocalEnergyDeposit(), G4ParticleChange::ProposeMomentumDirection(), G4ParticleChange::ProposePolarization(), G4VParticleChange::ProposeTrackStatus(), G4ParticleChange::ProposeVelocity(), Reflect(), Reflectivity(), SameMaterial, SnellTransmit, SpinFlip(), StepTooSmall, theStatus, Transmit(), UseMicroRoughnessReflection, and G4VProcess::verboseLevel.

+ Here is the call graph for this function:

G4ThreeVector G4UCNBoundaryProcess::Reflect ( G4double  pDiffuse,
G4ThreeVector  OldMomentum,
G4ThreeVector  Normal 
)
private

Definition at line 510 of file G4UCNBoundaryProcess.cc.

References bLambertianReflection, BoundaryProcessVerbose(), bSpecularReflection, G4UniformRand, LambertianReflection, LDiffRefl(), SpecularReflection, theStatus, and G4VProcess::verboseLevel.

Referenced by PostStepDoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4UCNBoundaryProcess::Reflectivity ( G4double  FermiPot,
G4double  Enormal 
)
private

Definition at line 502 of file G4UCNBoundaryProcess.cc.

Referenced by MRreflectHigh(), and PostStepDoIt().

+ Here is the caller graph for this function:

void G4UCNBoundaryProcess::SetMaterialPropertiesTable1 ( G4UCNMaterialPropertiesTable MPT)
inline

Definition at line 206 of file G4UCNBoundaryProcess.hh.

void G4UCNBoundaryProcess::SetMaterialPropertiesTable2 ( G4UCNMaterialPropertiesTable MPT)
inline

Definition at line 209 of file G4UCNBoundaryProcess.hh.

void G4UCNBoundaryProcess::SetMicroRoughness ( G4bool  active)
inline

Definition at line 242 of file G4UCNBoundaryProcess.hh.

References active, and UseMicroRoughnessReflection.

Referenced by ExUCNExtraPhysics::ConstructUCN().

+ Here is the caller graph for this function:

G4bool G4UCNBoundaryProcess::SpinFlip ( G4double  pSpinFlip)
private

Definition at line 497 of file G4UCNBoundaryProcess.cc.

References G4UniformRand.

Referenced by PostStepDoIt().

+ Here is the caller graph for this function:

G4double G4UCNBoundaryProcess::Transmit ( G4double  FermiPot,
G4double  Energy 
)
private

Definition at line 854 of file G4UCNBoundaryProcess.cc.

Referenced by PostStepDoIt().

+ Here is the caller graph for this function:

Member Data Documentation

G4UCNMaterialPropertiesTable* G4UCNBoundaryProcess::aMaterialPropertiesTable1
private

Definition at line 136 of file G4UCNBoundaryProcess.hh.

Referenced by G4UCNBoundaryProcess(), and PostStepDoIt().

G4UCNMaterialPropertiesTable* G4UCNBoundaryProcess::aMaterialPropertiesTable2
private
G4int G4UCNBoundaryProcess::aMRDiffuseReflection
private
G4int G4UCNBoundaryProcess::aMRDiffuseTransmit
private
G4int G4UCNBoundaryProcess::aSpecularReflection
private
G4int G4UCNBoundaryProcess::bLambertianReflection
private

Definition at line 190 of file G4UCNBoundaryProcess.hh.

Referenced by BoundaryProcessSummary(), G4UCNBoundaryProcess(), and Reflect().

G4int G4UCNBoundaryProcess::bMRDiffuseReflection
private
G4int G4UCNBoundaryProcess::bSpecularReflection
private
G4bool G4UCNBoundaryProcess::DoMicroRoughnessReflection
private

Definition at line 141 of file G4UCNBoundaryProcess.hh.

Referenced by G4UCNBoundaryProcess(), Loss(), and PostStepDoIt().

G4UCNBoundaryProcessMessenger* G4UCNBoundaryProcess::fMessenger
private

Definition at line 124 of file G4UCNBoundaryProcess.hh.

Referenced by G4UCNBoundaryProcess(), and ~G4UCNBoundaryProcess().

G4double G4UCNBoundaryProcess::fphi_o
private

Definition at line 195 of file G4UCNBoundaryProcess.hh.

Referenced by G4UCNBoundaryProcess(), GetPhi_o(), and MRDiffRefl().

G4double G4UCNBoundaryProcess::ftheta_o
private

Definition at line 195 of file G4UCNBoundaryProcess.hh.

Referenced by G4UCNBoundaryProcess(), GetTheta_o(), and MRDiffRefl().

G4double G4UCNBoundaryProcess::kCarTolerance
private

Definition at line 128 of file G4UCNBoundaryProcess.hh.

Referenced by G4UCNBoundaryProcess(), and PostStepDoIt().

G4Material* G4UCNBoundaryProcess::Material1
private

Definition at line 132 of file G4UCNBoundaryProcess.hh.

Referenced by G4UCNBoundaryProcess(), and PostStepDoIt().

G4Material* G4UCNBoundaryProcess::Material2
private

Definition at line 133 of file G4UCNBoundaryProcess.hh.

Referenced by G4UCNBoundaryProcess(), and PostStepDoIt().

G4int G4UCNBoundaryProcess::mSnellTransmit
private
G4int G4UCNBoundaryProcess::nAbsorption
private
G4double G4UCNBoundaryProcess::neV
private

Definition at line 126 of file G4UCNBoundaryProcess.hh.

Referenced by G4UCNBoundaryProcess(), and PostStepDoIt().

G4int G4UCNBoundaryProcess::nEzero
private
G4int G4UCNBoundaryProcess::nFlip
private
G4int G4UCNBoundaryProcess::nNoMPT
private
G4int G4UCNBoundaryProcess::nNoMRCondition
private
G4int G4UCNBoundaryProcess::nNoMRT
private
G4int G4UCNBoundaryProcess::nSnellTransmit
private
G4bool G4UCNBoundaryProcess::UseMicroRoughnessReflection
private

The documentation for this class was generated from the following files: