348 | | With this new card file we can then run our comparisons again, |
349 | | |
| 348 | With this new card file we can then run our comparisons again, but this time save the output to a different file |
| 349 | {{{ |
| 350 | $ nuiscomp -c genie_tutorial.card -o genie_samples_reweighted.root |
| 351 | |
| 352 | [LOG Fitter]: Starting nuiscomp.exe |
| 353 | |
| 354 | ... |
| 355 | |
| 356 | [LOG Fitter]: Setting up nuiscomp |
| 357 | [LOG Fitter]: Number of parameters : 2 |
| 358 | [LOG Fitter]: Read genie_parameter : MaCCRES = 1 : |
| 359 | [LOG Fitter]: Read genie_parameter : NormCCRES = -1 : |
| 360 | |
| 361 | ... |
| 362 | |
| 363 | [LOG Fitter]: Setting up FitWeight Engine |
| 364 | [LOG Fitter]: Registed Dial Enum : MaCCRES 5 5011 |
| 365 | [LOG Fitter]: Setting up GENIE RW : genierw |
| 366 | |
| 367 | ... |
| 368 | |
| 369 | [LOG Reconf]:--- Starting Reconfigure iter. 0 |
| 370 | [LOG Reconf]:--- Event Manager Reconfigure |
| 371 | [LOG Reconf]:--- MiniBooNE_CC1pip_XSec_1DTpi_nu : Processed 0 events. [M, W] = [33, 1] |
| 372 | [LOG Reconf]:--- MiniBooNE_CC1pip_XSec_1DTpi_nu : Processed 500000 events. [M, W] = [13, 1] |
| 373 | [LOG Reconf]:--- MiniBooNE_CC1pip_XSec_1DTpi_nu : Processed 1000000 events. [M, W] = [13, 1] |
| 374 | [LOG Reconf]:--- MiniBooNE_CC1pip_XSec_1DTpi_nu : Processed 1500000 events. [M, W] = [11, 1.17986] |
| 375 | [LOG Reconf]:--- MiniBooNE_CC1pip_XSec_1DTpi_nu : Processed 2000000 events. [M, W] = [51, 1] |
| 376 | |
| 377 | ... |
| 378 | |
| 379 | [LOG Minmzr]:- Writing each of the data classes... |
| 380 | [LOG Sample]:-- Written Histograms: MiniBooNE_CC1pip_XSec_1DTpi_nu |
| 381 | [LOG Sample]:-- Written Histograms: MiniBooNE_CC1pip_XSec_1DTu_nu |
| 382 | [LOG Fitter]: ------------------------------------ - |
| 383 | [LOG Fitter]: Comparison Complete. |
| 384 | [LOG Fitter]: ------------------------------------ - |
| 385 | }}} |
| 386 | |
| 387 | You might have noticed that now during the event processing stage, the values [M, W] correspond to the [Mode, Weight] for the event processed at that point, and that now we have added reweight dials, the weights are not always equal to 1.0. |
| 388 | |
| 389 | Now lets open up both our comparison files and compare the outputs |
| 390 | {{{ |
| 391 | $ root genie_samples.root genie_samples_reweighted.root |
| 392 | root [2] TBrowser b |
| 393 | }}} |
| 394 | |
| 395 | We now have two files with the exact same structure, the only differences between these will be the values given in each of the MC histograms. |
| 396 | |
| 397 | |
| 398 | |
| 399 | If we compare the MiniBooNE_CC1pip_XSec_1DTpi_nu_MC histograms on a single plot against the data we can see that the normalisation of the reweighed prediction has shifted upwards, and the likelihood for that prediction given the data has gotten worse as a result. |
| 400 | |
| 401 | |
| 402 | |
| 403 | |
| 404 | |
| 405 | |