116 G4cout <<
"G4VUserPhysicsList::ConstructProcess() "<<
G4endl;
122 myParticleIterator->reset();
123 while( (*myParticleIterator)() ) {
129 if ( pmanager == 0) {
132 G4Exception(
"G4ErrorPhysicsList::ConstructProcess",
"No process manager",
136 pmanager ->
AddProcess(theTransportationProcess);
173 new G4ErrorMessenger( stepLengthLimitProcess, magFieldLimitProcess, eLossProcess );
176 myParticleIterator->reset();
177 while( (*myParticleIterator)() ) {
182 if (particleName ==
"gamma") {
206 pmanager->AddProcess(anIonisation);
207 // pmanager->AddProcess(aMultipleScattering);
211 // set ordering for AlongStepDoIt
212 // pmanager->SetProcessOrdering(aMultipleScattering, idxAlongStep,1);
213 pmanager->SetProcessOrdering(anIonisation, idxAlongStep,1);
216 // set ordering for PostStepDoIt
217 // pmanager->SetProcessOrdering(aMultipleScattering, idxPostStep,1);
218 pmanager->SetProcessOrdering(anIonisation, idxPostStep,1);
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
static G4Electron * ElectronDefinition()
virtual void ConstructProcess()
virtual void ConstructEM()
virtual void ConstructParticle()
virtual ~G4ErrorPhysicsList()
static G4Gamma * GammaDefinition()
static G4MuonMinus * MuonMinusDefinition()
static G4MuonPlus * MuonPlusDefinition()
G4ProcessManager * GetProcessManager() const
G4bool IsShortLived() const
G4double GetPDGCharge() const
const G4String & GetParticleName() const
static G4PionMinus * PionMinusDefinition()
static G4PionPlus * PionPlusDefinition()
static G4Positron * PositronDefinition()
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
G4int AddContinuousProcess(G4VProcess *aProcess, G4int ord=ordDefault)
G4int AddProcess(G4VProcess *aProcess, G4int ordAtRestDoIt=ordInActive, G4int ordAlongSteptDoIt=ordInActive, G4int ordPostStepDoIt=ordInActive)
void SetProcessOrderingToFirst(G4VProcess *aProcess, G4ProcessVectorDoItIndex idDoIt)
static G4Proton * ProtonDefinition()
G4ParticleTable::G4PTblDicIterator * GetParticleIterator() const
void SetCutsWithDefault()