Project

General

Profile

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

Robert Hatcher, 10/26/2012 05:20 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 9 Robert Hatcher
h2. setup @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 9 Robert Hatcher
h2. setup @genie_xsec@
21 1 Robert Hatcher
22 9 Robert Hatcher
This UPS product provides a standardized way of packaging genie cross-section spline files.
23 9 Robert Hatcher
24 9 Robert Hatcher
the basic thought is users (or expts) would invoke:
25 9 Robert Hatcher
<pre>
26 9 Robert Hatcher
  setup genie <version> -q <qualifier>
27 9 Robert Hatcher
  setup genie_xsec <version> -q default
28 9 Robert Hatcher
</pre>
29 9 Robert Hatcher
30 9 Robert Hatcher
h1. Creating new versions of these packages
31 9 Robert Hatcher
32 9 Robert Hatcher
h2. intall @genie_phyopt@
33 9 Robert Hatcher
34 6 Robert Hatcher
As @nusoft@:
35 2 Robert Hatcher
<pre>
36 2 Robert Hatcher
source /nusoft/app/externals/setup
37 2 Robert Hatcher
38 3 Robert Hatcher
# GENIE version and qualifier needed for setup
39 2 Robert Hatcher
GVER=v3470
40 2 Robert Hatcher
GQUAL=debug:nu
41 1 Robert Hatcher
# version of genie_phyopt to be generated
42 2 Robert Hatcher
POQUAL=dkcharmtau
43 2 Robert Hatcher
44 1 Robert Hatcher
cd /nusoft/app/externals/genie_phyopt
45 1 Robert Hatcher
setup genie $GVER -q $GQUAL
46 1 Robert Hatcher
./make_skeleton $GVER $POQUAL
47 5 Robert Hatcher
48 5 Robert Hatcher
setup genie_phyopt $GVER -q $POQUAL
49 5 Robert Hatcher
cd $GENIEPHYOPTPATH
50 5 Robert Hatcher
./make_dkcharmtau_phyopt
51 5 Robert Hatcher
52 1 Robert Hatcher
</pre>
53 6 Robert Hatcher
54 9 Robert Hatcher
h2. install @genie_xsec@
55 6 Robert Hatcher
56 6 Robert Hatcher
As @nusoft@:
57 6 Robert Hatcher
<pre>
58 6 Robert Hatcher
source /nusoft/app/externals/setup
59 6 Robert Hatcher
60 6 Robert Hatcher
# GENIE version and qualifier needed for setup
61 6 Robert Hatcher
GVER=v3470
62 6 Robert Hatcher
GQUAL=debug:nu
63 7 Robert Hatcher
# version of genie_xsec to be generated
64 6 Robert Hatcher
XQUAL=default
65 6 Robert Hatcher
66 6 Robert Hatcher
cd /nusoft/app/externals/genie_xsec
67 6 Robert Hatcher
setup genie $GVER -q $GQUAL
68 6 Robert Hatcher
./make_skeleton $GVER $XQUAL
69 6 Robert Hatcher
70 6 Robert Hatcher
cd $GENIEXSECPATH
71 6 Robert Hatcher
[...populate with spline files ...]
72 6 Robert Hatcher
</pre>
73 6 Robert Hatcher
74 8 Robert Hatcher
Generating the actual spline files requires running on the grid (and, thus, probably can't  done as the @nusoft@ account).  Instructions can be found at [[Creating_cross-section_spline_files]]