Changeset 1337 for trunk/examples/extended/electromagnetic/TestEm10/src
- Timestamp:
- Sep 30, 2010, 2:47:17 PM (15 years ago)
- Location:
- trunk/examples/extended/electromagnetic/TestEm10/src
- Files:
-
- 17 edited
-
Em10CalorHit.cc (modified) (1 diff)
-
Em10CalorimeterSD.cc (modified) (1 diff)
-
Em10DetectorConstruction.cc (modified) (1 diff)
-
Em10DetectorMessenger.cc (modified) (1 diff)
-
Em10EventAction.cc (modified) (3 diffs)
-
Em10EventActionMessenger.cc (modified) (1 diff)
-
Em10PhysicsList.cc (modified) (10 diffs)
-
Em10PhysicsListMessenger.cc (modified) (1 diff)
-
Em10PrimaryGeneratorAction.cc (modified) (1 diff)
-
Em10PrimaryGeneratorMessenger.cc (modified) (1 diff)
-
Em10RunAction.cc (modified) (1 diff)
-
Em10RunMessenger.cc (modified) (1 diff)
-
Em10StepCut.cc (modified) (1 diff)
-
Em10SteppingAction.cc (modified) (1 diff)
-
Em10SteppingMessenger.cc (modified) (1 diff)
-
Em10SteppingVerbose.cc (modified) (1 diff)
-
StepMax.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/electromagnetic/TestEm10/src/Em10CalorHit.cc
r1230 r1337 26 26 // 27 27 // $Id: Em10CalorHit.cc,v 1.4 2006/06/29 16:38:31 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/TestEm10/src/Em10CalorimeterSD.cc
r1230 r1337 26 26 // 27 27 // $Id: Em10CalorimeterSD.cc,v 1.4 2006/06/29 16:38:33 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/TestEm10/src/Em10DetectorConstruction.cc
r1230 r1337 26 26 // 27 27 // $Id: Em10DetectorConstruction.cc,v 1.32 2007/07/27 17:52:04 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/TestEm10/src/Em10DetectorMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: Em10DetectorMessenger.cc,v 1.11 2006/06/29 16:38:38 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/TestEm10/src/Em10EventAction.cc
r1230 r1337 25 25 // 26 26 // 27 // $Id: Em10EventAction.cc,v 1. 6 2006/06/29 16:38:41 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: Em10EventAction.cc,v 1.7 2010/06/06 04:33:02 perl Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // … … 46 46 #include "G4SDManager.hh" 47 47 #include "G4UImanager.hh" 48 #include "G4TrajectoryContainer.hh"49 #include "G4Trajectory.hh"50 #include "G4VVisManager.hh"51 48 #include "G4ios.hh" 52 49 #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/TestEm10/src/Em10EventActionMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: Em10EventActionMessenger.cc,v 1.4 2006/06/29 16:38:44 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/TestEm10/src/Em10PhysicsList.cc
r1230 r1337 25 25 // 26 26 // 27 // $Id: Em10PhysicsList.cc,v 1.2 4 2006/06/29 16:38:49 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: Em10PhysicsList.cc,v 1.25 2009/11/21 16:12:01 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 … … 43 43 #include <iomanip> 44 44 45 #include "G4FastSimulationManagerProcess.hh"46 47 45 #include "G4Region.hh" 48 46 #include "G4RegionStore.hh" … … 50 48 #include "G4ProductionCuts.hh" 51 49 #include "G4EmProcessOptions.hh" 50 51 #include "G4ComptonScattering.hh" 52 #include "G4GammaConversion.hh" 53 #include "G4PhotoElectricEffect.hh" 54 55 #include "G4eMultipleScattering.hh" 56 #include "G4MuMultipleScattering.hh" 57 #include "G4hMultipleScattering.hh" 58 59 #include "G4eIonisation.hh" 60 #include "G4eBremsstrahlung.hh" 61 #include "G4eplusAnnihilation.hh" 62 #include "G4PAIModel.hh" 63 #include "G4PAIPhotonModel.hh" 64 65 #include "G4SynchrotronRadiation.hh" 66 67 #include "G4MuIonisation.hh" 68 #include "G4MuBremsstrahlung.hh" 69 #include "G4MuPairProduction.hh" 70 71 #include "G4hIonisation.hh" 72 73 #include "G4Decay.hh" 74 75 #include "G4VXTRenergyLoss.hh" 76 #include "G4RegularXTRadiator.hh" 77 #include "G4TransparentRegXTRadiator.hh" 78 #include "G4GammaXTRadiator.hh" 79 #include "G4StrawTubeXTRadiator.hh" 80 81 #include "G4XTRGammaRadModel.hh" 82 #include "G4XTRRegularRadModel.hh" 83 #include "G4XTRTransparentRegRadModel.hh" 84 #include "Em10XTRTransparentRegRadModel.hh" 85 86 #include "Em10StepCut.hh" 52 87 53 88 ///////////////////////////////////////////////////////////// … … 155 190 { 156 191 AddTransportation(); 157 158 // AddParameterisation();159 160 192 ConstructEM(); 161 193 ConstructGeneral(); … … 165 197 // 166 198 // 167 168 #include "G4ComptonScattering.hh"169 #include "G4GammaConversion.hh"170 #include "G4PhotoElectricEffect.hh"171 172 #include "G4MultipleScattering.hh"173 174 #include "G4eIonisation.hh"175 #include "G4eBremsstrahlung.hh"176 #include "G4eplusAnnihilation.hh"177 #include "G4PAIModel.hh"178 #include "G4PAIPhotonModel.hh"179 180 #include "G4SynchrotronRadiation.hh"181 182 #include "G4MuIonisation.hh"183 #include "G4MuBremsstrahlung.hh"184 #include "G4MuPairProduction.hh"185 186 #include "G4hIonisation.hh"187 188 // #include "G4ForwardXrayTR.hh"189 #include "G4VXTRenergyLoss.hh"190 #include "G4RegularXTRadiator.hh"191 #include "G4TransparentRegXTRadiator.hh"192 #include "G4GammaXTRadiator.hh"193 #include "G4StrawTubeXTRadiator.hh"194 195 #include "G4XTRGammaRadModel.hh"196 #include "G4XTRRegularRadModel.hh"197 #include "G4XTRTransparentRegRadModel.hh"198 #include "Em10XTRTransparentRegRadModel.hh"199 200 #include "Em10StepCut.hh"201 199 202 200 void Em10PhysicsList::ConstructEM() … … 331 329 eioni->AddEmModel(0,pai,pai,gas); 332 330 333 pmanager->AddProcess(new G4 MultipleScattering,-1,1,1);331 pmanager->AddProcess(new G4eMultipleScattering,-1,1,1); 334 332 pmanager->AddProcess(eioni,-1,2,2); 335 333 pmanager->AddProcess(new G4eBremsstrahlung,-1,3,3); … … 349 347 eioni->AddEmModel(0,pai,pai,gas); 350 348 351 pmanager->AddProcess(new G4 MultipleScattering,-1,1,1);349 pmanager->AddProcess(new G4eMultipleScattering,-1,1,1); 352 350 pmanager->AddProcess(eioni,-1,2,2); 353 351 pmanager->AddProcess(new G4eBremsstrahlung,-1,3,3); … … 371 369 muioni->AddEmModel(0,pai,pai,gas); 372 370 373 pmanager->AddProcess(new G4Mu ltipleScattering(),-1,1,1);371 pmanager->AddProcess(new G4MuMultipleScattering(),-1,1,1); 374 372 pmanager->AddProcess(muioni,-1,2,2); 375 373 pmanager->AddProcess(new G4MuBremsstrahlung(),-1,3,3); … … 394 392 thehIonisation->AddEmModel(0,pai,pai,gas); 395 393 396 pmanager->AddProcess(new G4 MultipleScattering,-1,1,1);394 pmanager->AddProcess(new G4hMultipleScattering,-1,1,1); 397 395 pmanager->AddProcess(thehIonisation,-1,2,2); 398 396 pmanager->AddProcess( thehadronStepCut,-1,-1,3); … … 404 402 } 405 403 406 #include "G4Decay.hh"407 408 404 void Em10PhysicsList::ConstructGeneral() 409 405 { 410 406 // Add Decay Process 411 407 412 G4Decay* theDecayProcess = new G4Decay();408 G4Decay* theDecayProcess = new G4Decay(); 413 409 theParticleIterator->reset(); 414 410 -
trunk/examples/extended/electromagnetic/TestEm10/src/Em10PhysicsListMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: Em10PhysicsListMessenger.cc,v 1.9 2006/06/29 16:38:52 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/TestEm10/src/Em10PrimaryGeneratorAction.cc
r1230 r1337 26 26 // 27 27 // $Id: Em10PrimaryGeneratorAction.cc,v 1.6 2006/06/29 16:38:55 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/TestEm10/src/Em10PrimaryGeneratorMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: Em10PrimaryGeneratorMessenger.cc,v 1.4 2006/06/29 16:38:57 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/TestEm10/src/Em10RunAction.cc
r1230 r1337 26 26 // 27 27 // $Id: Em10RunAction.cc,v 1.9 2006/06/29 16:38:59 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/TestEm10/src/Em10RunMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: Em10RunMessenger.cc,v 1.5 2006/06/29 16:39: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/TestEm10/src/Em10StepCut.cc
r1230 r1337 26 26 // 27 27 // $Id: Em10StepCut.cc,v 1.3 2006/06/29 16:39:04 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/TestEm10/src/Em10SteppingAction.cc
r1230 r1337 26 26 // 27 27 // $Id: Em10SteppingAction.cc,v 1.6 2006/06/29 16:39:06 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/TestEm10/src/Em10SteppingMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: Em10SteppingMessenger.cc,v 1.4 2006/06/29 16:39:09 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/TestEm10/src/Em10SteppingVerbose.cc
r1230 r1337 26 26 // 27 27 // $Id: Em10SteppingVerbose.cc,v 1.6 2006/06/29 16:39: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 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo..... -
trunk/examples/extended/electromagnetic/TestEm10/src/StepMax.cc
r1230 r1337 25 25 // 26 26 // $Id: StepMax.cc,v 1.2 2006/06/29 16:39:16 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 ///////////////////////////////////////////////////////////////////////////
Note:
See TracChangeset
for help on using the changeset viewer.
