... | ... | @@ -11,6 +11,42 @@ import pandas as pd |
|
|
D = pd.DataFrame()
|
|
|
```
|
|
|
|
|
|
|
|
|
```yaml
|
|
|
Parameters:
|
|
|
A: #Explicit definition
|
|
|
value: 10
|
|
|
step: 0.1
|
|
|
min: 0.0 #bounds are optional
|
|
|
max: "100" #strings get converted
|
|
|
pr_mean: 9 #priors are optional
|
|
|
pr_sigma: 1.2
|
|
|
B: [10.0, 0.1, 0, 100, 9.0, 1.2] #MINUIT-style definition, note how B has the same settings as A
|
|
|
C: 10 #Constant, step=0. Note that integer 10 is interpreted as double
|
|
|
CC: [123, 0] #also constant, step=0 explicitly
|
|
|
D: [10.0] #Some default step, probably 1% is assumed, and a warning is issued
|
|
|
E: "=B**2+A" #Definition as expression, note that string shall begin with a '='
|
|
|
F: !parameter B #F is now an alias for B
|
|
|
Av: SUMRULE #Fixed parameter, to be set by Decomposition. Actually just has step=0 and an undefined value
|
|
|
ZERO: "0" #Strings can automatically be converted to double by yaml-cpp
|
|
|
? !include constants.yaml
|
|
|
"APPLgrid/B": [1., 0.2] #I am not sure if this will work as a reaction-specific parameter. I do not recommend doing that
|
|
|
|
|
|
!parameter Bv: [12.,0.2] #same possibilities for right side, as if the definition was under Parameters
|
|
|
!parameter Cv: 23 #fixed, 23 is interpreted as double
|
|
|
LHCXVII_radius: 6.3781e6 #This is not a parameter, and reactions will not see it, even though it is double
|
|
|
|
|
|
ReactionSettings: #they used to be at root, but now they are under this subnode
|
|
|
APPLgrid:
|
|
|
useReference: 0
|
|
|
!parameter muR: 2 #fixed parameter with name "APPLgrid/muR"
|
|
|
#any of the definition styles can be on the right
|
|
|
!parameter muF: !parameter B #"APPLgrid/muF" is an alias for B
|
|
|
!parameter A: [12, 0.3] #legal! Overwrites previous definition. APPLgrid will see this A and not the one defined previously
|
|
|
? !include ./yaml/reactions/ReactionStringTheory/parameters.yaml #includes whole entry
|
|
|
```
|
|
|
|
|
|
### Iterate items
|
|
|
1) item1
|
|
|
1) item2
|
|
|
1) item3
|
... | ... | |