54 theNumberOfInteractionLengthLeft(-1.0),
55 currentInteractionLength(-1.0),
56 theInitialNumberOfInteractionLength(-1.0),
57 theProcessName(aName),
58 theProcessType(aType),
59 theProcessSubType(-1),
61 enableAtRestDoIt(true),
62 enableAlongStepDoIt(true),
63 enablePostStepDoIt(true),
77 theNumberOfInteractionLengthLeft(-1.0),
78 currentInteractionLength(-1.0),
79 theInitialNumberOfInteractionLength(-1.0),
80 theProcessName(right.theProcessName),
81 theProcessType(right.theProcessType),
82 theProcessSubType(right.theProcessSubType),
84 enableAtRestDoIt(right.enableAtRestDoIt),
85 enableAlongStepDoIt(right.enableAlongStepDoIt),
86 enablePostStepDoIt(right.enablePostStepDoIt),
87 verboseLevel(right.verboseLevel)
110 G4cerr <<
"G4VProcess::SubtractNumberOfInteractionLengthLeft()";
113 G4cerr <<
" previousStepSize = " << previousStepSize/cm <<
" [cm]";
117 G4String msg =
"Negative currentInteractionLength for ";
119 G4Exception(
"G4VProcess::SubtractNumberOfInteractionLengthLeft()",
152 static G4String typeNotDefined=
"NotDefined";
153 static G4String typeTransportation =
"Transportation";
154 static G4String typeElectromagnetic =
"Electromagnetic";
155 static G4String typeOptical =
"Optical";
156 static G4String typeHadronic =
"Hadronic";
157 static G4String typePhotolepton_hadron =
"Photolepton_hadron";
158 static G4String typeDecay =
"Decay";
159 static G4String typeGeneral =
"General";
160 static G4String typeParameterisation =
"Parameterisation";
161 static G4String typeUserDefined =
"UserDefined";
165 return typeNotDefined;
167 return typeTransportation;
169 return typeElectromagnetic;
175 return typePhotolepton_hadron;
176 }
else if (aType ==
fDecay ) {
181 return typeParameterisation;
183 return typeUserDefined;
192 JustWarning,
"Assignment operator is called but NO effect");
198 return (
this == &right);
203 return (
this != &right);
220 if (ascii) thePhysicsTableFileExt =
".asc";
221 else thePhysicsTableFileExt =
".dat";
G4DLLIMPORT std::ostream G4cerr
G4DLLIMPORT std::ostream G4cout
const G4String & GetParticleName() const
G4int operator==(const G4VProcess &right) const
G4double currentInteractionLength
G4double theInitialNumberOfInteractionLength
static const G4String & GetProcessTypeName(G4ProcessType)
G4ProcessType theProcessType
virtual void ResetNumberOfInteractionLengthLeft()
G4ParticleChange aParticleChange
void SubtractNumberOfInteractionLengthLeft(G4double previousStepSize)
G4VProcess(const G4String &aName="NoName", G4ProcessType aType=fNotDefined)
G4String thePhysicsTableFileName
G4int operator!=(const G4VProcess &right) const
G4double theNumberOfInteractionLengthLeft
virtual void StartTracking(G4Track *)
G4VParticleChange * pParticleChange
virtual void DumpInfo() const
virtual void EndTracking()
const G4String & GetPhysicsTableFileName(const G4ParticleDefinition *, const G4String &directory, const G4String &tableName, G4bool ascii=false)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)