@@ -44,14 +44,18 @@ The following shows an example of a setup json file.
"CHARGE",
"ACCEPTED",
"TOTAL"
],
"function":[
"clovers/fullEfficiency.json"
]
}
```
It consists of three things:
It consists of four things:
1.`detectors` an array of detector objects.
2.`signals` an array of names of scaler values.
3.`name` optional value. Just nice to keep track of things.
4.`functions` is functions that parametrize the setup, such as an efficiency curve.
Detectors
---------
...
...
@@ -127,6 +131,70 @@ __Pad__
*`upLength` Size in mm along orientation vector
*`transverseLength` Size in mm along n x orientation vector.
Functions file
------------------
The function must contain a name, a formula string (written in a way that can be interpreted by a TF1), the function parameters and a covariance matrix for the parameters. An example of how to write such a file can be seen here: