Changeset 1337 for trunk/examples/extended/analysis/A01/README
- Timestamp:
- Sep 30, 2010, 2:47:17 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/examples/extended/analysis/A01/README (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/analysis/A01/README
r807 r1337 1 $Id: README,v 1. 9 2005/06/01 18:10:15 dunsExp $1 $Id: README,v 1.10 2009/11/21 00:22:55 perl Exp $ 2 2 3 3 ========================================================= … … 10 10 Example A01 implements a double-arm spectrometer with wire chambers, 11 11 hodoscopes and calorimeters. Event simulation and collection are 12 enabled, as well as event display and analysis. This example is 13 extensively documented on the Geant4 Workshop Tutorial CD available at: 14 http://geant4.slac.stanford.edu/g4cd/Welcome.html 12 enabled, as well as event display and analysis. 15 13 16 14 … … 72 70 73 71 74 75 76 72 3. EVENT: 77 73 … … 130 126 5. VISUALIZATION: 131 127 132 Simulated events can be displayed on top of a representation of 133 the spectrometer. 128 Simulated events can be displayed on top of a representation of the spectrometer. 134 129 135 vis.mac outputs HepRep version 1 files suitable for viewing in WIRED.130 vis.mac outputs HepRep version 1 files suitable for viewing in HepRApp or WIRED4. 136 131 Change the /vis/open line from HepRepFile to DAWNFILE to instead 137 132 make .prim files suitable for viewing in DAWN. 138 133 139 134 heprep2-000-gz.mac outputs a series of gzipped HepRep version 2 files 140 each containing a single event, suitable for viewing in WIRED (there 141 is no need to ungzip them since WIRED can do this itself). 135 each containing a single event, suitable for viewing in HepRApp or WIRED4 142 136 143 137 heprep2zip.mac outputs a single zip file that unzips to a series of 144 138 HepRep version 2 files, each each containing a single event (unzip 145 the single file by hand, then view the resulting individial HepRep 146 files in WIRED 3). 139 the single file by hand, then view the resulting individial HepRep files). 147 140 148 141 heprep2-000-zip.mac outputs a series of zipped HepRep version 2 files 149 each containing a single event (not yet viewable in WIREDunless you142 each containing a single event (not yet viewable unless you 150 143 explicitly unzip them before viewing). 151 144 152 145 heprep2.mac outputs a HepRep version 2 file with multiple events 153 appended to a single file in an experimental manner (not yet viewable 154 in WIRED). 146 appended to a single file in an experimental manner 155 147 156 148 heprep2gz.mac outputs a HepRep version 2 file with multiple events 157 appended to a single file in an experimental manner (not yet viewable 158 in WIRED). 149 appended to a single file in an experimental manner 159 150 160 151 Any of the heprep mac files above with the name bheprep (for instance 161 bheprep2zip.mac) will write a Binary HepRep version 2 file, readable 162 by WIRED 4. 163 164 WIRED 4 can read Binary HepRep and XML HepRep version 2 files without 165 the need for manual unzipping. 152 bheprep2zip.mac) will write a Binary HepRep version 2 file, readable only 153 by WIRED4 (not by HepRApp). 166 154 167 For more information on visualization with this A01 example,168 see the visualization tutorials on the Geant4 Workshop Tutorial CD169 available at:170 http://geant4.slac.stanford.edu/g4cd/Welcome.html171 155 172 156 6. ANALYSIS: 173 157 174 158 This example implements an AIDA-compliant analysis system which 175 creates histograms, ntuples and plotters. At the completion of a 176 simulation run a file A01.aida is produced which contains these 177 data structures. This file can be used as an input to the Java 178 Analysis Studio (JAS) which allows the histograms and ntuples to 179 examined, manipulated, saved and printed. For further details, 180 see README.JAIDA. 181 182 183 7. GETTING STARTED: 184 185 Build the A01 executable: 186 187 cd to A01 188 gmake clean 189 gmake 190 191 gmake will create tmp and bin directories in your work directory. 192 The executable, named A01app, will be in /bin/$G4SYSTEM/ 193 194 While in directory A01, run the executable: 195 196 ../bin/$G4SYSTEM/A01app 197 198 which will bring up the interactive prompt: 199 200 Idle> 201 202 To run 10 events you can now enter: 203 204 /run/beamOn 10 205 206 If all goes well, a JAS window will appear containing two histograms 207 and three scatterplots. 208 209 To terminate the job, at the prompt enter: 210 211 exit 212 213 Currently you must also close the JAS-AIDA window to get the job to stop. 214 215 216 In the A01 directory will be a file A01.aida which contains the plots. 217 To examine them 218 219 /usr/local.bin/jas3 & or jas3 & 159 creates histograms, ntuples and plotters. If you have built Geant4 with 160 the option to use anlaysis (answering yes to the appropriate question in 161 ./Configure -build), then at the completion of a simulation run, 162 a file A01.aida is produced which contains these data structures. 163 This file can be used as an input to the Java Analysis Studio (JAS) which allows 164 the histograms and ntuples to examined, manipulated, saved and printed. 165 For further details, see README.JAIDA.
Note:
See TracChangeset
for help on using the changeset viewer.
