nuisance is hosted by Hepforge, IPPP Durham
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.

Changes between Version 2 and Version 3 of HowToJoint


Ignore:
Timestamp:
Jun 13, 2017, 2:18:57 PM (7 years ago)
Author:
Patrick Stowell
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToJoint

    v2 v3  
    1111To get the best results and ensure that the statistical error on each sample is correct we suggest that the number of events in each sample is proportional to the relative flux integral of each component. For example if generating 1 million events with a numu + numubar flux with integrals of 150 and 500 respectively (arbritrary norm), then the number of events in each sample should be numu=230,769 and numubar=769,230.
    1212
    13 = Writing a JOINT input =
    14 A joint input is simply a list of the normal NUISANCE inputs saved into a text format. Examples are below.
    15 
    16 '''neut_miniboone_rhc_numu_numubar.txt'''
     13'''Reading JOINT GENIE MINERvA fhc'''
     14In this example both a FHC numu and FHC numubar event sample will be added together to create a prediction for the MiniBooNE CCQELike data.
    1715{{{
    18 NEUT:/data/events/neut/miniboone/rhc_numubar.root
    19 NEUT:/data/events/neut/miniboone/rhc_numu.root
     16sample  MiniBooNE_CCQELike_XSec_1DQ2_nu  GENIE:(/data/events/genie/minerva/genie_minerva_fhc.numuroot,
    2017}}}
    2118
    22 '''genie_minerva_fhc.joint'''
     19It is also possible to add different event modes together. For example say you have generated events in GENIE with the Default model, and you would like to add MEC events too. You could read them in as
    2320{{{
    24 GENIE:/data/events/genie/minerva/fhc_numu.root
    25 GENIE:/data/events/genie/minerva/fhc_numubar.root
    26 GENIE:/data/events/genie/minerva/fhc_nue.root
    27 GENIE:/data/events/genie/minerva/fhc_nuebar.root
     21sample  MiniBooNE_CCQE_XSec_1DQ2_nu  GENIE:(/data/events/genie/minerva/genie_minerva_fhc_numu_default.root,/data/events/genie/minerva/genie_minerva_fhc_numu_mec.root)
    2822}}}
    2923
    30 = Using a JOINT input =
    31 A joint input file can then be read into NUISANCE as its own JOINT type as follows
    3224
    33 '''Reading JOINT NEUT MB rhc'''
    3425{{{
    35 sample  MiniBooNE_CCQELike_XSec_1DQ2_antinu  JOINT:/data/events/neut/miniboone/neut_miniboone_rhc_numu_numubar.txt
     26#!div class="important"
     27**WARNING** : When reading in joint inputs the maximum number of events defined by the configuration option "MAXEVENTS" must be set to "-1" otherwise NUISANCE will try and run over the first portion of the event file, and will skip out events in the second input file, completely messing up the relative contribution from each event file.
     28
     29In NUISANCE v2r0 there is a check for this, but on older versions there is not. You have been warned!
    3630}}}
    37 
    38 '''Reading JOINT GENIE MINERvA fhc'''
    39 {{{
    40 sample  MINERvA_CCQE_XSec_1DQ2_nu  JOINT:/data/events/genie/minerva/genie_minerva_fhc.joint
    41 }}}