Changeset 1337 for trunk/examples/extended/electromagnetic/TestEm4
- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- Location:
- trunk/examples/extended/electromagnetic/TestEm4
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/electromagnetic/TestEm4/History
r807 r1337 1 $Id: History,v 1. 43 2007/06/22 09:55:22 maireExp $1 $Id: History,v 1.50 2010/06/07 05:40:46 perl Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 16 16 ---------------------------------------------------------- 17 17 18 06-06-10 J.Perl (testem4-V09-03-02) 19 - Remove unused variable in EventAction 20 21 03-06-10 J.Perl (testem4-V09-03-01) 22 - Updated vis usage 23 24 19-05-10 mma (testem4-V09-03-00) 25 - TestEm4.cc : introduction of G4UIExecutive 26 27 12-09-08 mma (testem4-V09-01-03) 28 - RunAction : change default histogram format 29 30 12-06-08 mma (testem4-V09-01-02) 31 - Remove AIDA from GNUmakefile 32 33 06-05-08 mma (testem4-V09-01-01) 34 - Update README for Aida implementations. 35 36 07-04-08 mma (testem4-V09-01-00) 37 - PhysicsList : replace G4MultipleScattering by G4eMultipleScattering 38 18 39 22-06-07 mma (testem4-V08-03-00) 19 40 - cosmetic in TestEm4.cc -
trunk/examples/extended/electromagnetic/TestEm4/README
r807 r1337 1 $Id: README,v 1. 19 2006/05/15 14:39:20maire Exp $1 $Id: README,v 1.21 2008/09/12 18:46:14 maire Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 76 76 gmake 77 77 78 It is possible to choose the format of the histogram file (hbook, root, XML): 78 It is possible to choose the format of the histogram file : 79 hbook, root (default), XML 79 80 comment/uncomment 1 line in the constructor of RunAction. 80 81 81 82 To use histograms, at least one of the AIDA implementations should be 82 available (see http://aida.freehep.org).83 available. See InstallAida.txt 83 84 84 7a - PI85 86 A package including AIDA and extended interfaces also using Python is PI,87 available from: http://cern.ch/pi88 89 Once installed PI or PI-Lite in a specified local area $MYPY, it is required90 to add the installation path to $PATH, i.e. for example, for release 1.2.1 of91 PI:92 setenv PATH ${PATH}:$MYPI/1.2.1/app/releases/PI/PI_1_2_1/rh73_gcc32/bin93 94 CERN users can use the PATH to the LCG area on AFS.95 Before running the example the command should be issued:96 eval `aida-config --runtime csh`97 98 7b - OpenScientist99 100 OpenScientist is available at http://OpenScientist.lal.in2p3.fr.101 102 You have to "setup" the OpenScientist AIDA implementation before compiling103 (then with G4ANALYSIS_USE set) and running your Geant4 application.104 105 On UNIX you setup, with a csh flavoured shell :106 csh> source <<OpenScientist install path>/aida-setup.csh107 or with a sh flavoured shell :108 sh> . <<OpenScientist install path>/aida-setup.sh109 On Windows :110 DOS> call <<OpenScientist install path>/aida-setup.bat111 112 You can use various file formats for writing (AIDA-XML, hbook, root).113 These formats are readable by the Lab onx interactive program114 or the OpenPAW application. See the web pages.115 116 117 With OpenPAW, on a run.hbook file, one can view the histograms118 with something like :119 OS> opaw120 opaw> h/file 1 run.hbook ( or opaw> h/file 1 run.aida or run.root)121 opaw> zone 2 2122 opaw> h/plot 1123 opaw> h/plot 2 -
trunk/examples/extended/electromagnetic/TestEm4/TestEm4.cc
r1230 r1337 25 25 // 26 26 // 27 // $Id: TestEm4.cc,v 1.1 2 2007/06/22 09:55:22maire Exp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: TestEm4.cc,v 1.13 2010/05/19 09:19:51 maire Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo..... … … 33 33 #include "G4RunManager.hh" 34 34 #include "G4UImanager.hh" 35 #include "G4UIterminal.hh"36 #include "G4UItcsh.hh"37 35 #include "Randomize.hh" 38 36 … … 47 45 #ifdef G4VIS_USE 48 46 #include "G4VisExecutive.hh" 47 #endif 48 49 #ifdef G4UI_USE 50 #include "G4UIExecutive.hh" 49 51 #endif 50 52 … … 93 95 visManager->Initialize(); 94 96 #endif 95 96 G4UIsession * session = 0; 97 #ifdef G4UI_USE_TCSH 98 session = new G4UIterminal(new G4UItcsh); 99 #else 100 session = new G4UIterminal(); 101 #endif 102 UI->ApplyCommand("/control/execute vis.mac"); 103 session->SessionStart(); 104 delete session; 97 98 #ifdef G4UI_USE 99 G4UIExecutive * ui = new G4UIExecutive(argc,argv); 100 ui->SessionStart(); 101 delete ui; 102 #endif 105 103 106 104 #ifdef G4VIS_USE -
trunk/examples/extended/electromagnetic/TestEm4/TestEm4.out
r807 r1337 1 2 ############################################ 3 !!! WARNING - FPE detection is activated !!! 4 ############################################ 1 5 2 6 ************************************************************* 3 Geant4 version Name: g lobal-V09-00-03 (9-May-2008)7 Geant4 version Name: geant4-09-03-ref-06 (25-June-2010) 4 8 Copyright : Geant4 Collaboration 5 9 Reference : NIM A 506 (2003), 250-303 … … 7 11 ************************************************************* 8 12 9 Material: FluorCarbonate density: 1.610 g/cm3 RadL: 22.435 cm Imean: 92.428eV13 Material: FluorCarbonate density: 1.610 g/cm3 RadL: 22.435 cm Nucl.Int.Length: 54.514 cm Imean: 99.957 eV 10 14 ---> Element: Carbon (C) Z = 6.0 N = 12.0 A = 12.01 g/mole ElmMassFraction: 38.74 % ElmAbundance 50.00 % 11 15 ---> Element: Fluorine (N) Z = 9.0 N = 19.0 A = 18.99 g/mole ElmMassFraction: 61.26 % ElmAbundance 50.00 % … … 15 19 /run/beamOn 100000 16 20 17 phot: Total cross sections from Sandia parametrisation. 18 Sampling according PhotoElectric model 21 phot: for gamma SubType= 12 22 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 23 PhotoElectric : Emin= 0 eV Emax= 10 TeV 19 24 20 compt: Total cross sections has a good parametrisation from 10 KeV to (100/Z) GeV21 Sampling according Klein-Nishina model22 tables are built for gamma23 Lambda tables from 100 eV to 100 GeV in 90 bins.25 compt: for gamma SubType= 13 26 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 27 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 28 Klein-Nishina : Emin= 0 eV Emax= 10 TeV 24 29 25 conv: Total cross sections has a good parametrisation from 1.5 MeV to 100 GeV for all Z;26 sampling secondary e+e- according Bethe-Heitler model27 tables are built for gamma28 Lambda tables from 1.022 MeV to 100 GeV in 100 bins.30 conv: for gamma SubType= 14 31 Lambda tables from 1.022 MeV to 10 TeV in 77 bins, spline: 1 32 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 33 Bethe-Heitler : Emin= 0 eV Emax= 10 TeV 29 34 30 msc: Model variant of multiple scattering for e- 31 Lambda tables from 100 eV to 100 TeV in 120 bins. 32 LateralDisplacementFlag= 1 Skin= 0 33 Boundary/stepping algorithm is active with RangeFactor= 0.02 Step limit type 1 35 msc: for e- SubType= 10 36 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 37 RangeFactor= 0.04, stepLimitType: 1, latDisplacement: 1 38 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 39 UrbanMsc93 : Emin= 0 eV Emax= 10 TeV 34 40 35 eIoni: tables are built for e-36 dE/dx and range tables from 100 eV to 10 0 TeV in 120 bins.37 Lambda tables from threshold to 10 0 TeV in 120 bins.38 Delta cross sections and sampling from MollerBhabha model39 Good description from 1 KeV to 100 GeV.40 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 141 eIoni: for e- SubType= 2 42 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 43 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 44 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 45 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 46 MollerBhabha : Emin= 0 eV Emax= 10 TeV 41 47 42 eBrem: tables are built for e- 43 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 44 Lambda tables from threshold to 100 TeV in 120 bins. 45 Total cross sections and sampling from StandBrem model (based on the EEDL data library) 46 Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1 48 eBrem: for e- SubType= 3 49 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 50 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 51 LPM flag: 1 for E > 1 GeV 52 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 53 eBrem : Emin= 0 eV Emax= 1 GeV 54 eBremRel : Emin= 1 GeV Emax= 10 TeV 47 55 48 eIoni: tables are built for e+49 dE/dx and range tables from 100 eV to 10 0 TeV in 120 bins.50 Lambda tables from threshold to 10 0 TeV in 120 bins.51 Delta cross sections and sampling from MollerBhabha model52 Good description from 1 KeV to 100 GeV.53 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 156 eIoni: for e+ SubType= 2 57 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 58 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 59 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 60 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 61 MollerBhabha : Emin= 0 eV Emax= 10 TeV 54 62 55 eBrem: tables are built for e+ 56 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 57 Lambda tables from threshold to 100 TeV in 120 bins. 58 Total cross sections and sampling from StandBrem model (based on the EEDL data library) 59 Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1 63 eBrem: for e+ SubType= 3 64 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 65 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 66 LPM flag: 1 for E > 1 GeV 67 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 68 eBrem : Emin= 0 eV Emax= 1 GeV 69 eBremRel : Emin= 1 GeV Emax= 10 TeV 60 70 61 annihil: Sampling according eplus2gg model 62 tables are built for e+ 63 Lambda tables from 100 eV to 100 TeV in 120 bins. 71 annihil: for e+ SubType= 5 72 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 73 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 74 eplus2gg : Emin= 0 eV Emax= 10 TeV 64 75 65 76 Region <DefaultRegionForTheWorld> -- appears in <C6F6> world volume … … 67 78 Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0] 68 79 Materials : FluorCarbonate 69 Production cuts : gamma 1 mm e- 1 mm e+ 1 mm80 Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 0 fm 70 81 71 82 ========= Table of registered couples ============================== … … 73 84 Index : 0 used in the geometry : Yes recalculation needed : No 74 85 Material : FluorCarbonate 75 Range cuts : gamma 1 mm e- 1 mm e+ 1 mm76 Energy thresholds : gamma 3.62751 keV e- 427.947 keV e+ 412.431 keV86 Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 0 fm 87 Energy thresholds : gamma 3.64604 keV e- 433.376 keV e+ 419.056 keV proton -1 MeV 77 88 Region(s) which use this couple : 78 89 DefaultRegionForTheWorld … … 115 126 Run Summary 116 127 Number of events processed : 100000 117 User= 8.45s Real=245.81s Sys=22.45s128 User=3.77s Real=9.59s Sys=2.61s 118 129 119 130 --------- Ranecu engine status --------- 120 131 Initial seed (index) = 0 121 Current couple of seeds = 1 729327149, 131462997132 Current couple of seeds = 1605911312, 1952694419 122 133 ---------------------------------------- 123 134 UserDetectorConstruction deleted. … … 127 138 G4 kernel has come to Quit state. 128 139 EventManager deleted. 129 Default detector region deleted.130 140 UImanager deleted. 131 141 Units table cleared. … … 133 143 RunManagerKernel is deleted. 134 144 RunManager is deleting. 145 -
trunk/examples/extended/electromagnetic/TestEm4/include/DetectorConstruction.hh
r1230 r1337 26 26 // 27 27 // $Id: DetectorConstruction.hh,v 1.3 2006/06/29 16:53: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/electromagnetic/TestEm4/include/EventAction.hh
r1230 r1337 26 26 // 27 27 // $Id: EventAction.hh,v 1.2 2006/06/29 16:53: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/electromagnetic/TestEm4/include/EventActionMessenger.hh
r1230 r1337 26 26 // 27 27 // $Id: EventActionMessenger.hh,v 1.3 2006/06/29 16:53: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 -
trunk/examples/extended/electromagnetic/TestEm4/include/PhysicsList.hh
r1230 r1337 26 26 // 27 27 // $Id: PhysicsList.hh,v 1.2 2006/06/29 16:53:37 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/electromagnetic/TestEm4/include/PrimaryGeneratorAction.hh
r1230 r1337 26 26 // 27 27 // $Id: PrimaryGeneratorAction.hh,v 1.2 2006/06/29 16:53: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/electromagnetic/TestEm4/include/RunAction.hh
r1230 r1337 25 25 // 26 26 // $Id: RunAction.hh,v 1.7 2006/06/29 16:53:43 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 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm4/include/SteppingAction.hh
r1230 r1337 26 26 // 27 27 // $Id: SteppingAction.hh,v 1.2 2006/06/29 16:53: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/electromagnetic/TestEm4/include/SteppingVerbose.hh
r1230 r1337 26 26 // 27 27 // $Id: SteppingVerbose.hh,v 1.2 2006/06/29 16:53: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 // This class manages the verbose outputs in G4SteppingManager. -
trunk/examples/extended/electromagnetic/TestEm4/src/DetectorConstruction.cc
r1230 r1337 26 26 // 27 27 // $Id: DetectorConstruction.cc,v 1.3 2006/06/29 16:53: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/electromagnetic/TestEm4/src/EventAction.cc
r1230 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: EventAction.cc,v 1. 7 2006/06/29 16:53:57 gunterExp $27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $26 // $Id: EventAction.cc,v 1.9 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...... … … 36 36 37 37 #include "G4Event.hh" 38 #include "G4TrajectoryContainer.hh"39 #include "G4Trajectory.hh"40 #include "G4VVisManager.hh"41 38 #include "G4UnitsTable.hh" 42 39 … … 76 73 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 77 74 78 void EventAction::EndOfEventAction( const G4Event* evt)75 void EventAction::EndOfEventAction( const G4Event*) 79 76 { 80 77 if (drawFlag != "none") … … 85 82 Run->GetHisto(0)->fill(TotalEnergyDeposit/MeV); 86 83 #endif 87 88 // draw trajectories89 if(G4VVisManager::GetConcreteInstance())90 {91 G4TrajectoryContainer* trajectoryContainer = evt->GetTrajectoryContainer();92 G4int n_trajectories = 0;93 if (trajectoryContainer) n_trajectories = trajectoryContainer->entries();94 for(G4int i=0; i<n_trajectories; i++)95 { G4Trajectory* trj = (G4Trajectory *)96 ((*(evt->GetTrajectoryContainer()))[i]);97 if (drawFlag == "all") trj->DrawTrajectory(1000);98 else if ((drawFlag == "charged")&&(trj->GetCharge() != 0.))99 trj->DrawTrajectory(1000);100 }101 }102 84 } 103 85 -
trunk/examples/extended/electromagnetic/TestEm4/src/EventActionMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: EventActionMessenger.cc,v 1.3 2006/06/29 16:54: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/electromagnetic/TestEm4/src/PhysicsList.cc
r1230 r1337 26 26 // 27 27 // $Id: PhysicsList.cc,v 1.7 2008/04/07 13:09:43 maire 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/electromagnetic/TestEm4/src/PrimaryGeneratorAction.cc
r1230 r1337 26 26 // 27 27 // $Id: PrimaryGeneratorAction.cc,v 1.3 2006/06/29 16:54:19 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/electromagnetic/TestEm4/src/RunAction.cc
r1230 r1337 25 25 // 26 26 // $Id: RunAction.cc,v 1.11 2008/09/12 18:46:14 maire 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/electromagnetic/TestEm4/src/SteppingAction.cc
r1230 r1337 26 26 // 27 27 // $Id: SteppingAction.cc,v 1.2 2006/06/29 16:54: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/electromagnetic/TestEm4/src/SteppingVerbose.cc
r1230 r1337 26 26 // 27 27 // $Id: SteppingVerbose.cc,v 1.2 2006/06/29 16:54: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 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm4/vis.mac
r807 r1337 8 8 /run/verbose 2 9 9 # 10 # C reate empty scene ("world" is default)11 / vis/scene/create10 # Controls whether energy is reported at end of event 11 /testem/event/drawTracks all 12 12 # 13 # Create a scene handler for a specific graphics system14 # Edit the next line(s) to choose another graphic system 13 # Use this open statement to create an OpenGL view: 14 /vis/open OGL 600x600-0+0 15 15 # 16 # Use this open statement to create a .prim file suitable for 17 # viewing in DAWN: 16 18 #/vis/open DAWNFILE 17 19 # 18 /vis/open OGLIX 20 # Use this open statement to create a .heprep file suitable for 21 # viewing in HepRApp: 22 #/vis/open HepRepFile 19 23 # 20 # Draw scene 24 # Use this open statement to create a .wrl file suitable for 25 # viewing in a VRML viewer: 26 #/vis/open VRML2FILE 27 # 28 # Disable auto refresh and quieten vis messages whilst scene and 29 # trajectories are established: 30 /vis/viewer/set/autoRefresh false 31 /vis/verbose errors 32 # 33 # Draw geometry: 34 /vis/drawVolume 35 # 36 # Specify view angle: 37 #/vis/viewer/set/viewpointThetaPhi 90. 0. 38 # 39 # Specify zoom value: 21 40 /vis/viewer/zoom 1.5 22 /vis/viewer/flush23 41 # 24 # for drawing the tracks 25 # if too many tracks cause core dump => storeTrajectory 0 26 /tracking/storeTrajectory 1 42 # Specify style (surface or wireframe): 43 #/vis/viewer/set/style wireframe 44 # 45 # Draw coordinate axes: 46 #/vis/scene/add/axes 0 0 0 1 m 47 # 48 # Draw smooth trajectories at end of event, showing trajectory points 49 # as markers 2 pixels wide: 50 /vis/scene/add/trajectories smooth 51 /vis/modeling/trajectories/create/drawByCharge 52 /vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true 53 /vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2 54 # (if too many tracks cause core dump => /tracking/storeTrajectory 0) 55 # 56 # Draw hits at end of event: 57 #/vis/scene/add/hits 58 # 59 # To draw only gammas: 60 #/vis/filtering/trajectories/create/particleFilter 61 #/vis/filtering/trajectories/particleFilter-0/add gamma 62 # 63 # To invert the above, drawing all particles except gammas, 64 # keep the above two lines but also add: 65 #/vis/filtering/trajectories/particleFilter-0/invert true 66 # 67 # Many other options are available with /vis/modeling and /vis/filtering. 68 # For example, to select colour by particle ID: 69 #/vis/modeling/trajectories/create/drawByParticleID 70 #/vis/modeling/trajectories/drawByParticleID-0/set e- blue 71 # 72 # To superimpose all of the events from a given run: 27 73 /vis/scene/endOfEventAction accumulate 28 74 # 29 /testem/event/drawTracks 75 # Re-establish auto refreshing and verbosity: 76 /vis/viewer/set/autoRefresh true 77 /vis/verbose warnings 78 # 79 # For file-based drivers, use this to create an empty detector view: 80 #/vis/viewer/flush
Note: See TracChangeset
for help on using the changeset viewer.