Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4eAdjointMultipleScattering Class Reference

#include <G4eAdjointMultipleScattering.hh>

+ Inheritance diagram for G4eAdjointMultipleScattering:

Public Member Functions

 G4eAdjointMultipleScattering (const G4String &processName="msc")
 
 ~G4eAdjointMultipleScattering () override
 
void StartTracking (G4Track *) override
 
G4bool IsApplicable (const G4ParticleDefinition &p) override
 
void ProcessDescription (std::ostream &) const override
 
void DumpInfo () const override
 
void StreamProcessInfo (std::ostream &outFile) const override
 
 G4eAdjointMultipleScattering (G4eAdjointMultipleScattering &)=delete
 
G4eAdjointMultipleScatteringoperator= (const G4eAdjointMultipleScattering &right)=delete
 
- Public Member Functions inherited from G4VMultipleScattering
 G4VMultipleScattering (const G4String &name="msc", G4ProcessType type=fElectromagnetic)
 
 ~G4VMultipleScattering () override
 
void ProcessDescription (std::ostream &outFile) const override
 
virtual void InitialiseProcess (const G4ParticleDefinition *)=0
 
void StreamInfo (std::ostream &outFile, const G4ParticleDefinition &, G4bool rst=false) const
 
void PreparePhysicsTable (const G4ParticleDefinition &) override
 
void BuildPhysicsTable (const G4ParticleDefinition &) override
 
G4bool StorePhysicsTable (const G4ParticleDefinition *, const G4String &directory, G4bool ascii=false) override
 
G4bool RetrievePhysicsTable (const G4ParticleDefinition *, const G4String &directory, G4bool ascii) override
 
void StartTracking (G4Track *) override
 
G4double AlongStepGetPhysicalInteractionLength (const G4Track &, G4double previousStepSize, G4double currentMinimalStep, G4double &currentSafety, G4GPILSelection *selection) override
 
G4double PostStepGetPhysicalInteractionLength (const G4Track &, G4double previousStepSize, G4ForceCondition *condition) override
 
G4VParticleChangeAlongStepDoIt (const G4Track &, const G4Step &) override
 
G4double ContinuousStepLimit (const G4Track &track, G4double previousStepSize, G4double currentMinimalStep, G4double &currentSafety)
 
 G4VMultipleScattering (G4VMultipleScattering &)=delete
 
G4VMultipleScatteringoperator= (const G4VMultipleScattering &right)=delete
 
G4VEmModelSelectModel (G4double kinEnergy, size_t idx)
 
void AddEmModel (G4int order, G4VMscModel *, const G4Region *region=nullptr)
 
void SetEmModel (G4VMscModel *, G4int idx=0)
 
G4VMscModelEmModel (size_t index=0) const
 
G4int NumberOfModels () const
 
G4VMscModelGetModelByIndex (G4int idx, G4bool ver=false) const
 
G4bool LateralDisplasmentFlag () const
 
G4double Skin () const
 
G4double RangeFactor () const
 
G4double GeomFactor () const
 
G4double PolarAngleLimit () const
 
G4bool UseBaseMaterial () const
 
G4MscStepLimitType StepLimitType () const
 
void SetStepLimitType (G4MscStepLimitType val)
 
G4double LowestKinEnergy () const
 
void SetLowestKinEnergy (G4double val)
 
const G4ParticleDefinitionFirstParticle () const
 
- Public Member Functions inherited from G4VContinuousDiscreteProcess
 G4VContinuousDiscreteProcess (const G4String &, G4ProcessType aType=fNotDefined)
 
 G4VContinuousDiscreteProcess (G4VContinuousDiscreteProcess &)
 
virtual ~G4VContinuousDiscreteProcess ()
 
G4VContinuousDiscreteProcessoperator= (const G4VContinuousDiscreteProcess &)=delete
 
virtual G4double PostStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
 
virtual G4VParticleChangePostStepDoIt (const G4Track &, const G4Step &)
 
virtual G4double AlongStepGetPhysicalInteractionLength (const G4Track &, G4double previousStepSize, G4double currentMinimumStep, G4double &currentSafety, G4GPILSelection *selection)
 
virtual G4VParticleChangeAlongStepDoIt (const G4Track &, const G4Step &)
 
virtual G4double AtRestGetPhysicalInteractionLength (const G4Track &, G4ForceCondition *)
 
virtual G4VParticleChangeAtRestDoIt (const G4Track &, const G4Step &)
 
- Public Member Functions inherited from G4VProcess
 G4VProcess (const G4String &aName="NoName", G4ProcessType aType=fNotDefined)
 
 G4VProcess (const G4VProcess &right)
 
virtual ~G4VProcess ()
 
G4VProcessoperator= (const G4VProcess &)=delete
 
G4bool operator== (const G4VProcess &right) const
 
G4bool operator!= (const G4VProcess &right) const
 
virtual G4VParticleChangePostStepDoIt (const G4Track &track, const G4Step &stepData)=0
 
virtual G4VParticleChangeAlongStepDoIt (const G4Track &track, const G4Step &stepData)=0
 
virtual G4VParticleChangeAtRestDoIt (const G4Track &track, const G4Step &stepData)=0
 
virtual G4double AlongStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4double currentMinimumStep, G4double &proposedSafety, G4GPILSelection *selection)=0
 
virtual G4double AtRestGetPhysicalInteractionLength (const G4Track &track, G4ForceCondition *condition)=0
 
virtual G4double PostStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)=0
 
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 const G4VProcessGetCreatorProcess () const
 
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
 
virtual void ProcessDescription (std::ostream &outfile) 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 &)
 

Protected Member Functions

void InitialiseProcess (const G4ParticleDefinition *) override
 
- Protected Member Functions inherited from G4VMultipleScattering
virtual void StreamProcessInfo (std::ostream &) const
 
G4double GetMeanFreePath (const G4Track &track, G4double, G4ForceCondition *condition) override
 
G4double GetContinuousStepLimit (const G4Track &track, G4double previousStepSize, G4double currentMinimalStep, G4double &currentSafety) override
 
- Protected Member Functions inherited from G4VContinuousDiscreteProcess
virtual G4double GetMeanFreePath (const G4Track &aTrack, G4double previousStepSize, G4ForceCondition *condition)=0
 
virtual G4double GetContinuousStepLimit (const G4Track &aTrack, G4double previousStepSize, G4double currentMinimumStep, G4double &currentSafety)=0
 
void SetGPILSelection (G4GPILSelection selection)
 
G4GPILSelection GetGPILSelection () const
 
- Protected Member Functions inherited from G4VProcess
void SubtractNumberOfInteractionLengthLeft (G4double prevStepSize)
 
void ClearNumberOfInteractionLengthLeft ()
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VProcess
static const G4StringGetProcessTypeName (G4ProcessType)
 
- Protected Attributes inherited from G4VMultipleScattering
G4ParticleChangeForMSC fParticleChange
 
- Protected Attributes inherited from G4VProcess
const G4ProcessManageraProcessManager = nullptr
 
G4VParticleChangepParticleChange = nullptr
 
G4ParticleChange aParticleChange
 
G4double theNumberOfInteractionLengthLeft = -1.0
 
G4double currentInteractionLength = -1.0
 
G4double theInitialNumberOfInteractionLength = -1.0
 
G4String theProcessName
 
G4String thePhysicsTableFileName
 
G4ProcessType theProcessType = fNotDefined
 
G4int theProcessSubType = -1
 
G4double thePILfactor = 1.0
 
G4int verboseLevel = 0
 
G4bool enableAtRestDoIt = true
 
G4bool enableAlongStepDoIt = true
 
G4bool enablePostStepDoIt = true
 

Detailed Description

Definition at line 41 of file G4eAdjointMultipleScattering.hh.

Constructor & Destructor Documentation

◆ G4eAdjointMultipleScattering() [1/2]

G4eAdjointMultipleScattering::G4eAdjointMultipleScattering ( const G4String processName = "msc")
explicit

Definition at line 45 of file G4eAdjointMultipleScattering.cc.

◆ ~G4eAdjointMultipleScattering()

G4eAdjointMultipleScattering::~G4eAdjointMultipleScattering ( )
override

Definition at line 51 of file G4eAdjointMultipleScattering.cc.

51{}

◆ G4eAdjointMultipleScattering() [2/2]

G4eAdjointMultipleScattering::G4eAdjointMultipleScattering ( G4eAdjointMultipleScattering )
delete

Member Function Documentation

◆ DumpInfo()

void G4eAdjointMultipleScattering::DumpInfo ( ) const
inlineoverridevirtual

Reimplemented from G4VProcess.

Definition at line 55 of file G4eAdjointMultipleScattering.hh.

G4GLOB_DLL std::ostream G4cout
void ProcessDescription(std::ostream &) const override

◆ InitialiseProcess()

void G4eAdjointMultipleScattering::InitialiseProcess ( const G4ParticleDefinition )
overrideprotectedvirtual

Implements G4VMultipleScattering.

Definition at line 67 of file G4eAdjointMultipleScattering.cc.

69{
70 if(fIsInitialized)
71 {
72 return;
73 }
74 if(EmModel(0) == nullptr)
75 {
77 }
78 AddEmModel(1, EmModel(0));
79 fIsInitialized = true;
80}
void AddEmModel(G4int order, G4VMscModel *, const G4Region *region=nullptr)
void SetEmModel(G4VMscModel *, G4int idx=0)
G4VMscModel * EmModel(size_t index=0) const

◆ IsApplicable()

G4bool G4eAdjointMultipleScattering::IsApplicable ( const G4ParticleDefinition p)
overridevirtual

Reimplemented from G4VProcess.

Definition at line 61 of file G4eAdjointMultipleScattering.cc.

62{
63 return (p.GetPDGCharge() != 0.0 && !p.IsShortLived());
64}
G4double GetPDGCharge() const

◆ operator=()

G4eAdjointMultipleScattering & G4eAdjointMultipleScattering::operator= ( const G4eAdjointMultipleScattering right)
delete

◆ ProcessDescription()

void G4eAdjointMultipleScattering::ProcessDescription ( std::ostream &  out) const
overridevirtual

Reimplemented from G4VProcess.

Definition at line 54 of file G4eAdjointMultipleScattering.cc.

55{
56 out << "Inverse multiple scattering for e-.\n";
58}
void StreamProcessInfo(std::ostream &outFile) const override

Referenced by DumpInfo().

◆ StartTracking()

void G4eAdjointMultipleScattering::StartTracking ( G4Track )
overridevirtual

Reimplemented from G4VProcess.

Definition at line 96 of file G4eAdjointMultipleScattering.cc.

97{
99 G4Electron::Electron(), G4ThreeVector(0., 0., 1.), 1.);
100 G4Track* tempTrack = new G4Track(aDynPart, 0., G4ThreeVector(0., 0., 0.));
102 delete tempTrack;
103}
CLHEP::Hep3Vector G4ThreeVector
static G4Electron * Electron()
Definition: G4Electron.cc:93
void StartTracking(G4Track *) override

◆ StreamProcessInfo()

void G4eAdjointMultipleScattering::StreamProcessInfo ( std::ostream &  outFile) const
overridevirtual

Reimplemented from G4VMultipleScattering.

Definition at line 83 of file G4eAdjointMultipleScattering.cc.

84{
85 out << " RangeFactor= " << RangeFactor()
86 << ", stepLimType: " << StepLimitType()
87 << ", latDisp: " << LateralDisplasmentFlag();
89 {
90 out << ", skin= " << Skin() << ", geomFactor= " << GeomFactor();
91 }
92 out << "\n";
93}
@ fUseDistanceToBoundary
G4bool LateralDisplasmentFlag() const
G4MscStepLimitType StepLimitType() const

Referenced by ProcessDescription().


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