Project

General

Profile

UPS products genie phyopt and genie xsec » History » Version 6

Robert Hatcher, 10/21/2012 12:18 PM

1 1 Robert Hatcher
{{toc}}
2 1 Robert Hatcher
3 1 Robert Hatcher
h1. UPS products genie phyopt and genie xsec
4 1 Robert Hatcher
5 1 Robert Hatcher
h2. @genie_phyopt@
6 1 Robert Hatcher
7 1 Robert Hatcher
This UPS product provides a standardized way of packaging an alternative @UserPhysicsOptions.xml@ file to the default found in @$GENIE/config@.
8 1 Robert Hatcher
9 3 Robert Hatcher
the basic thought is users (or expts) would invoke:
10 3 Robert Hatcher
<pre>
11 3 Robert Hatcher
  setup genie <version> -q <qualifier>
12 3 Robert Hatcher
  setup genie_phyopt <version> -q dkcharmtau
13 3 Robert Hatcher
</pre>
14 3 Robert Hatcher
which would put in the @$GXMLPATH@ a @UserPhysicsOptions.xml@ file that has been modified to have GENIE decay charm and tau particles
15 3 Robert Hatcher
before they are passed out (i.e. decays are done at the genie stage rather than, say, Geant4).  Only one @UserPhysicsOptions.xml@ file 
16 3 Robert Hatcher
is read for any genie session, so picking the right one is *important*.  If other parameters are being modified then it should start with
17 3 Robert Hatcher
the @-q dkcharmtau@ changes as a base (if this is desired).  Then an alternative @-q@ version should be declared to UPS; the 
18 3 Robert Hatcher
make_skeleton script (below) can help with that.
19 3 Robert Hatcher
20 2 Robert Hatcher
h3. creating a version
21 2 Robert Hatcher
22 6 Robert Hatcher
As @nusoft@:
23 2 Robert Hatcher
<pre>
24 2 Robert Hatcher
source /nusoft/app/externals/setup
25 2 Robert Hatcher
26 3 Robert Hatcher
# GENIE version and qualifier needed for setup
27 2 Robert Hatcher
GVER=v3470
28 2 Robert Hatcher
GQUAL=debug:nu
29 4 Robert Hatcher
POQUAL=dkcharmtau
30 2 Robert Hatcher
31 2 Robert Hatcher
cd /nusoft/app/externals/genie_phyopt
32 1 Robert Hatcher
setup genie $GVER -q $GQUAL
33 4 Robert Hatcher
./make_skeleton $GVER $POQUAL
34 2 Robert Hatcher
35 4 Robert Hatcher
setup genie_phyopt $GVER -q $POQUAL
36 2 Robert Hatcher
cd $GENIEPHYOPTPATH
37 2 Robert Hatcher
./make_dkcharmtau_phyopt
38 2 Robert Hatcher
39 2 Robert Hatcher
</pre>
40 2 Robert Hatcher
41 1 Robert Hatcher
h2. @genie_xsec@
42 1 Robert Hatcher
43 1 Robert Hatcher
This UPS product provides a standardized way of packaging genie cross-section spline files.
44 5 Robert Hatcher
45 5 Robert Hatcher
the basic thought is users (or expts) would invoke:
46 5 Robert Hatcher
<pre>
47 5 Robert Hatcher
  setup genie <version> -q <qualifier>
48 5 Robert Hatcher
  setup genie_xsec <version> -q default
49 1 Robert Hatcher
</pre>
50 6 Robert Hatcher
51 6 Robert Hatcher
h3. creating a version
52 6 Robert Hatcher
53 6 Robert Hatcher
As @nusoft@:
54 6 Robert Hatcher
<pre>
55 6 Robert Hatcher
source /nusoft/app/externals/setup
56 6 Robert Hatcher
57 6 Robert Hatcher
# GENIE version and qualifier needed for setup
58 6 Robert Hatcher
GVER=v3470
59 6 Robert Hatcher
GQUAL=debug:nu
60 6 Robert Hatcher
XQUAL=default
61 6 Robert Hatcher
62 6 Robert Hatcher
cd /nusoft/app/externals/genie_xsec
63 6 Robert Hatcher
setup genie $GVER -q $GQUAL
64 6 Robert Hatcher
./make_skeleton $GVER $XQUAL
65 6 Robert Hatcher
66 6 Robert Hatcher
cd $GENIEXSECPATH
67 6 Robert Hatcher
[...populate with spline files ...]
68 6 Robert Hatcher
</pre>
69 6 Robert Hatcher
70 6 Robert Hatcher
Generating the actual spline files require running on the grid (and, thus, probably can't  done as the @nusoft@ account).  Instructions can be found at [[Creating_cross-section_spline_files]]