close
Warning:
Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.
- Timestamp:
-
Jan 6, 2017, 2:09:22 PM (8 years ago)
- Author:
-
Clarence Wret
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v41
|
v42
|
|
190 | 190 | * `Measurement1D::SetupDefaultHist`: sets all the generator histograms and their auxillary histograms (e.g. mode-by-mode generator histograms) |
191 | 191 | |
192 | | or similar functions, e.g. calling `Measurement1D::SetDataFromFile` instead of `Measurement1D::SetDataValues`. '''Feel free to add reasonable setter functions to the base classes if you can't find a suitable one!''' |
| 192 | or similar functions, e.g. calling `Measurement1D::SetDataFromFile` instead of `Measurement1D::SetDataValues`. '''Feel free to add reasonable setter functions to the base classes if you can't find a suitable one'''. |
| 193 | |
| 194 | {{{ |
| 195 | #!div class=important |
| 196 | Please note that the '''order in which the helper functions are called is crucial to proper operation'''. E.g. `Measurement1D::SetupDefaultHist` relies on `fDataHist` having been set and a crash is likely if it is called before then. |
| 197 | }}} |
193 | 198 | |
194 | 199 | Current NUISANCE (v1r0) behaviour requires `fName`, `fPlotTitls`, `EnuMin`, `EnuMax` and `fScaleFactor` to be set by user in the implementation file. These are the only variables that need to be supplied by the user in the constructor, granted above helper functions are used. |
… |
… |
|
206 | 211 | |
207 | 212 | It's possible that these will be automated in the future, so please look at [https://nuisance.hepforge.org/trac/browser/src?order=date&desc=1 recently implemented samples] for up-to-date references. |
| 213 | |
| 214 | '''What to do:''' |
| 215 | The data and covariance matrix are available in a ROOT file for the sample, so I used `Measurement1D::SetDataFromFile` to set up the data and `Measurement1D::SetCovarFromDataFile` to set up the covariances. |
| 216 | |
| 217 | The `constructor` for the class now looks like: |
208 | 218 | |
209 | 219 | {{{ |
… |
… |
|
236 | 246 | }}} |
237 | 247 | |
| 248 | |
238 | 249 | == Specifying the event-level dependent variable(s) == |
239 | 250 | |