Changeset 1230 for trunk/examples/novice/N06/src/ExN06PhysicsList.cc
- Timestamp:
- Jan 8, 2010, 3:02:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/novice/N06/src/ExN06PhysicsList.cc
r807 r1230 25 25 // 26 26 // 27 // $Id: ExN06PhysicsList.cc,v 1.1 4 2007/09/30 22:51:03 gum Exp $28 // GEANT4 tag $Name: $27 // $Id: ExN06PhysicsList.cc,v 1.17 2009/11/10 05:16:23 gum Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 53 53 #include "G4OpRayleigh.hh" 54 54 #include "G4OpBoundaryProcess.hh" 55 56 #include "G4LossTableManager.hh" 57 #include "G4EmSaturation.hh" 55 58 56 59 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 177 180 #include "G4PhotoElectricEffect.hh" 178 181 179 #include "G4MultipleScattering.hh" 182 #include "G4eMultipleScattering.hh" 183 #include "G4MuMultipleScattering.hh" 184 #include "G4hMultipleScattering.hh" 180 185 181 186 #include "G4eIonisation.hh" … … 209 214 //electron 210 215 // Construct processes for electron 211 pmanager->AddProcess(new G4 MultipleScattering(),-1, 1, 1);216 pmanager->AddProcess(new G4eMultipleScattering(),-1, 1, 1); 212 217 pmanager->AddProcess(new G4eIonisation(), -1, 2, 2); 213 218 pmanager->AddProcess(new G4eBremsstrahlung(), -1, 3, 3); … … 216 221 //positron 217 222 // Construct processes for positron 218 pmanager->AddProcess(new G4 MultipleScattering(),-1, 1, 1);223 pmanager->AddProcess(new G4eMultipleScattering(),-1, 1, 1); 219 224 pmanager->AddProcess(new G4eIonisation(), -1, 2, 2); 220 225 pmanager->AddProcess(new G4eBremsstrahlung(), -1, 3, 3); … … 225 230 //muon 226 231 // Construct processes for muon 227 pmanager->AddProcess(new G4Mu ltipleScattering(),-1, 1, 1);232 pmanager->AddProcess(new G4MuMultipleScattering(),-1, 1, 1); 228 233 pmanager->AddProcess(new G4MuIonisation(), -1, 2, 2); 229 234 pmanager->AddProcess(new G4MuBremsstrahlung(), -1, 3, 3); … … 234 239 (particle->GetParticleName() != "chargedgeantino")) { 235 240 // all others charged particles except geantino 236 pmanager->AddProcess(new G4 MultipleScattering(),-1,1,1);241 pmanager->AddProcess(new G4hMultipleScattering(),-1,1,1); 237 242 pmanager->AddProcess(new G4hIonisation(), -1,2,2); 238 243 } … … 258 263 SetVerbose(1); 259 264 260 theCerenkovProcess->SetMaxNumPhotonsPerStep(300); 265 theCerenkovProcess->SetMaxNumPhotonsPerStep(20); 266 theCerenkovProcess->SetMaxBetaChangePerStep(10.0); 261 267 theCerenkovProcess->SetTrackSecondariesFirst(true); 262 268 263 269 theScintillationProcess->SetScintillationYieldFactor(1.); 264 270 theScintillationProcess->SetTrackSecondariesFirst(true); 271 272 // Use Birks Correction in the Scintillation process 273 274 G4EmSaturation* emSaturation = G4LossTableManager::Instance()->EmSaturation(); 275 theScintillationProcess->AddSaturation(emSaturation); 265 276 266 277 G4OpticalSurfaceModel themodel = unified;
Note: See TracChangeset
for help on using the changeset viewer.