Changeset 1337 for trunk/examples/extended/electromagnetic/TestEm8
- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- Location:
- trunk/examples/extended/electromagnetic/TestEm8
- Files:
-
- 39 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/electromagnetic/TestEm8/History
r807 r1337 1 $Id: History,v 1. 29 2007/11/12 10:54:49 vnivanchExp $1 $Id: History,v 1.37 2010/06/06 04:31:28 perl Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 15 15 * Reverse chronological order (last date on top), please * 16 16 ---------------------------------------------------------- 17 18 04-06-10 J.Perl (testem8-V09-03-03) 19 - Updated vis usage 20 21 04-06-10 V.Ivant (testem8-V09-03-02) 22 - PhysicsList, Em8DetectorConstruction - renamed "VertexDetector" by 23 "GasDetector" 24 - added cut per region into TestEm8.in 25 26 21-05-10 mma (testem8-V09-03-01) 27 - TestEm8.cc : introduction of G4UIExecutive 28 29 13-04-10 V.Ivant (testem8-V09-03-00) 30 - Use pointer to G4EmConfigurator and not as a memeber of the class 31 32 24-11-08 V.Ivant (testem8-V09-02-00) 33 - Fixed compillation warnings at SLC5 34 35 05-12-08 V.Ivant (testem8-V09-01-02) 36 - Fixed typo in Physics List 37 38 21-11-08 V.Ivant (testem8-V09-01-01) 39 - remove local components of PhsyicsList and use G4EmConfigurator to 40 configure PAI model 41 42 12-06-08 mma (testem8-V09-01-00) 43 - Remove AIDA from GNUmakefile 17 44 18 45 12-11-07 V.Ivant (testem8-V09-00-05) -
trunk/examples/extended/electromagnetic/TestEm8/TestEm8.cc
r1230 r1337 25 25 // 26 26 // 27 // $Id: TestEm8.cc,v 1. 8 2007/07/27 15:29:38 vnivanchExp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: TestEm8.cc,v 1.9 2010/05/21 18:15:04 maire Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 // 31 // -------------------------------------------------------------- 32 // GEANT 4 - TestEm8 33 // 34 // -------------------------------------------------------------- 35 // Comments 36 // 37 // 38 // -------------------------------------------------------------- 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 31 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 39 32 40 33 #include "G4RunManager.hh" 41 34 #include "G4UImanager.hh" 42 #include "G4UIterminal.hh"43 35 #include "Randomize.hh" 44 45 #ifdef G4VIS_USE46 #include "G4VisExecutive.hh"47 #endif48 36 49 37 #include "Em8DetectorConstruction.hh" … … 54 42 #include "Em8SteppingAction.hh" 55 43 #include "Em8SteppingVerbose.hh" 44 45 #ifdef G4VIS_USE 46 #include "G4VisExecutive.hh" 47 #endif 48 49 #ifdef G4UI_USE 50 #include "G4UIExecutive.hh" 51 #endif 52 53 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 56 54 57 55 int main(int argc,char** argv) … … 76 74 runManager->SetUserInitialization(detector); 77 75 runManager->SetUserInitialization(new PhysicsList); 78 79 #ifdef G4VIS_USE80 G4VisManager* visManager = 0;81 #endif82 76 83 77 // set user action classes … … 99 93 100 94 G4UImanager* UI = G4UImanager::GetUIpointer(); 101 102 if (argc==1) // Define UI terminal for interactive mode 95 96 if (argc!=1) // batch mode 97 { 98 G4String command = "/control/execute "; 99 G4String fileName = argv[1]; 100 UI->ApplyCommand(command+fileName); 101 } 102 103 else //define visualization and UI terminal for interactive mode 103 104 { 104 105 #ifdef G4VIS_USE 105 106 107 #endif 108 G4UIsession * session = new G4UIterminal;109 UI->ApplyCommand("/control/execute init.mac"); 110 session->SessionStart();111 delete session;112 }113 else // Batch mode 114 {115 G4String command = "/control/execute "; 116 G4String fileName = argv[1];117 UI->ApplyCommand(command+fileName); 118 } 119 106 G4VisManager* visManager = new G4VisExecutive; 107 visManager->Initialize(); 108 #endif 109 110 #ifdef G4UI_USE 111 G4UIExecutive * ui = new G4UIExecutive(argc,argv); 112 ui->SessionStart(); 113 delete ui; 114 #endif 115 116 #ifdef G4VIS_USE 117 delete visManager; 118 #endif 119 } 120 120 121 // job termination 121 122 #ifdef G4VIS_USE 123 delete visManager; 124 #endif 122 // 125 123 delete runManager; 126 124 … … 128 126 } 129 127 128 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 129 -
trunk/examples/extended/electromagnetic/TestEm8/TestEm8.in
r807 r1337 10 10 # select EM PhysicsList 11 11 # 12 #/testem/phys/addPhysics emstandard13 12 /testem/phys/addPhysics pai 14 13 #/testem/phys/addPhysics pai_photon 15 #/testem/phys/addPhysics pai_brem16 14 # 17 15 /testem/phys/setCuts 1 mm … … 26 24 # 27 25 /run/initialize 26 # 27 /run/setCut 0.5 mm 28 /run/setCutForRegion GasDetector 1.8 mm 28 29 /run/particle/dumpCutValues 29 30 # -
trunk/examples/extended/electromagnetic/TestEm8/TestEm8.out
r807 r1337 1 2 ############################################ 3 !!! WARNING - FPE detection is activated !!! 4 ############################################ 1 5 2 6 ************************************************************* 3 Geant4 version Name: g lobal-V09-00-03 (9-May-2008)7 Geant4 version Name: geant4-09-03-ref-06 (25-June-2010) 4 8 Copyright : Geant4 Collaboration 5 9 Reference : NIM A 506 (2003), 250-303 … … 10 14 #/tracking/verbose 2 11 15 # 12 # select EM PhysicsList 13 # 14 #/testem/phys/addPhysics emstandard 16 # select EM PhysicsList 17 # 15 18 /testem/phys/addPhysics pai 16 PhysicsList::AddPhysicsList: <pai> 17 PhysListEmModelPai is called 18 #/testem/phys/addPhysics pai_photon 19 #/testem/phys/addPhysics pai_brem 19 #/testem/phys/addPhysics pai_photon 20 20 # 21 21 /testem/phys/setCuts 1 mm 22 #/testem/stepMax 10 mm23 # 24 # PLOT: energy deposit distribution in absorber22 #/testem/stepMax 10 mm 23 # 24 # PLOT: energy deposit distribution in absorber 25 25 # 26 26 /plots/setnbinEn 20 … … 43 43 physicsList->Construct() start. 44 44 physicsList->Construct() start. 45 physicsList->CheckParticleList() start. 45 46 physicsList->setCut() start. 46 47 PhysicsList::SetCuts:CutLength : 1 mm 48 # 49 /run/setCut 0.5 mm 50 /run/setCutForRegion GasDetector 1.8 mm 47 51 /run/particle/dumpCutValues 48 52 # … … 61 65 /event/printModulo 100 62 66 /run/beamOn 1000 63 64 phot: Total cross sections from Sandia parametrisation. 65 Sampling according PhotoElectric model 66 67 compt: Total cross sections has a good parametrisation from 10 KeV to (100/Z) GeV 68 Sampling according Klein-Nishina model 69 tables are built for gamma 70 Lambda tables from 100 eV to 100 GeV in 90 bins. 71 72 conv: Total cross sections has a good parametrisation from 1.5 MeV to 100 GeV for all Z; 73 sampling secondary e+e- according Bethe-Heitler model 74 tables are built for gamma 75 Lambda tables from 1.022 MeV to 100 GeV in 100 bins. 76 77 msc: Model variant of multiple scattering for e- 78 Lambda tables from 100 eV to 100 TeV in 120 bins. 79 LateralDisplacementFlag= 1 Skin= 0 80 Boundary/stepping algorithm is active with RangeFactor= 0.02 Step limit type 1 81 82 eIoni: tables are built for e- 83 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 84 Lambda tables from threshold to 100 TeV in 120 bins. 85 Delta cross sections and sampling from MollerBhabha model 86 Good description from 1 KeV to 100 GeV. 87 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 88 89 eBrem: tables are built for e- 90 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 91 Lambda tables from threshold to 100 TeV in 120 bins. 92 Total cross sections and sampling from StandBrem model (based on the EEDL data library) 93 Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1 94 95 eIoni: tables are built for e+ 96 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 97 Lambda tables from threshold to 100 TeV in 120 bins. 98 Delta cross sections and sampling from MollerBhabha model 99 Good description from 1 KeV to 100 GeV. 100 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 101 102 eBrem: tables are built for e+ 103 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 104 Lambda tables from threshold to 100 TeV in 120 bins. 105 Total cross sections and sampling from StandBrem model (based on the EEDL data library) 106 Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1 107 108 annihil: Sampling according eplus2gg model 109 tables are built for e+ 110 Lambda tables from 100 eV to 100 TeV in 120 bins. 111 112 msc: Model variant of multiple scattering for proton 113 Lambda tables from 100 eV to 100 TeV in 120 bins. 114 LateralDisplacementFlag= 1 Skin= 0 115 Boundary/stepping algorithm is active with RangeFactor= 0.02 Step limit type 1 116 117 hIoni: tables are built for proton 118 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 119 Lambda tables from threshold to 100 TeV in 120 bins. 120 Scaling relation is used from proton dE/dx and range. 121 Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV 122 Parametrisation from Bragg for protons below. NuclearStopping= 1 123 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 124 125 msc: Model variant of multiple scattering for GenericIon 126 LateralDisplacementFlag= 0 Skin= 0 127 Boundary/stepping algorithm is active with RangeFactor= 0.2 Step limit type 1 128 129 ionIoni: tables are built for GenericIon 130 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 131 Lambda tables from threshold to 100 TeV in 120 bins. 132 Scaling relation is used from proton dE/dx and range. 133 Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV 134 Parametrisation from BraggIon for protons below. NuclearStopping= 1 135 136 Stopping Power data for 8 ion/material pairs are used. 137 Step function: finalRange(mm)= 0.1, dRoverRange= 0.1, integral: 1, fluct: 1 138 139 hIoni: tables are built for anti_proton 140 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 141 Lambda tables from threshold to 100 TeV in 120 bins. 142 Scaling relation is used from proton dE/dx and range. 143 Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV 144 Parametrisation from Bragg for protons below. NuclearStopping= 1 145 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 146 147 msc: Model variant of multiple scattering for mu+ 148 Lambda tables from 100 eV to 100 TeV in 120 bins. 149 LateralDisplacementFlag= 1 Skin= 0 150 Boundary/stepping algorithm is active with RangeFactor= 0.02 Step limit type 1 151 152 muIoni: tables are built for mu+ 153 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 154 Lambda tables from threshold to 100 TeV in 120 bins. 155 Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below, 156 radiative corrections for E > 1 GeV 157 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 158 159 muBrems: tables are built for mu+ 160 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 161 Lambda tables from threshold to 100 TeV in 120 bins. 162 Parametrised model 163 164 muPairProd: tables are built for mu+ 165 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 166 Lambda tables from threshold to 100 TeV in 120 bins. 167 Parametrised model 168 169 muIoni: tables are built for mu- 170 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 171 Lambda tables from threshold to 100 TeV in 120 bins. 172 Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below, 173 radiative corrections for E > 1 GeV 174 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 175 176 muBrems: tables are built for mu- 177 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 178 Lambda tables from threshold to 100 TeV in 120 bins. 179 Parametrised model 180 181 muPairProd: tables are built for mu- 182 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 183 Lambda tables from threshold to 100 TeV in 120 bins. 184 Parametrised model 185 186 hIoni: tables are built for pi+ 187 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 188 Lambda tables from threshold to 100 TeV in 120 bins. 189 Scaling relation is used from proton dE/dx and range. 190 Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV 191 Parametrisation from Bragg for protons below. NuclearStopping= 1 192 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 193 194 msc: Model variant of multiple scattering for pi- 195 Lambda tables from 100 eV to 100 TeV in 120 bins. 196 LateralDisplacementFlag= 1 Skin= 0 197 Boundary/stepping algorithm is active with RangeFactor= 0.02 Step limit type 1 198 199 hIoni: tables are built for pi- 200 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 201 Lambda tables from threshold to 100 TeV in 120 bins. 202 Scaling relation is used from proton dE/dx and range. 203 Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV 204 Parametrisation from Bragg for protons below. NuclearStopping= 1 205 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 67 G4PAIModel::Initialise for e+ 68 G4PAIModel::Initialise for e- 69 G4PAIModel::Initialise for mu+ 70 G4PAIModel::Initialise for mu- 71 G4PAIModel::Initialise for pi+ 72 G4PAIModel::Initialise for pi- 73 G4PAIModel::Initialise for proton 74 75 phot: for gamma SubType= 12 76 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 77 PhotoElectric : Emin= 0 eV Emax= 10 TeV 78 79 compt: for gamma SubType= 13 80 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 81 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 82 Klein-Nishina : Emin= 0 eV Emax= 10 TeV 83 84 conv: for gamma SubType= 14 85 Lambda tables from 1.022 MeV to 10 TeV in 77 bins, spline: 1 86 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 87 Bethe-Heitler : Emin= 0 eV Emax= 10 TeV 88 89 msc: for e- SubType= 10 90 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 91 RangeFactor= 0.04, stepLimitType: 1, latDisplacement: 1 92 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 93 UrbanMsc93 : Emin= 0 eV Emax= 10 TeV 94 95 eIoni: for e- SubType= 2 96 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 97 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 98 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 99 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 100 MollerBhabha : Emin= 0 eV Emax= 10 TeV 101 ===== EM models for the G4Region GasDetector ====== 102 PAIModel : Emin= 0 eV Emax= 10 TeV 103 104 eBrem: for e- SubType= 3 105 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 106 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 107 LPM flag: 1 for E > 1 GeV 108 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 109 eBrem : Emin= 0 eV Emax= 1 GeV 110 eBremRel : Emin= 1 GeV Emax= 10 TeV 111 112 eIoni: for e+ SubType= 2 113 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 114 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 115 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 116 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 117 MollerBhabha : Emin= 0 eV Emax= 10 TeV 118 ===== EM models for the G4Region GasDetector ====== 119 PAIModel : Emin= 0 eV Emax= 10 TeV 120 121 eBrem: for e+ SubType= 3 122 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 123 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 124 LPM flag: 1 for E > 1 GeV 125 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 126 eBrem : Emin= 0 eV Emax= 1 GeV 127 eBremRel : Emin= 1 GeV Emax= 10 TeV 128 129 annihil: for e+ SubType= 5 130 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 131 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 132 eplus2gg : Emin= 0 eV Emax= 10 TeV 133 134 msc: for proton SubType= 10 135 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 136 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 137 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 138 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV 139 140 hIoni: for proton SubType= 2 141 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 142 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 143 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 144 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 145 Bragg : Emin= 0 eV Emax= 2 MeV 146 BetheBloch : Emin= 2 MeV Emax= 10 TeV 147 ===== EM models for the G4Region GasDetector ====== 148 PAIModel : Emin= 0 eV Emax= 10 TeV 149 150 hBrems: for proton SubType= 3 151 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 152 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 153 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 154 hBrem : Emin= 0 eV Emax= 10 TeV 155 156 hPairProd: for proton SubType= 4 157 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 158 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 159 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 160 hPairProd : Emin= 0 eV Emax= 10 TeV 161 162 msc: for GenericIon SubType= 10 163 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0 164 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 165 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV 166 167 ionIoni: for GenericIon SubType= 2 168 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 169 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 170 finalRange(mm)= 0.1, dRoverRange= 0.1, integral: 1, fluct: 1, linLossLimit= 0.02 171 Stopping Power data for 17 ion/material pairs, nuclearStopping: 1 172 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 173 BraggIon : Emin= 0 eV Emax= 2 MeV 174 BetheBloch : Emin= 2 MeV Emax= 10 TeV 175 176 hIoni: for anti_proton SubType= 2 177 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 178 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 179 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 180 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 181 ICRU73QO : Emin= 0 eV Emax= 2 MeV 182 BetheBloch : Emin= 2 MeV Emax= 10 TeV 183 184 hIoni: for kaon+ SubType= 2 185 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 186 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 187 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 188 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 189 Bragg : Emin= 0 eV Emax= 1.05231 MeV 190 BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV 191 192 hBrems: for kaon+ SubType= 3 193 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 194 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 195 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 196 hBrem : Emin= 0 eV Emax= 10 TeV 197 198 hPairProd: for kaon+ SubType= 4 199 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 200 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 201 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 202 hPairProd : Emin= 0 eV Emax= 10 TeV 203 204 hIoni: for kaon- SubType= 2 205 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 206 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 207 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 208 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 209 ICRU73QO : Emin= 0 eV Emax= 1.05231 MeV 210 BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV 211 212 hBrems: for kaon- SubType= 3 213 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 214 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 215 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 216 hBrem : Emin= 0 eV Emax= 10 TeV 217 218 hPairProd: for kaon- SubType= 4 219 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 220 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 221 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 222 hPairProd : Emin= 0 eV Emax= 10 TeV 223 224 muMsc: for mu+ SubType= 10 225 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 226 RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 0 227 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 228 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV 229 230 muIoni: for mu+ SubType= 2 231 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 232 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 233 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 234 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 235 Bragg : Emin= 0 eV Emax= 200 keV 236 BetheBloch : Emin= 200 keV Emax= 1 GeV 237 MuBetheBloch : Emin= 1 GeV Emax= 10 TeV 238 ===== EM models for the G4Region GasDetector ====== 239 PAIModel : Emin= 0 eV Emax= 10 TeV 240 241 muBrems: for mu+ SubType= 3 242 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 243 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 244 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 245 MuBrem : Emin= 0 eV Emax= 10 TeV 246 247 muPairProd: for mu+ SubType= 4 248 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 249 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 250 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 251 muPairProd : Emin= 0 eV Emax= 10 TeV 252 253 muIoni: for mu- SubType= 2 254 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 255 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 256 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 257 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 258 ICRU73QO : Emin= 0 eV Emax= 200 keV 259 BetheBloch : Emin= 200 keV Emax= 1 GeV 260 MuBetheBloch : Emin= 1 GeV Emax= 10 TeV 261 ===== EM models for the G4Region GasDetector ====== 262 PAIModel : Emin= 0 eV Emax= 10 TeV 263 264 muBrems: for mu- SubType= 3 265 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 266 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 267 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 268 MuBrem : Emin= 0 eV Emax= 10 TeV 269 270 muPairProd: for mu- SubType= 4 271 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 272 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 273 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 274 muPairProd : Emin= 0 eV Emax= 10 TeV 275 276 hIoni: for pi+ SubType= 2 277 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 278 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 279 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 280 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 281 Bragg : Emin= 0 eV Emax= 297.504 keV 282 BetheBloch : Emin= 297.504 keV Emax= 10 TeV 283 ===== EM models for the G4Region GasDetector ====== 284 PAIModel : Emin= 0 eV Emax= 10 TeV 285 286 hBrems: for pi+ SubType= 3 287 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 288 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 289 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 290 hBrem : Emin= 0 eV Emax= 10 TeV 291 292 hPairProd: for pi+ SubType= 4 293 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 294 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 295 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 296 hPairProd : Emin= 0 eV Emax= 10 TeV 297 298 msc: for pi- SubType= 10 299 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 300 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 301 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 302 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV 303 304 hIoni: for pi- SubType= 2 305 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 306 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 307 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 308 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 309 ICRU73QO : Emin= 0 eV Emax= 297.504 keV 310 BetheBloch : Emin= 297.504 keV Emax= 10 TeV 311 ===== EM models for the G4Region GasDetector ====== 312 PAIModel : Emin= 0 eV Emax= 10 TeV 313 314 hBrems: for pi- SubType= 3 315 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 316 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 317 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 318 hBrem : Emin= 0 eV Emax= 10 TeV 319 320 hPairProd: for pi- SubType= 4 321 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 322 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 323 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 324 hPairProd : Emin= 0 eV Emax= 10 TeV 206 325 207 326 Region <DefaultRegionForTheWorld> -- appears in <World> world volume … … 209 328 Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0] 210 329 Materials : Mylar 211 Production cuts : gamma 1 mm e- 1 mm e+ 1 mm212 213 Region < VertexDetector> -- appears in <World> world volume330 Production cuts : gamma 500 um e- 500 um e+ 500 um proton 500 um 331 332 Region <GasDetector> -- appears in <World> world volume 214 333 Root logical volume(s) : Absorber 215 334 Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0] 216 335 Materials : XeCH4C3H8 217 Production cuts : gamma 2.3 cm e- 2.3 cm e+ 2.3 cm336 Production cuts : gamma 1.8 mm e- 1.8 mm e+ 1.8 mm proton 1.8 mm 218 337 219 338 ========= Table of registered couples ============================== … … 221 340 Index : 0 used in the geometry : Yes recalculation needed : No 222 341 Material : Mylar 223 Range cuts : gamma 1 mm e- 1 mm e+ 1 mm224 Energy thresholds : gamma 2.97898 keV e- 417.539 keV e+ 402.4keV342 Range cuts : gamma 500 um e- 500 um e+ 500 um proton 500 um 343 Energy thresholds : gamma 2.27786 keV e- 261.805 keV e+ 258.31 keV proton 50 keV 225 344 Region(s) which use this couple : 226 345 DefaultRegionForTheWorld … … 228 347 Index : 1 used in the geometry : Yes recalculation needed : No 229 348 Material : XeCH4C3H8 230 Range cuts : gamma 2.3 cm e- 2.3 cm e+ 2.3 cm231 Energy thresholds : gamma 3.83995 keV e- 63.4899 keV e+ 61.9458keV349 Range cuts : gamma 1.8 mm e- 1.8 mm e+ 1.8 mm proton 1.8 mm 350 Energy thresholds : gamma 990 eV e- 5.57533 keV e+ 5.40743 keV proton 180 keV 232 351 Region(s) which use this couple : 233 VertexDetector352 GasDetector 234 353 235 354 ==================================================================== … … 270 389 Run Summary 271 390 Number of events processed : 1000 272 User=0.1 5s Real=0.15s Sys=0s391 User=0.11s Real=0.1s Sys=0s 273 392 ================== run summary ===================== 274 393 end of Run TotNbofEvents = 1000 275 mean charged track length in absorber=2 3.3231 +- 0.118697 mm276 277 mean energy deposit in absorber=0.01 58995 +- 0.000304796MeV278 279 mean number of steps in absorber (charged) =0. 092 +- 0.043215280 mean number of steps in absorber (neutral) =0 +- 0281 282 mean number of charged secondaries = 0. 01 +- 0.00314643283 284 mean number of neutral secondaries = 0 +- 0285 286 mean number of e-s =0. 01and e+s =0394 mean charged track length in absorber=24.2704 +- 0.310817 mm 395 396 mean energy deposit in absorber=0.0160189 +- 0.000378691 MeV 397 398 mean number of steps in absorber (charged) =0.898 +- 0.0848269 399 mean number of steps in absorber (neutral) =0.002 +- 0.0014128 400 401 mean number of charged secondaries = 0.257 +- 0.0163997 402 403 mean number of neutral secondaries = 0.002 +- 0.0014128 404 405 mean number of e-s =0.257 and e+s =0 287 406 288 407 (number) transmission coeff=1 reflection coeff=0 289 408 290 409 energy deposit distribution 291 #entries=1000 #underflows=0 #overflows= 7410 #entries=1000 #underflows=0 #overflows=12 292 411 bin nb Elow entries normalized 293 412 0 0 0 0 294 1 3 8 0.008295 2 6 102 0.102296 3 9 2 61 0.261297 4 12 2 40 0.24298 5 15 1 58 0.158299 6 18 77 0.077300 7 21 4 5 0.045413 1 3 4 0.004 414 2 6 95 0.095 415 3 9 270 0.27 416 4 12 251 0.251 417 5 15 146 0.146 418 6 18 90 0.09 419 7 21 49 0.049 301 420 8 24 30 0.03 302 9 27 1 7 0.017303 10 30 1 4 0.014304 11 33 10 0.01305 12 36 8 0.008306 13 39 6 0.006307 14 42 5 0.005308 15 45 1 0.001421 9 27 16 0.016 422 10 30 13 0.013 423 11 33 5 0.005 424 12 36 5 0.005 425 13 39 9 0.009 426 14 42 1 0.001 427 15 45 2 0.002 309 428 16 48 1 0.001 310 17 51 1 0.001311 18 54 5 0.005312 19 57 4 0.004429 17 51 0 0 430 18 54 0 0 431 19 57 1 0.001 313 432 314 433 Emp = 0.009 width= 0.006 MeV … … 317 436 --------- Ranecu engine status --------- 318 437 Initial seed (index) = 0 319 Current couple of seeds = 1 062535304, 247495324438 Current couple of seeds = 1481926969, 852281434 320 439 ---------------------------------------- 321 440 # … … 327 446 G4SDManager deleted. 328 447 EventManager deleted. 329 Default detector region deleted.330 448 UImanager deleted. 331 449 Units table cleared. … … 333 451 RunManagerKernel is deleted. 334 452 RunManager is deleting. 453 -
trunk/examples/extended/electromagnetic/TestEm8/include/Em8CalorHit.hh
r1230 r1337 26 26 // 27 27 // $Id: Em8CalorHit.hh,v 1.4 2006/06/29 16:58:58 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/include/Em8CalorimeterSD.hh
r1230 r1337 26 26 // 27 27 // $Id: Em8CalorimeterSD.hh,v 1.4 2006/06/29 16:59:01 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/include/Em8DetectorConstruction.hh
r1230 r1337 26 26 // 27 27 // $Id: Em8DetectorConstruction.hh,v 1.9 2007/10/02 10:12:47 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/include/Em8DetectorMessenger.hh
r1230 r1337 26 26 // 27 27 // $Id: Em8DetectorMessenger.hh,v 1.6 2007/10/02 10:12:47 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/include/Em8EventAction.hh
r1230 r1337 26 26 // 27 27 // $Id: Em8EventAction.hh,v 1.4 2006/06/29 16:59:08 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/include/Em8EventActionMessenger.hh
r1230 r1337 26 26 // 27 27 // $Id: Em8EventActionMessenger.hh,v 1.4 2006/06/29 16:59:10 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/include/Em8PrimaryGeneratorAction.hh
r1230 r1337 26 26 // 27 27 // $Id: Em8PrimaryGeneratorAction.hh,v 1.4 2006/06/29 16:59:12 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/include/Em8PrimaryGeneratorMessenger.hh
r1230 r1337 26 26 // 27 27 // $Id: Em8PrimaryGeneratorMessenger.hh,v 1.4 2006/06/29 16:59:14 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/include/Em8RunAction.hh
r1230 r1337 26 26 // 27 27 // $Id: Em8RunAction.hh,v 1.8 2006/06/29 16:59:16 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/include/Em8RunMessenger.hh
r1230 r1337 27 27 // 28 28 // $Id: Em8RunMessenger.hh,v 1.4 2006/06/29 16:59:18 gunter Exp $ 29 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $29 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 30 30 // 31 31 // -
trunk/examples/extended/electromagnetic/TestEm8/include/Em8SteppingAction.hh
r1230 r1337 26 26 // 27 27 // $Id: Em8SteppingAction.hh,v 1.5 2006/06/29 16:59:20 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/include/Em8SteppingVerbose.hh
r1230 r1337 26 26 // 27 27 // $Id: Em8SteppingVerbose.hh,v 1.4 2006/06/29 16:59:22 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/include/PhysicsList.hh
r1230 r1337 25 25 // 26 26 // 27 // $Id: PhysicsList.hh,v 1. 3 2008/11/21 12:39:24vnivanch Exp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: PhysicsList.hh,v 1.4 2010/04/13 08:12:23 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 73 73 const G4String& procname); 74 74 75 G4EmConfigurator em_config;75 G4EmConfigurator* em_config; 76 76 77 77 G4double cutForGamma; -
trunk/examples/extended/electromagnetic/TestEm8/include/PhysicsListMessenger.hh
r1230 r1337 26 26 // 27 27 // $Id: PhysicsListMessenger.hh,v 1.2 2006/06/29 16:59:49 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/include/StepMax.hh
r1230 r1337 25 25 // 26 26 // $Id: StepMax.hh,v 1.2 2006/06/29 16:59:52 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm8/include/StepMaxMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: StepMaxMessenger.hh,v 1.2 2006/06/29 16:59:55 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm8/include/TRTDetectorConstruction.hh
r1230 r1337 26 26 // 27 27 // $Id: TRTDetectorConstruction.hh,v 1.4 2006/06/29 16:59:58 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/include/TRTMaterials.hh
r1230 r1337 26 26 // 27 27 // $Id: TRTMaterials.hh,v 1.4 2006/06/29 17:00:01 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/run11.mac
r807 r1337 11 11 # select EM PhysicsList 12 12 # 13 /testem/phys/addPhysics pai13 #/testem/phys/addPhysics pai 14 14 # 15 #/testem/phys/addPhysics pai-photon15 /testem/phys/addPhysics pai_photon 16 16 # 17 17 #/testem/phys/addPhysics standard … … 19 19 #/testem/phys/addPhysics model 20 20 # 21 /testem/phys/setCuts 1 mm21 /testem/phys/setCuts 1.01 mm 22 22 #/testem/phys/VertexCuts 0.1 mm 23 23 #/testem/phys/MuonCuts 10.0 mm … … 33 33 # PLOT: energy deposit distribution in absorber 34 34 # 35 /plots/setnbinEn 15035 /plots/setnbinEn 50 36 36 /plots/setEnlow 0.00 MeV 37 /plots/setEnhigh 0. 3MeV37 /plots/setEnhigh 0.5 MeV 38 38 # 39 39 # … … 80 80 #/tracking/verbose 1 81 81 # 82 /event/printModulo 1000 82 /event/printModulo 10000 83 83 /run/beamOn 50000 84 84 # -
trunk/examples/extended/electromagnetic/TestEm8/src/Em8CalorHit.cc
r1230 r1337 26 26 // 27 27 // $Id: Em8CalorHit.cc,v 1.5 2006/06/29 17:00:03 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/src/Em8CalorimeterSD.cc
r1230 r1337 26 26 // 27 27 // $Id: Em8CalorimeterSD.cc,v 1.7 2006/06/29 17:00:05 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/src/Em8DetectorConstruction.cc
r1230 r1337 25 25 // 26 26 // 27 // $Id: Em8DetectorConstruction.cc,v 1.2 1 2007/10/02 10:12:47vnivanch Exp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: Em8DetectorConstruction.cc,v 1.23 2010/06/04 17:08:15 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // … … 149 149 a = 26.98*g/mole; 150 150 density = 2.7*g/cm3; 151 G4Material* Al = new G4Material(name="Aluminium", z=13., a, density); 152 if(Al); 151 new G4Material(name="Aluminium", z=13., a, density); 153 152 154 153 // Mylar … … 162 161 density = 2.330*g/cm3; 163 162 a = 28.09*g/mole; 164 G4Material* Si = new G4Material(name="Silicon", z=14., a, density); 165 if(Si); 163 new G4Material(name="Silicon", z=14., a, density); 166 164 167 165 // Krypton as detector gas, STP … … 367 365 if( fRegGasDet == 0 ) // First time - instantiate a region and a cut objects 368 366 { 369 fRegGasDet = new G4Region(" VertexDetector");367 fRegGasDet = new G4Region("GasDetector"); 370 368 cuts = new G4ProductionCuts(); 371 369 fRegGasDet->SetProductionCuts(cuts); -
trunk/examples/extended/electromagnetic/TestEm8/src/Em8DetectorMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: Em8DetectorMessenger.cc,v 1.8 2007/10/02 10:12:47 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/src/Em8EventAction.cc
r1230 r1337 25 25 // 26 26 // 27 // $Id: Em8EventAction.cc,v 1.1 0 2007/11/12 10:54:49 vnivanchExp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: Em8EventAction.cc,v 1.11 2010/06/06 04:31:28 perl Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // … … 45 45 #include "G4SDManager.hh" 46 46 #include "G4UImanager.hh" 47 #include "G4TrajectoryContainer.hh"48 #include "G4Trajectory.hh"49 #include "G4VVisManager.hh"50 47 #include "G4ios.hh" 51 48 #include "G4UnitsTable.hh" … … 142 139 runaction->FillNbOfSteps(nstep); 143 140 } 144 145 G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance();146 147 if(pVVisManager)148 {149 G4TrajectoryContainer* trajectoryContainer = evt->GetTrajectoryContainer();150 G4int n_trajectories = 0;151 if (trajectoryContainer) n_trajectories = trajectoryContainer->entries();152 for(G4int i=0; i<n_trajectories; i++)153 { G4Trajectory* trj = (G4Trajectory *)((*(evt->GetTrajectoryContainer()))[i]);154 if (drawFlag == "all") trj->DrawTrajectory(50);155 else if ((drawFlag == "charged")&&(trj->GetCharge() != 0.))156 trj->DrawTrajectory(50);157 }158 }159 141 160 142 if(verboselevel>0) -
trunk/examples/extended/electromagnetic/TestEm8/src/Em8EventActionMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: Em8EventActionMessenger.cc,v 1.5 2006/06/29 17:00:15 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/src/Em8PrimaryGeneratorAction.cc
r1230 r1337 26 26 // 27 27 // $Id: Em8PrimaryGeneratorAction.cc,v 1.7 2006/06/29 17:00:18 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/src/Em8PrimaryGeneratorMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: Em8PrimaryGeneratorMessenger.cc,v 1.5 2006/06/29 17:00:21 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/src/Em8RunAction.cc
r1230 r1337 26 26 // 27 27 // $Id: Em8RunAction.cc,v 1.15 2007/11/12 10:54:49 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/src/Em8RunMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: Em8RunMessenger.cc,v 1.7 2006/06/29 17:00:25 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/src/Em8SteppingAction.cc
r1230 r1337 26 26 // 27 27 // $Id: Em8SteppingAction.cc,v 1.10 2007/11/12 10:54:49 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/src/Em8SteppingVerbose.cc
r1230 r1337 26 26 // 27 27 // $Id: Em8SteppingVerbose.cc,v 1.8 2006/06/29 17:00:29 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/src/PhysicsList.cc
r1230 r1337 25 25 // 26 26 // 27 // $Id: PhysicsList.cc,v 1.1 6 2008/12/05 17:46:12vnivanch Exp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: PhysicsList.cc,v 1.19 2010/06/04 17:08:15 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 … … 61 61 PhysicsList::PhysicsList() : G4VModularPhysicsList() 62 62 { 63 G4LossTableManager::Instance(); 63 em_config = G4LossTableManager::Instance()->EmConfigurator(); 64 G4LossTableManager::Instance()->SetVerbose(1); 64 65 defaultCutValue = 1.*mm; 65 66 cutForGamma = defaultCutValue; … … 88 89 delete generalPhysicsList; 89 90 delete emPhysicsList; 90 for(size_t i=0; i<hadronPhys.size(); i++) delete hadronPhys[i];91 for(size_t i=0; i<hadronPhys.size(); ++i) { delete hadronPhys[i]; } 91 92 delete stepMaxProcess; 92 93 } … … 105 106 AddTransportation(); 106 107 emPhysicsList->ConstructProcess(); 107 em_config.AddModels();108 108 generalPhysicsList->ConstructProcess(); 109 for(size_t i=0; i<hadronPhys.size(); i++) hadronPhys[i]->ConstructProcess();109 for(size_t i=0; i<hadronPhys.size(); ++i) { hadronPhys[i]->ConstructProcess(); } 110 110 AddStepMax(); 111 111 } … … 196 196 SetCutValue(cutForPositron, "e+"); 197 197 198 if ( verboseLevel > 0 ) DumpCutValuesTable();198 if ( verboseLevel > 0 ) { DumpCutValuesTable(); } 199 199 } 200 200 … … 256 256 if(modname == "pai") { 257 257 G4PAIModel* pai = new G4PAIModel(part,"PAIModel"); 258 em_config .SetExtraEmModel(partname,procname,pai,"VertexDetector",258 em_config->SetExtraEmModel(partname,procname,pai,"GasDetector", 259 259 0.0,100.*TeV,pai); 260 260 } else if(modname == "pai_photon") { 261 261 G4PAIPhotonModel* pai = new G4PAIPhotonModel(part,"PAIPhotModel"); 262 em_config .SetExtraEmModel(partname,procname,pai,"VertexDetector",262 em_config->SetExtraEmModel(partname,procname,pai,"GasDetector", 263 263 0.0,100.*TeV,pai); 264 264 } -
trunk/examples/extended/electromagnetic/TestEm8/src/PhysicsListMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: PhysicsListMessenger.cc,v 1.2 2006/06/29 17:00:47 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm8/src/StepMax.cc
r1230 r1337 25 25 // 26 26 // $Id: StepMax.cc,v 1.3 2006/06/29 17:00:49 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm8/src/StepMaxMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: StepMaxMessenger.cc,v 1.2 2006/06/29 17:00:52 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
Note: See TracChangeset
for help on using the changeset viewer.