Changeset 1337 for trunk/examples/extended/field/field01/src
- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- Location:
- trunk/examples/extended/field/field01/src
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/field/field01/src/F01CalorHit.cc
r1230 r1337 26 26 // 27 27 // $Id: F01CalorHit.cc,v 1.4 2006/06/29 17:16: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/field/field01/src/F01CalorimeterSD.cc
r1230 r1337 26 26 // 27 27 // $Id: F01CalorimeterSD.cc,v 1.6 2006/06/29 17:16:23 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/field/field01/src/F01DetectorConstruction.cc
r1230 r1337 26 26 // 27 27 // $Id: F01DetectorConstruction.cc,v 1.16 2009/11/05 01:07:41 gum 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/field/field01/src/F01DetectorMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: F01DetectorMessenger.cc,v 1.5 2006/06/29 17:16:27 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/field/field01/src/F01EventAction.cc
r1230 r1337 25 25 // 26 26 // 27 // $Id: F01EventAction.cc,v 1. 6 2006/06/29 17:16:29 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: F01EventAction.cc,v 1.7 2010/06/06 04:55:22 perl Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // … … 45 45 #include "G4VHitsCollection.hh" 46 46 #include "G4SDManager.hh" 47 #include "G4TrajectoryContainer.hh"48 #include "G4Trajectory.hh"49 #include "G4VVisManager.hh"50 47 #include "G4ios.hh" 51 48 #include "G4UnitsTable.hh" … … 91 88 void F01EventAction::EndOfEventAction(const G4Event* evt) 92 89 { 93 94 G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance();95 96 if(pVVisManager)97 {98 G4TrajectoryContainer* trajectoryContainer = evt->GetTrajectoryContainer();99 G4int n_trajectories = 0;100 if (trajectoryContainer) n_trajectories = trajectoryContainer->entries();101 for(G4int i=0; i<n_trajectories; i++)102 { G4Trajectory* trj = (G4Trajectory *)((*(evt->GetTrajectoryContainer()))[i]);103 if (drawFlag == "all") trj->DrawTrajectory(50);104 else if ((drawFlag == "charged")&&(trj->GetCharge() != 0.))105 trj->DrawTrajectory(50);106 }107 }108 109 90 if(verboselevel>0) 110 91 G4cout << "<<< Event " << evt->GetEventID() << " ended." << G4endl; -
trunk/examples/extended/field/field01/src/F01EventActionMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: F01EventActionMessenger.cc,v 1.4 2006/06/29 17:16: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/field/field01/src/F01FieldMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: F01FieldMessenger.cc,v 1.8 2006/06/29 17:16: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/field/field01/src/F01FieldSetup.cc
r1230 r1337 26 26 // 27 27 // $Id: F01FieldSetup.cc,v 1.7 2006/06/29 17:16:36 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 // User Field setup class implementation. -
trunk/examples/extended/field/field01/src/F01PhysicsList.cc
r1230 r1337 25 25 // 26 26 // 27 // $Id: F01PhysicsList.cc,v 1.1 2 2007/05/23 09:14:09 japostExp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: F01PhysicsList.cc,v 1.15 2010/04/08 14:09:44 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 … … 55 55 F01PhysicsList::F01PhysicsList(F01DetectorConstruction* p) 56 56 : G4VUserPhysicsList(), MaxChargedStep(DBL_MAX), 57 thePhotoElectricEffect(0), theComptonScattering(0), theGammaConversion(0), 58 theeminusMultipleScattering(0), theeminusIonisation(0), 59 theeminusBremsstrahlung(0), 60 theeplusMultipleScattering(0),theeplusIonisation(0), 57 thePhotoElectricEffect(0), theComptonScattering(0), 58 theGammaConversion(0), theeminusIonisation(0), 59 theeminusBremsstrahlung(0), theeplusIonisation(0), 61 60 theeplusBremsstrahlung(0), theeplusAnnihilation(0), 62 61 theeminusStepCut(0),theeplusStepCut(0) … … 173 172 #include "G4PhotoElectricEffect.hh" 174 173 175 #include "G4MultipleScattering.hh" 174 #include "G4eMultipleScattering.hh" 175 #include "G4MuMultipleScattering.hh" 176 #include "G4hMultipleScattering.hh" 176 177 177 178 #include "G4eIonisation.hh" … … 215 216 // Construct processes for electron 216 217 217 // theeminusMultipleScattering = new G4 MultipleScattering();218 // theeminusMultipleScattering = new G4eMultipleScattering(); 218 219 theeminusIonisation = new G4eIonisation(); 219 220 theeminusBremsstrahlung = new G4eBremsstrahlung(); … … 238 239 // Construct processes for positron 239 240 240 // theeplusMultipleScattering = new G4 MultipleScattering();241 // theeplusMultipleScattering = new G4eMultipleScattering(); 241 242 theeplusIonisation = new G4eIonisation(); 242 243 theeplusBremsstrahlung = new G4eBremsstrahlung(); … … 264 265 265 266 G4MuIonisation* themuIonisation = new G4MuIonisation() ; 266 pmanager->AddProcess(new G4Mu ltipleScattering(),-1,1,1);267 pmanager->AddProcess(new G4MuMultipleScattering(),-1,1,1); 267 268 pmanager->AddProcess(themuIonisation,-1,2,2); 268 269 pmanager->AddProcess(new G4MuBremsstrahlung(),-1,-1,3); … … 285 286 286 287 G4hIonisation* thehIonisation = new G4hIonisation() ; 287 G4 MultipleScattering* thehMultipleScattering =288 new G4 MultipleScattering() ;288 G4hMultipleScattering* thehMultipleScattering = 289 new G4hMultipleScattering() ; 289 290 290 291 -
trunk/examples/extended/field/field01/src/F01PhysicsListMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: F01PhysicsListMessenger.cc,v 1.6 2006/06/29 17:16:41 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/field/field01/src/F01PrimaryGeneratorAction.cc
r1230 r1337 26 26 // 27 27 // $Id: F01PrimaryGeneratorAction.cc,v 1.8 2006/06/29 17:16:43 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/field/field01/src/F01PrimaryGeneratorMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: F01PrimaryGeneratorMessenger.cc,v 1.5 2006/06/29 17:16:45 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/field/field01/src/F01RunAction.cc
r1230 r1337 26 26 // 27 27 // $Id: F01RunAction.cc,v 1.10 2006/06/29 17:16: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/field/field01/src/F01RunMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: F01RunMessenger.cc,v 1.6 2006/06/29 17:16:51 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/field/field01/src/F01StepCut.cc
r1230 r1337 26 26 // 27 27 // $Id: F01StepCut.cc,v 1.3 2006/06/29 17:16:53 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/field/field01/src/F01SteppingAction.cc
r1230 r1337 26 26 // 27 27 // $Id: F01SteppingAction.cc,v 1.7 2006/06/29 17:16: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/field/field01/src/F01SteppingMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: F01SteppingMessenger.cc,v 1.4 2006/06/29 17:16: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/field/field01/src/F01SteppingVerbose.cc
r1230 r1337 26 26 // 27 27 // $Id: F01SteppingVerbose.cc,v 1.7 2006/06/29 17:17:00 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.....
Note: See TracChangeset
for help on using the changeset viewer.