| 1 | = Using NUISCOMP = |
| 2 | |
| 3 | A broad range of dataset classes have been implemented into the NUISANCE framework that support the direct comparison between different generator Monte Carlo event samples and published data. These can be specified by providing different sample IDs when writing card files as in the example below comparing GENIE events to MiniBooNE data. |
| 4 | |
| 5 | '''''mbcomp.card''''' |
| 6 | {{{ |
| 7 | sample MiniBooNE_CCQE_XSec_1DQ2_nu GENIE:prepared_genie_events.root |
| 8 | }}} |
| 9 | '''''Running command''''' |
| 10 | {{{ |
| 11 | $ nuiscomp -c mbcomp.card -o mbcomp.root |
| 12 | }}} |
| 13 | |
| 14 | This produces the output root file ''mbcomp.root'' containing a series of histograms that can be directly compared to one another. |
| 15 | Histograms follow the naming convention "name_type". Some examples are given below. |
| 16 | |
| 17 | - '''MiniBooNE_CCQE_XSec_1DQ2_nu_data''' : Published data distribution |
| 18 | - '''MiniBooNE_CCQE_XSec_1DQ2_nu_MC''' : Equivalent MC distribution generated from the events files that can be directly compared to the data distribution using the ROOT option "SAME". |
| 19 | - '''MiniBooNE_CCQE_XSec_1DQ2_nu_MC_FINE''' : Smooth histogram with much finer binning than the MC histogram. |
| 20 | - '''MiniBooNE_CCQE_XSec_1DQ2_nu_MC_PDG''' : MC prediction stacked by true interaction channels. The titles of each individual histogram denotes the name of the interaction channel. |
| 21 | - '''MiniBooNE_CCQE_XSec_1DQ2_nu_MC_FLUX''' : Flux histogram the events were generated with. |
| 22 | - '''MiniBooNE_CCQE_XSec_1DQ2_nu_MC_EVT''' : Event histogram prediction total number of events given the generated flux. |
| 23 | - '''MiniBooNE_CCQE_XSec_1DQ2_nu_MC_SHAPE''' : MC distribution normalised to match the total data normalisation for shape comparisons to be made. |
| 24 | |
| 25 | |
| 26 | '''''Example data-MC comparison from output ROOT file''''' |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | === Further cardfile examples === |
| 33 | |
| 34 | - Generate a file comparing NuWro event files to MiniBooNE CC1pion data. |
| 35 | {{{ |
| 36 | sample MiniBooNE_CC1pip_XSec_1DTPi_nu NUWRO:/path/to/nuwro_mb_files.root |
| 37 | }}} |
| 38 | |
| 39 | - Generate a file comparing NEUT event files to MiniBooNE CC1pion data. |
| 40 | {{{ |
| 41 | sample MiniBooNE_CC1pip_XSec_1DTPi_nu NUWRO:/path/to/neut_mb_files.root |
| 42 | }}} |
| 43 | |
| 44 | - Generate a file comparing GiBUU event files to MiniBooNE CC1pion data. |
| 45 | {{{ |
| 46 | sample MiniBooNE_CC1pip_XSec_1DTPi_nu GiBUU:/path/to/gibuu_mb_files.root |
| 47 | }}} |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |