Project

General

Profile

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

Robert Hatcher, 10/21/2012 12:19 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 7 Robert Hatcher
# version of genie_phyopt to be generated
30 4 Robert Hatcher
POQUAL=dkcharmtau
31 2 Robert Hatcher
32 2 Robert Hatcher
cd /nusoft/app/externals/genie_phyopt
33 1 Robert Hatcher
setup genie $GVER -q $GQUAL
34 4 Robert Hatcher
./make_skeleton $GVER $POQUAL
35 2 Robert Hatcher
36 4 Robert Hatcher
setup genie_phyopt $GVER -q $POQUAL
37 2 Robert Hatcher
cd $GENIEPHYOPTPATH
38 2 Robert Hatcher
./make_dkcharmtau_phyopt
39 2 Robert Hatcher
40 2 Robert Hatcher
</pre>
41 2 Robert Hatcher
42 1 Robert Hatcher
h2. @genie_xsec@
43 1 Robert Hatcher
44 1 Robert Hatcher
This UPS product provides a standardized way of packaging genie cross-section spline files.
45 5 Robert Hatcher
46 5 Robert Hatcher
the basic thought is users (or expts) would invoke:
47 5 Robert Hatcher
<pre>
48 5 Robert Hatcher
  setup genie <version> -q <qualifier>
49 5 Robert Hatcher
  setup genie_xsec <version> -q default
50 1 Robert Hatcher
</pre>
51 6 Robert Hatcher
52 6 Robert Hatcher
h3. creating a version
53 6 Robert Hatcher
54 6 Robert Hatcher
As @nusoft@:
55 6 Robert Hatcher
<pre>
56 6 Robert Hatcher
source /nusoft/app/externals/setup
57 6 Robert Hatcher
58 6 Robert Hatcher
# GENIE version and qualifier needed for setup
59 6 Robert Hatcher
GVER=v3470
60 6 Robert Hatcher
GQUAL=debug:nu
61 7 Robert Hatcher
# version of genie_xsec to be generated
62 6 Robert Hatcher
XQUAL=default
63 6 Robert Hatcher
64 6 Robert Hatcher
cd /nusoft/app/externals/genie_xsec
65 6 Robert Hatcher
setup genie $GVER -q $GQUAL
66 6 Robert Hatcher
./make_skeleton $GVER $XQUAL
67 6 Robert Hatcher
68 6 Robert Hatcher
cd $GENIEXSECPATH
69 6 Robert Hatcher
[...populate with spline files ...]
70 6 Robert Hatcher
</pre>
71 6 Robert Hatcher
72 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]]