Changeset 1337 for trunk/examples/extended/parallel/ParN02
- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- Location:
- trunk/examples/extended/parallel/ParN02
- Files:
-
- 32 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/parallel/ParN02/AnnotatedFiles/G4HCofThisEvent.hh
r1230 r1337 26 26 // 27 27 // $Id: G4HCofThisEvent.hh,v 1.3 2006/06/29 17:33: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/parallel/ParN02/AnnotatedFiles/G4THitsCollection.hh
r1230 r1337 26 26 // 27 27 // $Id: G4THitsCollection.hh,v 1.3 2006/06/29 17:33: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/parallel/ParN02/AnnotatedFiles/G4VHitsCollection.hh
r1230 r1337 26 26 // 27 27 // $Id: G4VHitsCollection.hh,v 1.3 2006/06/29 17:34: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 -
trunk/examples/extended/parallel/ParN02/GNUmakefile
r807 r1337 1 # $Id: GNUmakefile,v 1. 1 2002/03/05 15:21:51gcosmo Exp $1 # $Id: GNUmakefile,v 1.2 2010/01/11 16:56:29 gcosmo Exp $ 2 2 # -------------------------------------------------------------- 3 3 # GNUmakefile for examples module. Gabriele Cosmo, 06/04/98. … … 11 11 12 12 ifndef G4INSTALL 13 G4INSTALL = ../../.. 13 G4INSTALL = ../../../.. 14 14 endif 15 15 -
trunk/examples/extended/parallel/ParN02/History
r807 r1337 1 $Id: History,v 1.1 2 2006/07/05 12:47:48 gcosmoExp $1 $Id: History,v 1.13 2010/06/06 05:08:01 perl Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 15 15 * Reverse chronological order (last date on top), please * 16 16 ---------------------------------------------------------- 17 18 June 2, 2010 - J.Perl - ParN02-V09-03-00 19 ------------------------- 20 - Updated vis usage 17 21 18 22 Jul 5th, 2006 G.Cosmo - ParN02-V08-01-00 -
trunk/examples/extended/parallel/ParN02/ParN02.cc
r1230 r1337 26 26 // 27 27 // $Id: ParN02.cc,v 1.5 2006/07/05 12:45:59 gcosmo 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/parallel/ParN02/ParTopC.icc
r1230 r1337 25 25 // 26 26 // $Id: ParTopC.icc,v 1.2 2006/06/29 17:33:49 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 // -------------------------------------------------------------------- -
trunk/examples/extended/parallel/ParN02/include/ExN02ChamberParameterisation.hh
r1230 r1337 26 26 // 27 27 // $Id: ExN02ChamberParameterisation.hh,v 1.4 2006/06/29 17:34:02 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/parallel/ParN02/include/ExN02DetectorConstruction.hh
r1230 r1337 26 26 // 27 27 // $Id: ExN02DetectorConstruction.hh,v 1.2 2006/06/29 17:34: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 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/parallel/ParN02/include/ExN02DetectorMessenger.hh
r1230 r1337 26 26 // 27 27 // $Id: ExN02DetectorMessenger.hh,v 1.3 2006/06/29 17:34:08 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/parallel/ParN02/include/ExN02EventAction.hh
r1230 r1337 26 26 // 27 27 // $Id: ExN02EventAction.hh,v 1.2 2006/06/29 17:34:10 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/parallel/ParN02/include/ExN02MagneticField.hh
r1230 r1337 26 26 // 27 27 // $Id: ExN02MagneticField.hh,v 1.2 2006/06/29 17:34: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 // -
trunk/examples/extended/parallel/ParN02/include/ExN02PhysicsList.hh
r1230 r1337 26 26 // 27 27 // $Id: ExN02PhysicsList.hh,v 1.2 2006/06/29 17:34:14 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/parallel/ParN02/include/ExN02PrimaryGeneratorAction.hh
r1230 r1337 26 26 // 27 27 // $Id: ExN02PrimaryGeneratorAction.hh,v 1.2 2006/06/29 17:34: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 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/parallel/ParN02/include/ExN02RunAction.hh
r1230 r1337 26 26 // 27 27 // $Id: ExN02RunAction.hh,v 1.3 2006/07/05 12:46:00 gcosmo 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/parallel/ParN02/include/ExN02SteppingAction.hh
r1230 r1337 26 26 // 27 27 // $Id: ExN02SteppingAction.hh,v 1.2 2006/06/29 17:34: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 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/parallel/ParN02/include/ExN02SteppingVerbose.hh
r1230 r1337 26 26 // 27 27 // $Id: ExN02SteppingVerbose.hh,v 1.2 2006/06/29 17:34: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 // This class manages the verbose outputs in G4SteppingManager. -
trunk/examples/extended/parallel/ParN02/include/ExN02TrackerSD.hh
r1230 r1337 26 26 // 27 27 // $Id: ExN02TrackerSD.hh,v 1.2 2006/06/29 17:34:28 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/parallel/ParN02/include/ParRunManager.hh
r1230 r1337 25 25 // 26 26 // $Id: ParRunManager.hh,v 1.3 2006/06/29 17:34:30 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 // -------------------------------------------------------------------- -
trunk/examples/extended/parallel/ParN02/initInter.mac
r807 r1337 1 #1 surface# 2 2 # Macro file for the initialization phase of "ParN02.cc" 3 3 # when runing in interactive mode … … 8 8 /run/verbose 2 9 9 # 10 # create empty scene 10 # Use this open statement to create an OpenGL view: 11 /vis/open OGL 600x600-0+0 11 12 # 12 /vis/scene/create 13 # 14 # Create a scene handler for a specific graphics system 15 # (Edit the next line(s) to choose another graphic system) 16 # 17 /vis/open OGLIX 13 # Use this open statement to create a .prim file suitable for 14 # viewing in DAWN: 18 15 #/vis/open DAWNFILE 19 16 # 20 # draw scene 17 # Use this open statement to create a .heprep file suitable for 18 # viewing in HepRApp: 19 #/vis/open HepRepFile 21 20 # 22 /vis/camera/zoom 1.4 23 /vis/camera/viewpoint 90 180 21 # Use this open statement to create a .wrl file suitable for 22 # viewing in a VRML viewer: 23 #/vis/open VRML2FILE 24 # 25 # Disable auto refresh and quieten vis messages whilst scene and 26 # trajectories are established: 27 /vis/viewer/set/autoRefresh false 28 /vis/verbose errors 29 # 30 # Draw geometry: 24 31 /vis/drawVolume 25 32 # 26 # for drawing the tracks 27 # (if too many tracks cause core dump => storeTrajectory 0) 28 /tracking/storeTrajectory 1 29 /vis/scene/add/trajectories 33 # Specify view angle: 34 /vis/viewer/set/viewpointThetaPhi 90. 180. 35 # 36 # Specify zoom value: 37 /vis/viewer/zoom 1.4 38 # 39 # Specify style (surface or wireframe): 40 #/vis/viewer/set/style wireframe 41 # 42 # Draw coordinate axes: 43 #/vis/scene/add/axes 0 0 0 1 m 44 # 45 # Draw smooth trajectories at end of event, showing trajectory points 46 # as markers 2 pixels wide: 47 /vis/scene/add/trajectories smooth 48 /vis/modeling/trajectories/create/drawByCharge 49 /vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true 50 /vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2 51 # (if too many tracks cause core dump => /tracking/storeTrajectory 0) 52 # 53 # Draw hits at end of event: 54 #/vis/scene/add/hits 55 # 56 # To draw only gammas: 57 #/vis/filtering/trajectories/create/particleFilter 58 #/vis/filtering/trajectories/particleFilter-0/add gamma 59 # 60 # To invert the above, drawing all particles except gammas, 61 # keep the above two lines but also add: 62 #/vis/filtering/trajectories/particleFilter-0/invert true 63 # 64 # Many other options are available with /vis/modeling and /vis/filtering. 65 # For example, to select colour by particle ID: 66 #/vis/modeling/trajectories/create/drawByParticleID 67 #/vis/modeling/trajectories/drawByParticleID-0/set e- blue 68 # 69 # To superimpose all of the events from a given run: 70 #/vis/scene/endOfEventAction accumulate 71 # 72 # Re-establish auto refreshing and verbosity: 73 /vis/viewer/set/autoRefresh true 74 /vis/verbose warnings 75 # 76 # For file-based drivers, use this to create an empty detector view: 77 #/vis/viewer/flush -
trunk/examples/extended/parallel/ParN02/src/ExN02ChamberParameterisation.cc
r1230 r1337 26 26 // 27 27 // $Id: ExN02ChamberParameterisation.cc,v 1.3 2006/06/29 17:34: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 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/parallel/ParN02/src/ExN02DetectorConstruction.cc
r1230 r1337 26 26 // 27 27 // $Id: ExN02DetectorConstruction.cc,v 1.3 2006/06/29 17:34:35 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/parallel/ParN02/src/ExN02DetectorMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: ExN02DetectorMessenger.cc,v 1.4 2006/06/29 17:34: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 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/parallel/ParN02/src/ExN02EventAction.cc
r1230 r1337 25 25 // 26 26 // 27 // $Id: ExN02EventAction.cc,v 1. 2 2006/06/29 17:34:41 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: ExN02EventAction.cc,v 1.3 2010/06/06 05:08:01 perl Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 36 36 #include "G4EventManager.hh" 37 37 #include "G4TrajectoryContainer.hh" 38 #include "G4Trajectory.hh"39 #include "G4VVisManager.hh"40 38 #include "G4ios.hh" 41 39 … … 74 72 << " trajectories stored in this event." << G4endl; 75 73 } 76 77 // extract the trajectories and draw them78 //79 if (G4VVisManager::GetConcreteInstance())80 {81 for (G4int i=0; i<n_trajectories; i++)82 { G4Trajectory* trj = (G4Trajectory*)83 ((*(evt->GetTrajectoryContainer()))[i]);84 trj->DrawTrajectory(50);85 }86 }87 74 } 88 75 -
trunk/examples/extended/parallel/ParN02/src/ExN02MagneticField.cc
r1230 r1337 26 26 // 27 27 // $Id: ExN02MagneticField.cc,v 1.2 2006/06/29 17:34: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 // User Field class implementation. -
trunk/examples/extended/parallel/ParN02/src/ExN02PhysicsList.cc
r1230 r1337 26 26 // 27 27 // $Id: ExN02PhysicsList.cc,v 1.4 2006/06/29 17:34:47 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/parallel/ParN02/src/ExN02PrimaryGeneratorAction.cc
r1230 r1337 26 26 // 27 27 // $Id: ExN02PrimaryGeneratorAction.cc,v 1.2 2006/06/29 17:34: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 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/parallel/ParN02/src/ExN02RunAction.cc
r1230 r1337 26 26 // 27 27 // $Id: ExN02RunAction.cc,v 1.3 2006/07/05 12:46:00 gcosmo 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/parallel/ParN02/src/ExN02SteppingAction.cc
r1230 r1337 26 26 // 27 27 // $Id: ExN02SteppingAction.cc,v 1.2 2006/06/29 17:35: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 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/parallel/ParN02/src/ExN02SteppingVerbose.cc
r1230 r1337 26 26 // 27 27 // $Id: ExN02SteppingVerbose.cc,v 1.4 2006/06/29 17:35:07 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/parallel/ParN02/src/ExN02TrackerHit.cc
r1230 r1337 26 26 // 27 27 // $Id: ExN02TrackerHit.cc,v 1.3 2006/06/29 17:35: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 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/parallel/ParN02/src/ExN02TrackerSD.cc
r1230 r1337 26 26 // 27 27 // $Id: ExN02TrackerSD.cc,v 1.3 2006/06/29 17:35:11 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.