Geant4  10.00.p02
G4ParticleChangeForMSC Class Reference

#include <G4ParticleChangeForMSC.hh>

+ Inheritance diagram for G4ParticleChangeForMSC:
+ Collaboration diagram for G4ParticleChangeForMSC:

Public Member Functions

 G4ParticleChangeForMSC ()
 
virtual ~G4ParticleChangeForMSC ()
 
virtual G4StepUpdateStepForAlongStep (G4Step *Step)
 
virtual G4StepUpdateStepForPostStep (G4Step *Step)
 
virtual void Initialize (const G4Track &)
 
void ProposeMomentumDirection (const G4ThreeVector &Pfinal)
 
void ProposeMomentumDirection (G4double Px, G4double Py, G4double Pz)
 
const G4ThreeVectorGetMomentumDirection () const
 
const G4ThreeVectorGetProposedMomentumDirection () const
 
void SetProposedMomentumDirection (const G4ThreeVector &Pfinal)
 
const G4ThreeVectorGetPosition () const
 
void ProposePosition (const G4ThreeVector &finalPosition)
 
const G4ThreeVectorGetProposedPosition () const
 
void SetProposedPosition (const G4ThreeVector &finalPosition)
 
virtual void DumpInfo () const
 
virtual G4bool CheckIt (const G4Track &)
 
- Public Member Functions inherited from G4VParticleChange
 G4VParticleChange ()
 
virtual ~G4VParticleChange ()
 
G4bool operator== (const G4VParticleChange &right) const
 
G4bool operator!= (const G4VParticleChange &right) const
 
virtual G4StepUpdateStepForAtRest (G4Step *Step)
 
G4double GetTrueStepLength () const
 
void ProposeTrueStepLength (G4double truePathLength)
 
G4double GetLocalEnergyDeposit () const
 
void ProposeLocalEnergyDeposit (G4double anEnergyPart)
 
G4double GetNonIonizingEnergyDeposit () const
 
void ProposeNonIonizingEnergyDeposit (G4double anEnergyPart)
 
G4TrackStatus GetTrackStatus () const
 
void ProposeTrackStatus (G4TrackStatus status)
 
G4SteppingControl GetSteppingControl () const
 
void ProposeSteppingControl (G4SteppingControl StepControlFlag)
 
G4bool GetFirstStepInVolume () const
 
G4bool GetLastStepInVolume () const
 
void ProposeFirstStepInVolume (G4bool flag)
 
void ProposeLastStepInVolume (G4bool flag)
 
void Clear ()
 
void SetNumberOfSecondaries (G4int totSecondaries)
 
G4int GetNumberOfSecondaries () const
 
G4TrackGetSecondary (G4int anIndex) const
 
void AddSecondary (G4Track *aSecondary)
 
G4double GetWeight () const
 
G4double GetParentWeight () const
 
void ProposeWeight (G4double finalWeight)
 
void ProposeParentWeight (G4double finalWeight)
 
void SetSecondaryWeightByProcess (G4bool)
 
G4bool IsSecondaryWeightSetByProcess () const
 
void SetParentWeightByProcess (G4bool)
 
G4bool IsParentWeightSetByProcess () const
 
void SetVerboseLevel (G4int vLevel)
 
G4int GetVerboseLevel () const
 
void ClearDebugFlag ()
 
void SetDebugFlag ()
 
G4bool GetDebugFlag () const
 

Protected Member Functions

 G4ParticleChangeForMSC (const G4ParticleChangeForMSC &right)
 
G4ParticleChangeForMSCoperator= (const G4ParticleChangeForMSC &right)
 
- Protected Member Functions inherited from G4VParticleChange
 G4VParticleChange (const G4VParticleChange &right)
 
G4VParticleChangeoperator= (const G4VParticleChange &right)
 
G4StepUpdateStepInfo (G4Step *Step)
 
void InitializeTrueStepLength (const G4Track &)
 
void InitializeLocalEnergyDeposit (const G4Track &)
 
void InitializeSteppingControl (const G4Track &)
 
void InitializeParentWeight (const G4Track &)
 
void InitializeParentGlobalTime (const G4Track &)
 
void InitializeStatusChange (const G4Track &)
 
void InitializeSecondaries (const G4Track &)
 
void InitializeStepInVolumeFlags (const G4Track &)
 
G4bool CheckSecondary (G4Track &)
 
G4double GetAccuracyForWarning () const
 
G4double GetAccuracyForException () const
 

Private Attributes

G4ThreeVector theMomentumDirection
 
G4ThreeVector thePosition
 

Additional Inherited Members

- Protected Attributes inherited from G4VParticleChange
G4TrackFastVectortheListOfSecondaries
 
G4int theNumberOfSecondaries
 
G4int theSizeOftheListOfSecondaries
 
G4TrackStatus theStatusChange
 
G4SteppingControl theSteppingControlFlag
 
G4double theLocalEnergyDeposit
 
G4double theNonIonizingEnergyDeposit
 
G4double theTrueStepLength
 
G4bool theFirstStepInVolume
 
G4bool theLastStepInVolume
 
G4double theParentWeight
 
G4bool isParentWeightProposed
 
G4bool fSetSecondaryWeightByProcess
 
G4double theParentGlobalTime
 
G4int verboseLevel
 
G4bool debugFlag
 
- Static Protected Attributes inherited from G4VParticleChange
static const G4double accuracyForWarning = 1.0e-9
 
static const G4double accuracyForException = 0.001
 

Detailed Description

Definition at line 54 of file G4ParticleChangeForMSC.hh.

Constructor & Destructor Documentation

G4ParticleChangeForMSC::G4ParticleChangeForMSC ( )

Definition at line 47 of file G4ParticleChangeForMSC.cc.

References G4cout, G4endl, and G4VParticleChange::verboseLevel.

G4ParticleChangeForMSC::~G4ParticleChangeForMSC ( )
virtual

Definition at line 57 of file G4ParticleChangeForMSC.cc.

References G4cout, G4endl, and G4VParticleChange::verboseLevel.

G4ParticleChangeForMSC::G4ParticleChangeForMSC ( const G4ParticleChangeForMSC right)
protected

Member Function Documentation

G4bool G4ParticleChangeForMSC::CheckIt ( const G4Track aTrack)
virtual

Reimplemented from G4VParticleChange.

Definition at line 169 of file G4ParticleChangeForMSC.cc.

References G4VParticleChange::accuracyForException, G4VParticleChange::accuracyForWarning, G4VParticleChange::CheckIt(), DumpInfo(), EventMustBeAborted, G4cout, G4endl, G4Exception(), G4Track::GetDefinition(), G4Track::GetKineticEnergy(), G4ParticleDefinition::GetParticleName(), G4Track::GetPosition(), m, MeV, and theMomentumDirection.

+ Here is the call graph for this function:

void G4ParticleChangeForMSC::DumpInfo ( ) const
virtual

Reimplemented from G4VParticleChange.

Definition at line 141 of file G4ParticleChangeForMSC.cc.

References G4VParticleChange::DumpInfo(), G4cout, G4endl, mm, theMomentumDirection, and thePosition.

Referenced by CheckIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4ThreeVector* G4ParticleChangeForMSC::GetMomentumDirection ( ) const
const G4ThreeVector* G4ParticleChangeForMSC::GetPosition ( ) const
const G4ThreeVector* G4ParticleChangeForMSC::GetProposedMomentumDirection ( ) const
const G4ThreeVector* G4ParticleChangeForMSC::GetProposedPosition ( ) const
virtual void G4ParticleChangeForMSC::Initialize ( const G4Track )
virtual

Reimplemented from G4VParticleChange.

Referenced by G4VMultipleScattering::PostStepDoIt().

+ Here is the caller graph for this function:

void G4ParticleChangeForMSC::ProposeMomentumDirection ( const G4ThreeVector Pfinal)

Referenced by G4VMultipleScattering::AlongStepDoIt(), G4WentzelVIRelModel::SampleScattering(), G4WentzelVIModel::SampleScattering(), G4GoudsmitSaundersonMscModel::SampleScattering(), and G4UrbanMscModel::SampleScattering().

+ Here is the caller graph for this function:

void G4ParticleChangeForMSC::ProposeMomentumDirection ( G4double  Px,
G4double  Py,
G4double  Pz 
)
void G4ParticleChangeForMSC::ProposePosition ( const G4ThreeVector finalPosition)

Referenced by G4VMultipleScattering::AlongStepDoIt(), and G4VMultipleScattering::PostStepDoIt().

+ Here is the caller graph for this function:

void G4ParticleChangeForMSC::SetProposedMomentumDirection ( const G4ThreeVector Pfinal)
void G4ParticleChangeForMSC::SetProposedPosition ( const G4ThreeVector finalPosition)
G4Step * G4ParticleChangeForMSC::UpdateStepForAlongStep ( G4Step Step)
virtual

Reimplemented from G4VParticleChange.

Definition at line 104 of file G4ParticleChangeForMSC.cc.

References G4Step::GetPostStepPoint(), G4Step::GetTrack(), G4Track::GetTrackStatus(), G4StepPoint::SetMomentumDirection(), G4StepPoint::SetPosition(), G4Step::SetStepLength(), theMomentumDirection, thePosition, G4VParticleChange::theStatusChange, and G4VParticleChange::theTrueStepLength.

+ Here is the call graph for this function:

G4Step * G4ParticleChangeForMSC::UpdateStepForPostStep ( G4Step Step)
virtual

Reimplemented from G4VParticleChange.

Definition at line 121 of file G4ParticleChangeForMSC.cc.

References G4Step::GetPostStepPoint(), G4StepPoint::SetMomentumDirection(), G4StepPoint::SetPosition(), theMomentumDirection, and thePosition.

+ Here is the call graph for this function:

Member Data Documentation

G4ThreeVector G4ParticleChangeForMSC::theMomentumDirection
private
G4ThreeVector G4ParticleChangeForMSC::thePosition
private

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