Changeset 1230 for trunk/examples/novice/N06/src
- Timestamp:
- Jan 8, 2010, 3:02:48 PM (15 years ago)
- Location:
- trunk/examples/novice/N06/src
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/novice/N06/src/ExN06DetectorConstruction.cc
r807 r1230 25 25 // 26 26 // 27 // $Id: ExN06DetectorConstruction.cc,v 1.1 5 2006/06/29 17:54:17 gunterExp $28 // GEANT4 tag $Name: $27 // $Id: ExN06DetectorConstruction.cc,v 1.17 2008/07/17 00:32:34 gum Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 148 148 Water->SetMaterialPropertiesTable(myMPT1); 149 149 150 // Set the Birks Constant for the Water scintillator 151 152 Water->GetIonisation()->SetBirksConstant(0.126*mm/MeV); 153 150 154 // 151 155 // Air … … 225 229 226 230 if(AirSurface->GetLogicalVolume() == bubbleAir_log) G4cout << "Equal" << G4endl; 227 ((G4OpticalSurface*) 228 (AirSurface->GetSurface(bubbleAir_log)->GetSurfaceProperty()))->DumpInfo(); 231 G4OpticalSurface* opticalSurface = dynamic_cast <G4OpticalSurface*> 232 (AirSurface->GetSurface(bubbleAir_log)->GetSurfaceProperty()); 233 234 if (opticalSurface) opticalSurface->DumpInfo(); 229 235 230 236 // -
trunk/examples/novice/N06/src/ExN06EventAction.cc
r807 r1230 26 26 // 27 27 // $Id: ExN06EventAction.cc,v 1.3 2006/06/29 17:54:20 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
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; -
trunk/examples/novice/N06/src/ExN06PhysicsListMessenger.cc
r807 r1230 26 26 // 27 27 // $Id: ExN06PhysicsListMessenger.cc,v 1.3 2006/06/29 17:54:25 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // -
trunk/examples/novice/N06/src/ExN06PrimaryGeneratorAction.cc
r807 r1230 26 26 // 27 27 // $Id: ExN06PrimaryGeneratorAction.cc,v 1.6 2006/06/29 17:54:27 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/novice/N06/src/ExN06PrimaryGeneratorMessenger.cc
r807 r1230 26 26 // 27 27 // $Id: ExN06PrimaryGeneratorMessenger.cc,v 1.3 2006/06/29 17:54:29 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // -
trunk/examples/novice/N06/src/ExN06RunAction.cc
r807 r1230 26 26 // 27 27 // $Id: ExN06RunAction.cc,v 1.10 2006/06/29 17:54:31 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/novice/N06/src/ExN06StackingAction.cc
r807 r1230 25 25 // 26 26 // $Id: ExN06StackingAction.cc,v 1.5 2006/06/29 17:54:34 gunter Exp $ 27 // GEANT4 tag $Name: $27 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/novice/N06/src/ExN06SteppingVerbose.cc
r807 r1230 26 26 // 27 27 // $Id: ExN06SteppingVerbose.cc,v 1.4 2006/06/29 17:54:37 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
Note: See TracChangeset
for help on using the changeset viewer.