1 import OptimizationUtils
4 nominal_fhcfile =
"/lbne/data/users/ljf26/fluxfiles/g4lbne/v3r3p2/QGSP_BERT/Nominal/200kA/flux/histos_g4lbne_v3r3p2_QGSP_BERT_Nominal_200kA_LBNEFD_fastmc.root" 5 nominal_rhcfile =
"/lbne/data/users/ljf26/fluxfiles/g4lbne/v3r3p2/QGSP_BERT/Nominal/-200kA/flux/histos_g4lbne_v3r3p2_QGSP_BERT_Nominal_-200kA_LBNEFD_fastmc.root" 7 print "Nominal Sensitivity: ",nominal_sensitivity[1][0]
9 varied_fhcfile =
"/lbne/data/users/ljf26/fluxfiles/g4lbne/v3r3p6/QGSP_BERT/CP_run5_9116_80GeV/200kA/flux/histos_g4lbne_v3r3p6_QGSP_BERT_CP_run5_9116_80GeV_200kA_LBNEFD_fastmc.root" 10 varied_rhcfile =
"/lbne/data/users/ljf26/fluxfiles/g4lbne/v3r3p6/QGSP_BERT/CP_run5_9116_80GeV/-200kA/flux/histos_g4lbne_v3r3p6_QGSP_BERT_CP_run5_9116_80GeV_-200kA_LBNEFD_fastmc.root" 13 print "Varied Sensitivity: ",varied_sensitivity[1][0]
def ComputeMean75PercentSensitivityAndError(varfhcfile, varrhcfile, fhcvarenergy=120.0, rhcvarenergy=120.0, antinufrac=0.5, quantity="cp")