242 | | This will produce a lot of logging output , but eventually, if there are no errors, it should finish with: |
243 | | {{{ |
| 242 | In total this will produce a lot of logging output, so only some snippets are included below for comparison. |
| 243 | {{{ |
| 244 | [LOG Fitter]: Starting nuiscomp.exe |
| 245 | |
| 246 | ... |
| 247 | |
| 248 | [LOG Minmzr]:- Loading Sample : MiniBooNE_CC1pip_XSec_1DTpi_nu |
| 249 | [LOG Sample]:-- Loading Sample : MiniBooNE_CC1pip_XSec_1DTpi_nu |
| 250 | [LOG Sample]:-- Creating GENIEInputHandler : MiniBooNE_CC1pip_XSec_1DTpi_nu |
| 251 | |-> Total Entries : 2500000 |
| 252 | |-> Event Integral : 1.47491e-28 events/nucleon |
| 253 | |-> Flux Integral : 1.67753e+10 /cm2 |
| 254 | |-> Event/Flux : 8.79217e-39 cm2/nucleon |
| 255 | |
| 256 | |
| 257 | ... |
| 258 | |
| 259 | [LOG Fitter]: Generating Comparison. |
| 260 | [LOG Reconf]:--- Starting Reconfigure iter. 0 |
| 261 | [LOG Reconf]:--- Event Manager Reconfigure |
| 262 | [LOG Reconf]:--- MiniBooNE_CC1pip_XSec_1DTpi_nu : Processed 0 events. [M, W] = [33, 1] |
| 263 | [LOG Reconf]:--- MiniBooNE_CC1pip_XSec_1DTpi_nu : Processed 500000 events. [M, W] = [13, 1] |
| 264 | |
| 265 | ... |
| 266 | |
| 290 | == Analysing the output == |
| 291 | |
| 292 | == Providing reweight parameters == |
| 293 | The comparisons application also allows different GENIE reweight parameters to be provided in our card file. |
| 294 | |
| 295 | The format for this is: |
| 296 | {{{ |
| 297 | genie_parameter NAME VALUE STATE |
| 298 | }}} |
| 299 | |
| 300 | - **NAME** : Specifies the name of the reweight dial. These can be found in '$GENIE/src/ReWeight/GSyst.cxx' |
| 301 | - **VALUE**: Value of the reweight dial in units of 1-sigma variations (1-sigma defined by GENIE) |
| 302 | - **STATE**: State of this parameter dial, for most cases this should be left as 'FIX'. |
| 303 | |
| 304 | In our example we shall generate another set of comparisons this time with two parameters shifted. |
| 305 | - Charged Current Resonant Axial Mass : Axial mass parameter used in the resonant form factor |
| 306 | - Charged Current Resonant Normalisation : Total normalisation of CCRES events. |
| 307 | |
| 308 | First we look for the possible name in GENIE reweight: |
| 309 | |
| 310 | **$GENIE/src/ReWeight/GSyst.h** |
| 311 | {{{ |
| 312 | class GSyst { |
| 313 | public: |
| 314 | //...................................................................................... |
| 315 | static string AsString(GSyst_t syst) |
| 316 | { |
| 317 | switch(syst) { |
| 318 | case ( kXSecTwkDial_MaNCEL ) : return "MaNCEL"; break; |
| 319 | |
| 320 | ... |
| 321 | |
| 322 | case ( kXSecTwkDial_NormCCRES ) : return "NormCCRES"; break; |
| 323 | case ( kXSecTwkDial_MaCCRESshape ) : return "MaCCRESshape"; break; |
| 324 | case ( kXSecTwkDial_MvCCRESshape ) : return "MvCCRESshape"; break; |
| 325 | case ( kXSecTwkDial_MaCCRES ) : return "MaCCRES"; break; |
| 326 | case ( kXSecTwkDial_MvCCRES ) : return "MvCCRES"; break; |
| 327 | }}} |
| 328 | |
| 329 | We can see the dials we are interested in this list, specified by the strings: 'MaCCRES' and 'NormCCRES' respectively. |
| 330 | |
| 331 | Now we want to change these dials to +1 for MaCCES and -1 sigma for NormCCRES. Therefore we add the following lines to our card file: |
| 332 | |
| 333 | {{{ |
| 334 | genie_parameter MaCCRES +1.0 FIX |
| 335 | genie_parameter NormCCRES -1.0 FIX |
| 336 | }}} |
| 337 | |
| 338 | so that it now looks like the following |
| 339 | |
| 340 | **genie_tutorial.card** |
| 341 | {{{ |
| 342 | genie_parameter MaCCRES +1.0 FIX |
| 343 | genie_parameter NormCCRES -1.0 FIX |
| 344 | |
| 345 | sample MiniBooNE_CC1pip_XSec_1DTpi_nu GENIE: gntp.2063030.ghep.root |
| 346 | sample MiniBooNE_CC1pip_XSec_1DTu_nu GENIE: gntp.2063030.ghep.root |
| 347 | }}} |
| 348 | |
| 349 | With this new card file we can then run our comparisons again, |
| 350 | |