Project

General

Profile

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

Robert Hatcher, 10/21/2012 11:53 AM

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 2 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 5 Robert Hatcher
</pre>