117 G4cout <<
"G4VUserPhysicsList::ConstructProcess() "<<
G4endl;
129 if ( pmanager == 0) {
132 G4Exception(
"G4ErrorPhysicsList::ConstructProcess",
"No process manager",
136 pmanager ->
AddProcess(theTransportationProcess);
175 new G4ErrorMessenger( stepLengthLimitProcess, magFieldLimitProcess, eLossProcess );
183 if (particleName ==
"gamma") {
207 pmanager->AddProcess(anIonisation);
208 // pmanager->AddProcess(aMultipleScattering);
212 // set ordering for AlongStepDoIt
213 // pmanager->SetProcessOrdering(aMultipleScattering, idxAlongStep,1);
214 pmanager->SetProcessOrdering(anIonisation, idxAlongStep,1);
217 // set ordering for PostStepDoIt
218 // pmanager->SetProcessOrdering(aMultipleScattering, idxPostStep,1);
219 pmanager->SetProcessOrdering(anIonisation, idxPostStep,1);
G4DLLIMPORT 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()
void SetCutsWithDefault()
G4ParticleTable::G4PTblDicIterator * theParticleIterator
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)