Changeset 1337 for trunk/examples/extended/field/field02/src
- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- Location:
- trunk/examples/extended/field/field02/src
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/field/field02/src/F02CalorHit.cc
r1230 r1337 26 26 // 27 27 // $Id: F02CalorHit.cc,v 1.4 2006/06/29 17:17:50 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/field02/src/F02CalorimeterSD.cc
r1230 r1337 26 26 // 27 27 // $Id: F02CalorimeterSD.cc,v 1.6 2006/06/29 17:17: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/field/field02/src/F02DetectorConstruction.cc
r1230 r1337 26 26 // 27 27 // $Id: F02DetectorConstruction.cc,v 1.13 2009/11/05 01:08:51 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/field02/src/F02DetectorMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: F02DetectorMessenger.cc,v 1.5 2006/06/29 17:17: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/field/field02/src/F02ElectricFieldSetup.cc
r1230 r1337 26 26 // 27 27 // $Id: F02ElectricFieldSetup.cc,v 1.4 2008/05/14 15:27:29 tnikitin 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/field02/src/F02EventAction.cc
r1230 r1337 25 25 // 26 26 // 27 // $Id: F02EventAction.cc,v 1. 6 2006/06/29 17:18:02 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: F02EventAction.cc,v 1.7 2010/06/06 04:55:59 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 F02EventAction::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/field02/src/F02EventActionMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: F02EventActionMessenger.cc,v 1.5 2006/06/29 17:18: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/field/field02/src/F02FieldMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: F02FieldMessenger.cc,v 1.8 2008/05/14 15:27:13 tnikitin 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/field02/src/F02PhysicsList.cc
r1230 r1337 25 25 // 26 26 // 27 // $Id: F02PhysicsList.cc,v 1.1 1 2007/05/23 13:40:28 tnikitinExp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: F02PhysicsList.cc,v 1.14 2010/04/08 14:11:06 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 … … 56 56 F02PhysicsList::F02PhysicsList(F02DetectorConstruction* p) 57 57 : G4VUserPhysicsList(), MaxChargedStep(DBL_MAX), 58 thePhotoElectricEffect(0), theComptonScattering(0), theGammaConversion(0), 59 theeminusMultipleScattering(0), theeminusIonisation(0), 60 theeminusBremsstrahlung(0), 61 theeplusMultipleScattering(0), theeplusIonisation(0), 58 thePhotoElectricEffect(0), theComptonScattering(0), 59 theGammaConversion(0), theeminusIonisation(0), 60 theeminusBremsstrahlung(0), theeplusIonisation(0), 62 61 theeplusBremsstrahlung(0), theeplusAnnihilation(0), 63 62 theeminusStepCut(0), theeplusStepCut(0) … … 174 173 #include "G4PhotoElectricEffect.hh" 175 174 176 #include "G4MultipleScattering.hh" 175 #include "G4eMultipleScattering.hh" 176 #include "G4MuMultipleScattering.hh" 177 #include "G4hMultipleScattering.hh" 177 178 178 179 #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); … … 269 270 270 271 G4hIonisation* thehIonisation = new G4hIonisation() ; 271 G4 MultipleScattering* thehMultipleScattering =272 new G4 MultipleScattering() ;272 G4hMultipleScattering* thehMultipleScattering = 273 new G4hMultipleScattering() ; 273 274 274 275 -
trunk/examples/extended/field/field02/src/F02PhysicsListMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: F02PhysicsListMessenger.cc,v 1.6 2006/06/29 17:18:13 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/field02/src/F02PrimaryGeneratorAction.cc
r1230 r1337 26 26 // 27 27 // $Id: F02PrimaryGeneratorAction.cc,v 1.5 2006/06/29 17:18: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/field/field02/src/F02PrimaryGeneratorMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: F02PrimaryGeneratorMessenger.cc,v 1.5 2006/06/29 17:18: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/field02/src/F02RunAction.cc
r1230 r1337 26 26 // 27 27 // $Id: F02RunAction.cc,v 1.8 2006/06/29 17:18: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/field02/src/F02RunMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: F02RunMessenger.cc,v 1.6 2006/06/29 17:18: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/field02/src/F02StepCut.cc
r1230 r1337 26 26 // 27 27 // $Id: F02StepCut.cc,v 1.3 2006/06/29 17:18: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/field/field02/src/F02SteppingAction.cc
r1230 r1337 26 26 // 27 27 // $Id: F02SteppingAction.cc,v 1.6 2006/06/29 17:18: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/field02/src/F02SteppingMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: F02SteppingMessenger.cc,v 1.4 2006/06/29 17:18: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/field/field02/src/F02SteppingVerbose.cc
r1230 r1337 26 26 // 27 27 // $Id: F02SteppingVerbose.cc,v 1.6 2006/06/29 17:18: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 //
Note: See TracChangeset
for help on using the changeset viewer.