Changeset 1337 for trunk/examples/extended/field/field03/src
- Timestamp:
- Sep 30, 2010, 2:47:17 PM (15 years ago)
- Location:
- trunk/examples/extended/field/field03/src
- Files:
-
- 18 edited
-
F03CalorHit.cc (modified) (1 diff)
-
F03CalorimeterSD.cc (modified) (1 diff)
-
F03DetectorConstruction.cc (modified) (1 diff)
-
F03DetectorMessenger.cc (modified) (1 diff)
-
F03EventAction.cc (modified) (3 diffs)
-
F03EventActionMessenger.cc (modified) (1 diff)
-
F03FieldMessenger.cc (modified) (1 diff)
-
F03FieldSetup.cc (modified) (1 diff)
-
F03PhysicsList.cc (modified) (5 diffs)
-
F03PhysicsListMessenger.cc (modified) (1 diff)
-
F03PrimaryGeneratorAction.cc (modified) (1 diff)
-
F03PrimaryGeneratorMessenger.cc (modified) (1 diff)
-
F03RunAction.cc (modified) (1 diff)
-
F03RunMessenger.cc (modified) (1 diff)
-
F03StepCut.cc (modified) (1 diff)
-
F03SteppingAction.cc (modified) (1 diff)
-
F03SteppingMessenger.cc (modified) (1 diff)
-
F03SteppingVerbose.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/field/field03/src/F03CalorHit.cc
r1230 r1337 26 26 // 27 27 // $Id: F03CalorHit.cc,v 1.4 2006/06/29 17:19:17 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/field03/src/F03CalorimeterSD.cc
r1230 r1337 26 26 // 27 27 // $Id: F03CalorimeterSD.cc,v 1.6 2006/06/29 17:19: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/field/field03/src/F03DetectorConstruction.cc
r1230 r1337 26 26 // 27 27 // $Id: F03DetectorConstruction.cc,v 1.13 2009/11/05 01:10:06 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/field03/src/F03DetectorMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: F03DetectorMessenger.cc,v 1.5 2006/06/29 17:19:26 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/field03/src/F03EventAction.cc
r1230 r1337 25 25 // 26 26 // 27 // $Id: F03EventAction.cc,v 1. 6 2006/06/29 17:19:28 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: F03EventAction.cc,v 1.7 2010/06/06 04:56:36 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 F03EventAction::EndOfEventAction(const G4Event* evt) 92 89 { 93 G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance();94 95 if(pVVisManager)96 {97 G4TrajectoryContainer* trajectoryContainer = evt->GetTrajectoryContainer();98 G4int n_trajectories = 0;99 if (trajectoryContainer) n_trajectories = trajectoryContainer->entries();100 for(G4int i=0; i<n_trajectories; i++)101 { G4Trajectory* trj = (G4Trajectory *)((*(evt->GetTrajectoryContainer()))[i]);102 if (drawFlag == "all") trj->DrawTrajectory(50);103 else if ((drawFlag == "charged")&&(trj->GetCharge() != 0.))104 trj->DrawTrajectory(50);105 }106 }107 108 90 if(verboselevel>0) 109 91 G4cout << "<<< Event " << evt->GetEventID() << " ended." << G4endl; -
trunk/examples/extended/field/field03/src/F03EventActionMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: F03EventActionMessenger.cc,v 1.4 2006/06/29 17:19:30 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/field03/src/F03FieldMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: F03FieldMessenger.cc,v 1.7 2006/06/29 17:19:32 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/field03/src/F03FieldSetup.cc
r1230 r1337 26 26 // 27 27 // $Id: F03FieldSetup.cc,v 1.5 2007/04/28 01:31:12 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/field03/src/F03PhysicsList.cc
r1230 r1337 25 25 // 26 26 // 27 // $Id: F03PhysicsList.cc,v 1.1 1 2007/05/23 13:39:16 tnikitinExp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: F03PhysicsList.cc,v 1.13 2010/04/08 14:12:20 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 … … 55 55 F03PhysicsList::F03PhysicsList(F03DetectorConstruction* 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" … … 248 249 249 250 G4MuIonisation* themuIonisation = new G4MuIonisation() ; 250 pmanager->AddProcess(new G4Mu ltipleScattering(),-1,1,1);251 pmanager->AddProcess(new G4MuMultipleScattering(),-1,1,1); 251 252 pmanager->AddProcess(themuIonisation,-1,2,2); 252 253 pmanager->AddProcess(new G4MuBremsstrahlung(),-1,-1,3); … … 267 268 268 269 G4hIonisation* thehIonisation = new G4hIonisation() ; 269 G4 MultipleScattering* thehMultipleScattering =270 new G4 MultipleScattering() ;270 G4hMultipleScattering* thehMultipleScattering = 271 new G4hMultipleScattering() ; 271 272 272 273 -
trunk/examples/extended/field/field03/src/F03PhysicsListMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: F03PhysicsListMessenger.cc,v 1.5 2006/06/29 17:19:40 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/field03/src/F03PrimaryGeneratorAction.cc
r1230 r1337 26 26 // 27 27 // $Id: F03PrimaryGeneratorAction.cc,v 1.6 2006/06/29 17:19:42 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/field03/src/F03PrimaryGeneratorMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: F03PrimaryGeneratorMessenger.cc,v 1.5 2006/06/29 17:19: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/field/field03/src/F03RunAction.cc
r1230 r1337 26 26 // 27 27 // $Id: F03RunAction.cc,v 1.9 2006/06/29 17:19:46 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/field03/src/F03RunMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: F03RunMessenger.cc,v 1.6 2006/06/29 17:19:48 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/field03/src/F03StepCut.cc
r1230 r1337 26 26 // 27 27 // $Id: F03StepCut.cc,v 1.3 2006/06/29 17:19: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/field03/src/F03SteppingAction.cc
r1230 r1337 26 26 // 27 27 // $Id: F03SteppingAction.cc,v 1.6 2006/06/29 17:19: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/field03/src/F03SteppingMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: F03SteppingMessenger.cc,v 1.5 2006/06/29 17:19:56 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/field03/src/F03SteppingVerbose.cc
r1230 r1337 26 26 // 27 27 // $Id: F03SteppingVerbose.cc,v 1.5 2006/06/29 17:19: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 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
Note:
See TracChangeset
for help on using the changeset viewer.
