Changeset 1230 for trunk/examples/extended/electromagnetic/TestEm15/src
- Timestamp:
- Jan 8, 2010, 3:02:48 PM (14 years ago)
- Location:
- trunk/examples/extended/electromagnetic/TestEm15/src
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/electromagnetic/TestEm15/src/DetectorConstruction.cc
r807 r1230 25 25 // 26 26 // $Id: DetectorConstruction.cc,v 1.3 2006/06/29 16:46:47 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/extended/electromagnetic/TestEm15/src/DetectorMessenger.cc
r807 r1230 25 25 // 26 26 // $Id: DetectorMessenger.cc,v 1.2 2006/06/29 16:46:49 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/extended/electromagnetic/TestEm15/src/EventAction.cc
r807 r1230 25 25 // 26 26 // $Id: EventAction.cc,v 1.2 2006/06/29 16:46:51 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/extended/electromagnetic/TestEm15/src/EventActionMessenger.cc
r807 r1230 25 25 // 26 26 // $Id: EventActionMessenger.cc,v 1.2 2006/06/29 16:46:53 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/extended/electromagnetic/TestEm15/src/HistoManager.cc
r807 r1230 24 24 // ******************************************************************** 25 25 // 26 // $Id: HistoManager.cc,v 1. 5 2007/11/13 14:13:31 maire Exp $27 // GEANT4 tag $Name: geant4-09-0 1-patch-02$26 // $Id: HistoManager.cc,v 1.8 2008/09/26 19:47:51 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 54 54 55 55 fileName[0] = "testem15"; 56 fileType = " hbook";57 fileOption = "--noErrors uncompress";56 fileType = "root"; 57 fileOption = "--noErrors export=root uncompress"; 58 58 // histograms 59 59 for (G4int k=0; k<MaxHisto; k++) { … … 221 221 void HistoManager::PrintHisto(G4int ih) 222 222 { 223 if (ih < MaxHisto) ascii[ih] = true;223 if (ih < MaxHisto) { ascii[ih] = true; ascii[0] = true; } 224 224 else 225 225 G4cout << "---> warning from HistoManager::PrintHisto() : histo " << ih … … 234 234 { 235 235 #ifdef G4ANALYSIS_USE 236 237 if (!ascii[0]) return; 236 238 237 239 G4String name = fileName[0] + ".ascii"; … … 247 249 for (G4int iBin=0; iBin<Nbins[ih]; iBin++) { 248 250 File << " " << iBin << "\t" 249 << histo[ih]->binMean(iBin) << "\t" 251 << 0.5*(histo[ih]->axis().binLowerEdge(iBin) + 252 histo[ih]->axis().binUpperEdge(iBin)) << "\t" 250 253 << histo[ih]->binHeight(iBin) 251 254 << G4endl; -
trunk/examples/extended/electromagnetic/TestEm15/src/HistoMessenger.cc
r807 r1230 25 25 // 26 26 // $Id: HistoMessenger.cc,v 1.3 2007/11/13 14:13:31 maire Exp $ 27 // GEANT4 tag $Name: $27 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm15/src/PhysListEmStandard.cc
r807 r1230 25 25 // 26 26 // 27 // $Id: PhysListEmStandard.cc,v 1. 2 2006/06/29 16:47:02 gunterExp $28 // GEANT4 tag $Name: $27 // $Id: PhysListEmStandard.cc,v 1.4 2009/11/19 17:58:25 maire Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 39 39 #include "G4PhotoElectricEffect.hh" 40 40 41 #include "G4MultipleScattering.hh" 41 #include "G4eMultipleScattering.hh" 42 #include "G4hMultipleScattering.hh" 43 #include "G4MuMultipleScattering.hh" 42 44 43 45 #include "G4eIonisation.hh" … … 83 85 } else if (particleName == "e-") { 84 86 //electron 85 pmanager->AddProcess(new G4 MultipleScattering, -1, 1,1);86 pmanager->AddProcess(new G4eIonisation, -1, 2,2);87 pmanager->AddProcess(new G4eBremsstrahlung, -1, 3,3);87 pmanager->AddProcess(new G4eMultipleScattering, -1, 1,1); 88 pmanager->AddProcess(new G4eIonisation, -1, 2,2); 89 pmanager->AddProcess(new G4eBremsstrahlung, -1, 3,3); 88 90 89 91 } else if (particleName == "e+") { 90 92 //positron 91 pmanager->AddProcess(new G4 MultipleScattering, -1, 1,1);92 pmanager->AddProcess(new G4eIonisation, -1, 2,2);93 pmanager->AddProcess(new G4eBremsstrahlung, -1, 3,3);94 pmanager->AddProcess(new G4eplusAnnihilation, 0,-1,4);93 pmanager->AddProcess(new G4eMultipleScattering, -1, 1,1); 94 pmanager->AddProcess(new G4eIonisation, -1, 2,2); 95 pmanager->AddProcess(new G4eBremsstrahlung, -1, 3,3); 96 pmanager->AddProcess(new G4eplusAnnihilation, 0,-1,4); 95 97 96 98 } else if( particleName == "mu+" || 97 99 particleName == "mu-" ) { 98 100 //muon 99 pmanager->AddProcess(new G4Mu ltipleScattering,-1, 1,1);100 pmanager->AddProcess(new G4MuIonisation, -1, 2,2);101 pmanager->AddProcess(new G4MuBremsstrahlung, -1, 3,3);102 pmanager->AddProcess(new G4MuPairProduction, -1, 4,4);101 pmanager->AddProcess(new G4MuMultipleScattering,-1, 1,1); 102 pmanager->AddProcess(new G4MuIonisation, -1, 2,2); 103 pmanager->AddProcess(new G4MuBremsstrahlung, -1, 3,3); 104 pmanager->AddProcess(new G4MuPairProduction, -1, 4,4); 103 105 104 106 } else if( particleName == "GenericIon" ) { 105 pmanager->AddProcess(new G4 MultipleScattering,-1, 1,1);106 pmanager->AddProcess(new G4ionIonisation, -1, 2,2);107 pmanager->AddProcess(new G4hMultipleScattering,-1, 1,1); 108 pmanager->AddProcess(new G4ionIonisation, -1, 2,2); 107 109 108 110 } else if ((!particle->IsShortLived()) && … … 110 112 (particle->GetParticleName() != "chargedgeantino")) { 111 113 //all others charged particles except geantino 112 pmanager->AddProcess(new G4 MultipleScattering,-1,1,1);113 pmanager->AddProcess(new G4hIonisation, -1,2,2);114 pmanager->AddProcess(new G4hMultipleScattering,-1,1,1); 115 pmanager->AddProcess(new G4hIonisation, -1,2,2); 114 116 } 115 117 } -
trunk/examples/extended/electromagnetic/TestEm15/src/PhysicsList.cc
r807 r1230 26 26 // 27 27 // $Id: PhysicsList.cc,v 1.2 2006/06/29 16:47:04 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/extended/electromagnetic/TestEm15/src/PhysicsListMessenger.cc
r807 r1230 25 25 // 26 26 // $Id: PhysicsListMessenger.cc,v 1.2 2006/06/29 16:47:07 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/extended/electromagnetic/TestEm15/src/PrimaryGeneratorAction.cc
r807 r1230 25 25 // 26 26 // $Id: PrimaryGeneratorAction.cc,v 1.2 2006/06/29 16:47:10 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/extended/electromagnetic/TestEm15/src/RunAction.cc
r807 r1230 25 25 // 26 26 // $Id: RunAction.cc,v 1.5 2006/06/29 16:47:13 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/extended/electromagnetic/TestEm15/src/StepMax.cc
r807 r1230 25 25 // 26 26 // $Id: StepMax.cc,v 1.2 2006/06/29 16:47:16 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/extended/electromagnetic/TestEm15/src/StepMaxMessenger.cc
r807 r1230 25 25 // 26 26 // $Id: StepMaxMessenger.cc,v 1.2 2006/06/29 16:47:18 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/extended/electromagnetic/TestEm15/src/SteppingAction.cc
r807 r1230 25 25 // 26 26 // $Id: SteppingAction.cc,v 1.6 2007/03/15 15:52:39 maire Exp $ 27 // GEANT4 tag $Name: $27 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm15/src/SteppingVerbose.cc
r807 r1230 25 25 // 26 26 // $Id: SteppingVerbose.cc,v 1.2 2006/06/29 16:47:22 gunter Exp $ 27 // GEANT4 tag $Name: $27 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
Note: See TracChangeset
for help on using the changeset viewer.