56 theNumberOfInteractionLengthLeft(-1.0),
57 currentInteractionLength(-1.0),
58 theInitialNumberOfInteractionLength(-1.0),
59 theProcessName(aName),
60 theProcessType(aType),
61 theProcessSubType(-1),
63 enableAtRestDoIt(true),
64 enableAlongStepDoIt(true),
65 enablePostStepDoIt(true),
67 masterProcessShadow(0)
80 theNumberOfInteractionLengthLeft(-1.0),
81 currentInteractionLength(-1.0),
82 theInitialNumberOfInteractionLength(-1.0),
83 theProcessName(right.theProcessName),
84 theProcessType(right.theProcessType),
85 theProcessSubType(right.theProcessSubType),
87 enableAtRestDoIt(right.enableAtRestDoIt),
88 enableAlongStepDoIt(right.enableAlongStepDoIt),
89 enablePostStepDoIt(right.enablePostStepDoIt),
91 masterProcessShadow(right.masterProcessShadow)
128 static const G4String typeNotDefined =
"NotDefined";
129 static const G4String typeTransportation =
"Transportation";
130 static const G4String typeElectromagnetic =
"Electromagnetic";
131 static const G4String typeOptical =
"Optical";
132 static const G4String typeHadronic =
"Hadronic";
133 static const G4String typePhotolepton_hadron =
"Photolepton_hadron";
134 static const G4String typeDecay =
"Decay";
135 static const G4String typeGeneral =
"General";
136 static const G4String typeParameterisation =
"Parameterisation";
137 static const G4String typeUserDefined =
"UserDefined";
138 static const G4String typePhonon =
"Phonon";
139 static const G4String noType =
"------";
148 case fOptical:
return typeOptical;
break;
149 case fHadronic:
return typeHadronic;
break;
151 case fDecay:
return typeDecay;
break;
152 case fGeneral:
return typeGeneral;
break;
155 case fPhonon:
return typePhonon;
break;
165 JustWarning,
"Assignment operator is called but NO effect");
171 return (
this == &right);
176 return (
this != &right);
188 outFile <<
"This process has not yet been described\n";
197 if (ascii) thePhysicsTableFileExt =
".asc";
198 else thePhysicsTableFileExt =
".dat";
virtual void BuildPhysicsTable(const G4ParticleDefinition &)
virtual void ResetNumberOfInteractionLengthLeft()
G4VProcess & operator=(const G4VProcess &right)
G4int operator==(const G4VProcess &right) const
const G4String & GetParticleName() const
virtual void PreparePhysicsTable(const G4ParticleDefinition &)
G4double G4Log(G4double x)
G4ParticleChange aParticleChange
static const G4String & GetProcessTypeName(G4ProcessType)
G4double currentInteractionLength
virtual void EndTracking()
virtual void StartTracking(G4Track *)
G4VParticleChange * pParticleChange
G4ProcessType theProcessType
G4int operator!=(const G4VProcess &right) const
G4VProcess(const G4String &aName="NoName", G4ProcessType aType=fNotDefined)
G4double theInitialNumberOfInteractionLength
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
virtual void ProcessDescription(std::ostream &outfile) const
G4GLOB_DLL std::ostream G4cout
virtual void SetMasterProcess(G4VProcess *masterP)
G4double theNumberOfInteractionLengthLeft
virtual void DumpInfo() const
virtual void PrepareWorkerPhysicsTable(const G4ParticleDefinition &)
const G4String & GetPhysicsTableFileName(const G4ParticleDefinition *, const G4String &directory, const G4String &tableName, G4bool ascii=false)
virtual void BuildWorkerPhysicsTable(const G4ParticleDefinition &part)
G4String thePhysicsTableFileName
G4VProcess * masterProcessShadow