Changeset 1337 for trunk/examples/extended/polarisation/Pol01/src
- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- Location:
- trunk/examples/extended/polarisation/Pol01/src
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/polarisation/Pol01/src/DetectorConstruction.cc
r1230 r1337 25 25 // 26 26 // $Id: DetectorConstruction.cc,v 1.2 2006/10/02 16:25:55 vnivanch 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/polarisation/Pol01/src/DetectorMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: DetectorMessenger.cc,v 1.2 2006/10/02 16:25:55 vnivanch 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/polarisation/Pol01/src/EventAction.cc
r1230 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: EventAction.cc,v 1. 1 2006/10/02 13:48:10 vnivanchExp $27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $26 // $Id: EventAction.cc,v 1.3 2010/06/07 05:40:46 perl Exp $ 27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 35 35 36 36 #include "G4Event.hh" 37 #include "G4TrajectoryContainer.hh"38 #include "G4Trajectory.hh"39 #include "G4VVisManager.hh"40 37 #include "G4UnitsTable.hh" 41 38 #include "RunAction.hh" … … 68 65 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 69 66 70 void EventAction::EndOfEventAction(const G4Event* evt)67 void EventAction::EndOfEventAction(const G4Event*) 71 68 { 72 69 if (runAction) runAction->EventFinished(); 73 74 if (G4VVisManager::GetConcreteInstance())75 {76 G4TrajectoryContainer* trajectoryContainer = evt->GetTrajectoryContainer();77 G4int n_trajectories = 0;78 if (trajectoryContainer) n_trajectories = trajectoryContainer->entries();79 for (G4int i=0; i<n_trajectories; i++) {80 G4Trajectory* trj = (G4Trajectory*)81 ((*(evt->GetTrajectoryContainer()))[i]);82 trj->DrawTrajectory(1000);83 }84 }85 70 } 86 71 -
trunk/examples/extended/polarisation/Pol01/src/EventActionMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: EventActionMessenger.cc,v 1.1 2006/10/02 13:48:10 vnivanch 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/polarisation/Pol01/src/HistoManager.cc
r1230 r1337 25 25 // 26 26 // $Id: HistoManager.cc,v 1.3 2006/11/17 11:44:46 vnivanch 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/polarisation/Pol01/src/HistoMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: HistoMessenger.cc,v 1.1 2006/10/02 13:48:10 vnivanch 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/polarisation/Pol01/src/PhysListEmPolarized.cc
r1230 r1337 25 25 // 26 26 // 27 // $Id: PhysListEmPolarized.cc,v 1. 2 2007/11/01 17:34:53 schaelicExp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: PhysListEmPolarized.cc,v 1.3 2009/11/21 16:27:40 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 39 39 #include "G4PhotoElectricEffect.hh" 40 40 41 #include "G4 MultipleScattering.hh"41 #include "G4eMultipleScattering.hh" 42 42 43 43 #include "G4eIonisation.hh" … … 83 83 else if (particleName == "e-") { 84 84 //electron 85 pmanager->AddProcess(new G4 MultipleScattering, -1,1,1);86 pmanager->AddProcess(new G4ePolarizedIonisation, -1,2,2);85 pmanager->AddProcess(new G4eMultipleScattering, -1,1,1); 86 pmanager->AddProcess(new G4ePolarizedIonisation, -1,2,2); 87 87 pmanager->AddProcess(new G4ePolarizedBremsstrahlung, -1,3,3); 88 88 } 89 89 else if (particleName == "e+") { 90 90 //positron 91 pmanager->AddProcess(new G4 MultipleScattering,-1, 1,1);91 pmanager->AddProcess(new G4eMultipleScattering, -1, 1,1); 92 92 pmanager->AddProcess(new G4ePolarizedIonisation, -1, 2,2); 93 93 pmanager->AddProcess(new G4ePolarizedBremsstrahlung, -1, 3,3); … … 105 105 } else if (particleName == "e-") { 106 106 //electron 107 pmanager->AddProcess(new G4 MultipleScattering,-1, 1,1);107 pmanager->AddProcess(new G4eMultipleScattering,-1, 1,1); 108 108 pmanager->AddProcess(new G4eIonisation, -1, 2,2); 109 109 pmanager->AddProcess(new G4eBremsstrahlung, -1, 3,3); … … 111 111 } else if (particleName == "e+") { 112 112 //positron 113 pmanager->AddProcess(new G4 MultipleScattering,-1, 1,1);113 pmanager->AddProcess(new G4eMultipleScattering,-1, 1,1); 114 114 pmanager->AddProcess(new G4eIonisation, -1, 2,2); 115 115 pmanager->AddProcess(new G4eBremsstrahlung, -1, 3,3); -
trunk/examples/extended/polarisation/Pol01/src/PhysListEmStandard.cc
r1230 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: PhysListEmStandard.cc,v 1. 2 2006/10/02 16:25:55vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $26 // $Id: PhysListEmStandard.cc,v 1.3 2009/11/21 16:27:40 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 38 38 #include "G4PhotoElectricEffect.hh" 39 39 40 #include "G4MultipleScattering.hh" 40 #include "G4eMultipleScattering.hh" 41 #include "G4MuMultipleScattering.hh" 42 #include "G4hMultipleScattering.hh" 41 43 42 44 #include "G4eIonisation.hh" … … 82 84 } else if (particleName == "e-") { 83 85 //electron 84 pmanager->AddProcess(new G4 MultipleScattering,-1, 1, 1);86 pmanager->AddProcess(new G4eMultipleScattering, -1, 1, 1); 85 87 pmanager->AddProcess(new G4eIonisation, -1, 2, 2); 86 88 pmanager->AddProcess(new G4eBremsstrahlung(), -1, 3, 3); … … 88 90 } else if (particleName == "e+") { 89 91 //positron 90 pmanager->AddProcess(new G4 MultipleScattering,-1, 1, 1);92 pmanager->AddProcess(new G4eMultipleScattering, -1, 1, 1); 91 93 pmanager->AddProcess(new G4eIonisation, -1, 2, 2); 92 94 pmanager->AddProcess(new G4eBremsstrahlung(), -1, 3, 3); … … 96 98 particleName == "mu-" ) { 97 99 //muon 98 pmanager->AddProcess(new G4Mu ltipleScattering, -1, 1,1);100 pmanager->AddProcess(new G4MuMultipleScattering, -1, 1,1); 99 101 pmanager->AddProcess(new G4MuIonisation, -1, 2,2); 100 102 pmanager->AddProcess(new G4MuBremsstrahlung, -1, 3,3); … … 104 106 particleName == "He3" || 105 107 particleName == "GenericIon" ) { 106 pmanager->AddProcess(new G4 MultipleScattering,-1, 1,1);107 pmanager->AddProcess(new G4ionIonisation, -1, 2,2);108 pmanager->AddProcess(new G4hMultipleScattering, -1, 1,1); 109 pmanager->AddProcess(new G4ionIonisation, -1, 2,2); 108 110 109 111 } else if ((!particle->IsShortLived()) && … … 111 113 (particle->GetParticleName() != "chargedgeantino")) { 112 114 //all others charged particles except geantino 113 pmanager->AddProcess(new G4 MultipleScattering, -1,1,1);114 pmanager->AddProcess(new G4hIonisation, -1,2,2);115 pmanager->AddProcess(new G4hMultipleScattering, -1,1,1); 116 pmanager->AddProcess(new G4hIonisation, -1,2,2); 115 117 } 116 118 } -
trunk/examples/extended/polarisation/Pol01/src/PhysicsList.cc
r1230 r1337 26 26 // 27 27 // $Id: PhysicsList.cc,v 1.2 2006/10/02 16:25:55 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 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/polarisation/Pol01/src/PhysicsListMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: PhysicsListMessenger.cc,v 1.1 2006/10/02 13:48:10 vnivanch 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/polarisation/Pol01/src/PrimaryGeneratorAction.cc
r1230 r1337 25 25 // 26 26 // $Id: PrimaryGeneratorAction.cc,v 1.1 2006/10/02 13:48:10 vnivanch 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/polarisation/Pol01/src/RunAction.cc
r1230 r1337 25 25 // 26 26 // $Id: RunAction.cc,v 1.3 2006/11/17 11:44:46 vnivanch 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/polarisation/Pol01/src/StepMax.cc
r1230 r1337 25 25 // 26 26 // $Id: StepMax.cc,v 1.1 2006/10/02 13:48:10 vnivanch 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/polarisation/Pol01/src/StepMaxMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: StepMaxMessenger.cc,v 1.1 2006/10/02 13:48:10 vnivanch 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/polarisation/Pol01/src/SteppingAction.cc
r1230 r1337 25 25 // 26 26 // $Id: SteppingAction.cc,v 1.1 2006/10/02 13:48:10 vnivanch 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.