Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions
G4ParticleChangeForRadDecay Class Reference

#include <G4ParticleChangeForRadDecay.hh>

Inheritance diagram for G4ParticleChangeForRadDecay:
G4ParticleChangeForDecay G4VParticleChange

Public Member Functions

 G4ParticleChangeForRadDecay ()
 
virtual ~G4ParticleChangeForRadDecay ()
 
void AddSecondary (G4Track *aSecondary)
 
- Public Member Functions inherited from G4ParticleChangeForDecay
 G4ParticleChangeForDecay ()
 
virtual ~G4ParticleChangeForDecay ()
 
G4bool operator== (const G4ParticleChangeForDecay &right) const
 
G4bool operator!= (const G4ParticleChangeForDecay &right) const
 
virtual G4StepUpdateStepForAtRest (G4Step *Step)
 
virtual G4StepUpdateStepForPostStep (G4Step *Step)
 
virtual void Initialize (const G4Track &)
 
void ProposeGlobalTime (G4double t)
 
void ProposeLocalTime (G4double t)
 
G4double GetGlobalTime (G4double timeDelay=0.0) const
 
G4double GetLocalTime (G4double timeDelay=0.0) const
 
const G4ThreeVectorGetPolarization () const
 
void ProposePolarization (G4double Px, G4double Py, G4double Pz)
 
void ProposePolarization (const G4ThreeVector &finalPoralization)
 
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 G4StepUpdateStepForAlongStep (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

 G4ParticleChangeForRadDecay (const G4ParticleChangeForRadDecay &)
 
G4ParticleChangeForRadDecayoperator= (const G4ParticleChangeForRadDecay &)
 
- Protected Member Functions inherited from G4ParticleChangeForDecay
 G4ParticleChangeForDecay (const G4ParticleChangeForDecay &right)
 
G4ParticleChangeForDecayoperator= (const G4ParticleChangeForDecay &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
 

Additional Inherited Members

- Protected Attributes inherited from G4ParticleChangeForDecay
G4double theGlobalTime0
 
G4double theLocalTime0
 
G4double theTimeChange
 
G4ThreeVector thePolarizationChange
 
- 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 48 of file G4ParticleChangeForRadDecay.hh.

Constructor & Destructor Documentation

G4ParticleChangeForRadDecay::G4ParticleChangeForRadDecay ( )
inline

Definition at line 52 of file G4ParticleChangeForRadDecay.hh.

52 {}
virtual G4ParticleChangeForRadDecay::~G4ParticleChangeForRadDecay ( )
inlinevirtual

Definition at line 55 of file G4ParticleChangeForRadDecay.hh.

55 {}
G4ParticleChangeForRadDecay::G4ParticleChangeForRadDecay ( const G4ParticleChangeForRadDecay )
inlineprotected

Member Function Documentation

void G4ParticleChangeForRadDecay::AddSecondary ( G4Track aSecondary)
inline

Definition at line 71 of file G4ParticleChangeForRadDecay.hh.

References G4cout, G4endl, G4Exception(), JustWarning, G4FastVector< Type, N >::SetElement(), G4VParticleChange::theListOfSecondaries, G4VParticleChange::theNumberOfSecondaries, G4VParticleChange::theSizeOftheListOfSecondaries, and G4VParticleChange::verboseLevel.

Referenced by G4RadioactiveDecay::DecayIt().

72 {
73  // add a secondary after size check
77  } else {
78 #ifdef G4VERBOSE
79  if (verboseLevel>0) {
80  G4cout << "G4VParticleChange::AddSecondary() Warning ";
81  G4cout << "theListOfSecondaries is full !! " << G4endl;
82  G4cout << " The track is deleted " << G4endl;
83  }
84 #endif
85  G4Exception("G4ParticleChangeForRadDecay::AddSecondary",
86  "TRACK101", JustWarning,
87  "Secondary Bug is full. The track is deleted");
88  }
89 }
void SetElement(G4int anIndex, Type *anElement)
Definition: G4FastVector.hh:76
G4TrackFastVector * theListOfSecondaries
G4GLOB_DLL std::ostream G4cout
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
#define G4endl
Definition: G4ios.hh:61
G4ParticleChangeForRadDecay& G4ParticleChangeForRadDecay::operator= ( const G4ParticleChangeForRadDecay )
inlineprotected

Definition at line 60 of file G4ParticleChangeForRadDecay.hh.

60 {return *this;}

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