Geant4  10.00.p01
G4ScoreSplittingProcess Class Reference

#include <G4ScoreSplittingProcess.hh>

+ Inheritance diagram for G4ScoreSplittingProcess:
+ Collaboration diagram for G4ScoreSplittingProcess:

Public Member Functions

 G4ScoreSplittingProcess (const G4String &processName="ScoreSplittingProc", G4ProcessType theType=fParameterisation)
 
virtual ~G4ScoreSplittingProcess ()
 
void StartTracking (G4Track *)
 
G4double AtRestGetPhysicalInteractionLength (const G4Track &, G4ForceCondition *)
 
G4VParticleChangeAtRestDoIt (const G4Track &, const G4Step &)
 
G4double AlongStepGetPhysicalInteractionLength (const G4Track &, G4double, G4double, G4double &, G4GPILSelection *)
 
G4VParticleChangeAlongStepDoIt (const G4Track &, const G4Step &)
 
G4double PostStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
 
G4VParticleChangePostStepDoIt (const G4Track &, const G4Step &)
 
void Verbose (const G4Step &) const
 
- 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 G4bool IsApplicable (const G4ParticleDefinition &)
 
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 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

G4TouchableHistoryCreateTouchableForSubStep (G4int newVoxelNum, G4ThreeVector newPosition)
 
void CopyStepStart (const G4Step &step)
 

Private Attributes

G4StepfSplitStep
 
G4StepPointfSplitPreStepPoint
 
G4StepPointfSplitPostStepPoint
 
G4VParticleChange dummyParticleChange
 
G4ParticleChange xParticleChange
 
G4TouchableHandle fOldTouchableH
 
G4TouchableHandle fNewTouchableH
 
G4TouchableHandle fInitialTouchableH
 
G4TouchableHandle fFinalTouchableH
 
G4EnergySplitterfpEnergySplitter
 

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 73 of file G4ScoreSplittingProcess.hh.

Constructor & Destructor Documentation

G4ScoreSplittingProcess::G4ScoreSplittingProcess ( const G4String processName = "ScoreSplittingProc",
G4ProcessType  theType = fParameterisation 
)

Definition at line 53 of file G4ScoreSplittingProcess.cc.

References fpEnergySplitter, fSplitPostStepPoint, fSplitPreStepPoint, fSplitStep, G4cout, G4endl, G4Step::GetPostStepPoint(), G4Step::GetPreStepPoint(), G4VProcess::GetProcessName(), G4VProcess::pParticleChange, G4VProcess::verboseLevel, and xParticleChange.

+ Here is the call graph for this function:

G4ScoreSplittingProcess::~G4ScoreSplittingProcess ( )
virtual

Definition at line 73 of file G4ScoreSplittingProcess.cc.

References fpEnergySplitter, and fSplitStep.

Member Function Documentation

G4VParticleChange * G4ScoreSplittingProcess::AlongStepDoIt ( const G4Track track,
const G4Step  
)
virtual

Implements G4VProcess.

Definition at line 375 of file G4ScoreSplittingProcess.cc.

References dummyParticleChange, and G4VParticleChange::Initialize().

+ Here is the call graph for this function:

G4double G4ScoreSplittingProcess::AlongStepGetPhysicalInteractionLength ( const G4Track ,
G4double  ,
G4double  ,
G4double ,
G4GPILSelection selection 
)
virtual

Implements G4VProcess.

Definition at line 360 of file G4ScoreSplittingProcess.cc.

References DBL_MAX, and NotCandidateForSelection.

G4VParticleChange * G4ScoreSplittingProcess::AtRestDoIt ( const G4Track track,
const G4Step  
)
virtual

Implements G4VProcess.

Definition at line 387 of file G4ScoreSplittingProcess.cc.

References G4VParticleChange::Initialize(), and G4VProcess::pParticleChange.

+ Here is the call graph for this function:

G4double G4ScoreSplittingProcess::AtRestGetPhysicalInteractionLength ( const G4Track ,
G4ForceCondition condition 
)
virtual

Implements G4VProcess.

Definition at line 348 of file G4ScoreSplittingProcess.cc.

References DBL_MAX, and NotForced.

void G4ScoreSplittingProcess::CopyStepStart ( const G4Step step)
private

Definition at line 266 of file G4ScoreSplittingProcess.cc.

References fFinalTouchableH, fInitialTouchableH, fSplitPreStepPoint, fSplitStep, G4Step::GetControlFlag(), G4Step::GetNonIonizingEnergyDeposit(), G4Step::GetPostStepPoint(), G4Step::GetPreStepPoint(), G4Step::GetStepLength(), G4Step::GetTotalEnergyDeposit(), G4Step::GetTrack(), G4Step::SetControlFlag(), G4Step::SetNonIonizingEnergyDeposit(), G4Step::SetStepLength(), G4Step::SetTotalEnergyDeposit(), and G4Step::SetTrack().

Referenced by PostStepDoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4TouchableHistory * G4ScoreSplittingProcess::CreateTouchableForSubStep ( G4int  newVoxelNum,
G4ThreeVector  newPosition 
)
private

Definition at line 230 of file G4ScoreSplittingProcess.cc.

References G4NavigationHistory::BackLevel(), G4VSolid::ComputeDimensions(), G4VPVParameterisation::ComputeSolid(), G4VPVParameterisation::ComputeTransformation(), fOldTouchableH, G4cout, G4endl, G4Exception(), G4TouchableHistory::GetHistory(), G4VPhysicalVolume::GetParameterisation(), G4NavigationHistory::GetTopVolume(), G4NavigationHistory::GetTopVolumeType(), G4TransportationManager::GetTransportationManager(), JustWarning, kParameterised, and G4NavigationHistory::NewLevel().

Referenced by PostStepDoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4VParticleChange * G4ScoreSplittingProcess::PostStepDoIt ( const G4Track track,
const G4Step step 
)
virtual

Implements G4VProcess.

Definition at line 134 of file G4ScoreSplittingProcess.cc.

References AvoidHitInvocation, CopyStepStart(), CreateTouchableForSubStep(), fFinalTouchableH, fGeomBoundary, fInitialTouchableH, fNewTouchableH, fOldTouchableH, fpEnergySplitter, fSplitPostStepPoint, fSplitPreStepPoint, fSplitStep, G4EnergySplitter::GetLengthAndEnergyDeposited(), G4VPhysicalVolume::GetLogicalVolume(), G4Track::GetNextTouchableHandle(), G4Step::GetNonIonizingEnergyDeposit(), G4StepPoint::GetPosition(), G4Step::GetPostStepPoint(), G4Step::GetPreStepPoint(), G4LogicalVolume::GetSensitiveDetector(), G4RegularNavigationHelper::GetStepLengths(), G4StepPoint::GetStepStatus(), G4Step::GetTotalEnergyDeposit(), G4Track::GetVolume(), G4EnergySplitter::GetVoxelID(), G4EnergySplitter::GetVoxelMaterial(), G4VSensitiveDetector::Hit(), G4VParticleChange::Initialize(), G4RegularNavigationHelper::Instance(), G4VPhysicalVolume::IsRegularStructure(), NormalCondition, G4VProcess::pParticleChange, G4VParticleChange::ProposeSteppingControl(), G4LogicalVolume::SetMaterial(), G4Step::SetNonIonizingEnergyDeposit(), G4StepPoint::SetPosition(), G4StepPoint::SetSensitiveDetector(), G4Step::SetStepLength(), G4StepPoint::SetStepStatus(), G4Step::SetTotalEnergyDeposit(), G4StepPoint::SetTouchableHandle(), G4EnergySplitter::SplitEnergyInVolumes(), Verbose(), and G4VProcess::verboseLevel.

+ Here is the call graph for this function:

G4double G4ScoreSplittingProcess::PostStepGetPhysicalInteractionLength ( const G4Track track,
G4double  previousStepSize,
G4ForceCondition condition 
)
virtual

Implements G4VProcess.

Definition at line 110 of file G4ScoreSplittingProcess.cc.

References DBL_MAX, and StronglyForced.

void G4ScoreSplittingProcess::StartTracking ( G4Track trk)
virtual

Initialize

Reimplemented from G4VProcess.

Definition at line 84 of file G4ScoreSplittingProcess.cc.

References fNewTouchableH, fOldTouchableH, fSplitPostStepPoint, fSplitPreStepPoint, fUndefined, G4Step::GetPostStepPoint(), G4Step::GetPreStepPoint(), G4Track::GetStep(), G4Track::GetTouchableHandle(), G4StepPoint::SetStepStatus(), and G4StepPoint::SetTouchableHandle().

+ Here is the call graph for this function:

void G4ScoreSplittingProcess::Verbose ( const G4Step step) const

Definition at line 280 of file G4ScoreSplittingProcess.cc.

References fSplitStep, G4cout, G4endl, G4Track::GetMomentumDirection(), G4VPhysicalVolume::GetName(), G4StepPoint::GetPhysicalVolume(), G4StepPoint::GetPosition(), G4Step::GetPostStepPoint(), G4Step::GetPreStepPoint(), G4StepPoint::GetProcessDefinedStep(), G4VProcess::GetProcessName(), G4VTouchable::GetReplicaNumber(), G4Step::GetStepLength(), G4Step::GetTotalEnergyDeposit(), G4StepPoint::GetTouchable(), G4Step::GetTrack(), MeV, and mm.

Referenced by PostStepDoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4VParticleChange G4ScoreSplittingProcess::dummyParticleChange
private

Definition at line 142 of file G4ScoreSplittingProcess.hh.

Referenced by AlongStepDoIt().

G4TouchableHandle G4ScoreSplittingProcess::fFinalTouchableH
private

Definition at line 156 of file G4ScoreSplittingProcess.hh.

Referenced by CopyStepStart(), and PostStepDoIt().

G4TouchableHandle G4ScoreSplittingProcess::fInitialTouchableH
private

Definition at line 155 of file G4ScoreSplittingProcess.hh.

Referenced by CopyStepStart(), and PostStepDoIt().

G4TouchableHandle G4ScoreSplittingProcess::fNewTouchableH
private

Definition at line 152 of file G4ScoreSplittingProcess.hh.

Referenced by PostStepDoIt(), and StartTracking().

G4TouchableHandle G4ScoreSplittingProcess::fOldTouchableH
private
G4EnergySplitter* G4ScoreSplittingProcess::fpEnergySplitter
private
G4StepPoint* G4ScoreSplittingProcess::fSplitPostStepPoint
private
G4StepPoint* G4ScoreSplittingProcess::fSplitPreStepPoint
private
G4Step* G4ScoreSplittingProcess::fSplitStep
private
G4ParticleChange G4ScoreSplittingProcess::xParticleChange
private

Definition at line 143 of file G4ScoreSplittingProcess.hh.

Referenced by G4ScoreSplittingProcess().


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