Variables
demo5 Namespace Reference

Variables

string fname = 'prod_sumdecaf_R17-03-01-prod3reco.k_fd_genie_nonswap_fhc_nova_v08_full_nue_or_numu_or_nus_contain_v1'
 
string fnameSwap = 'prod_sumdecaf_R17-03-01-prod3reco.k_fd_genie_fluxswap_fhc_nova_v08_period1_nue_or_numu_or_nus_contain_v1'
 
 loader = cafana.SpectrumLoader(fname)
 
 loaderSwap = cafana.SpectrumLoader(fnameSwap)
 
 bins = cafana.Binning.Simple(100, 0, 1000)
 
 pred = cafana.PredictionNoExtrap(loader, loaderSwap, 'Number of hits in slice', bins, cafana.kNHit, cafana.kNoCut)
 
int pot = 18
 
 calc = cafana.DefaultOscCalc()
 
 c1 = ROOT.TCanvas()
 
 spred = pred.Predict(calc)
 
 mock = spred.MockData(pot)
 
 c2 = ROOT.TCanvas()
 
 expt = cafana.SingleSampleExperiment(pred, mock)
 
 surf
 

Variable Documentation

demo5.bins = cafana.Binning.Simple(100, 0, 1000)

Definition at line 13 of file demo5.py.

demo5.c1 = ROOT.TCanvas()

Definition at line 24 of file demo5.py.

Referenced by stan::math::matrix_exp_action_handler.action(), Ana01PaperPlot(), Ana01PaperPlotME(), comi::Leana.AnaNHit(), attenuation_calibration_comparisons(), attenuation_calibration_comparisons_withfb(), avgefficiency(), BiCountCanvas(), BiprobabilityCanvas(), BiProbCanvas(), braggPeak(), CalculateCovarianceMatrix(), CalculateTotalCovariance(), calhit_validation_macro(), CompareHistos(), CompareMCCompPrediction(), ComparePredictions(), CountProton(), stan::optimization.CubicInterp(), CVNphotonHist(), CVNphotonSplitHist(), d4sigma_plot(), DCSPlotMaker(), demo_CPT(), dt::DiscreteTracker.DotScore(), DoUnfolding(), doUnfolding(), draw_fn_coverage(), DrawContourCanvas(), DrawHistograms(), DrawSliceCanvas(), drawTwoPad(), eff_plots(), efficiency(), efficiencycalc(), efficiencySA(), electron_energy_bias(), beamlinereco::ToFAnalysisMini.endJob(), FD_plots(), febrates(), febshutoff(), FidOptHist(), ana::nueccinc::NueCCIncTemplateFitter.FillCovarianceMatrix(), ana::NumuCCIncPionTemplateFitter.FillCovarianceMatrixExtra(), nueccinc_test::NueCCIncGlobalFitter.FillCovarianceMatrixFull(), nueccinc_test::NueCCIncGlobalFitter.FillCovarianceMatrixReduced(), fnexvscaf(), for(), fragmentAngularDistribution(), fragmentAngularDistributionGM(), fragmentAngularDistributionHistogram(), fragmentYieldsPlot(), genie_syst_pca(), get_uncorrected_contour(), GetBackgroundStatisticalUncertainty(), GetDenominator(), getPlots(), getPlotsFromNtupleFD(), getPlotsFromNtupleND(), GetSelectedStatisticalUncertainty(), getSigmaPlots(), getSigmaPlotsAll(), GoodDataSelDate(), GoodDataSelDuration(), GoodDataSelEmptySpillFrac(), GoodDataSelGoodDB(), GoodDataSelLiveTime(), GoodDataSelMipRate(), GoodDataSelNumSlices(), GoodDataSelRuns(), GoodDataSelTimingPeakEnd(), GoodDataSelTimingPeakStart(), GoodDataSelTrkFrac(), goodness(), stan::math.grad_inc_beta(), HadEFit(), if(), genie::HAIntranuke.Inelastic(), genie::HAIntranuke2018.Inelastic(), genie::EffectiveSF.LoadConfig(), stan::optimization::LSOptions< Scalar >.LSOptions(), lutz(), Make2DCanvas(), make_eff_plots_areaNorm(), make_spalld(), make_spallq(), make_spallt8mev(), make_vertex_optimiz(), MakeCanvas(), MakeCovarianceCorrelationPlots(), MakeLongCanvas(), makePlots(), MakePlots(), MakePlots1D(), MakeProfileHadEFD(), MakeProfileHadEND(), MakeProfileMuEFD(), MakeProfileMuEND(), MakeSampleHistograms(), MakeTemplatePlotsSyst(), MakeWeightAndErrorPlot(), MakingProfile(), MakingProfileActCatcherND(), MakingProfileAllCatcherND(), MakingProfileHadCC(), MakingProfileHadCCND(), MakingProfileHadNonQE(), MakingProfileHadNonQEND(), MakingProfileHadQE(), MakingProfileHadQEND(), MakingProfileND(), genie::EffectiveSF.ModelType(), monoprob(), mrbrem_plots(), mre_blessed(), MuonFit(), MuonTreeLoopForPionSample(), NCPaperPlot(), NCPaperPlotME(), NewNearlinePlots(), nue_fnex_vs_caf_one_to_one(), nuint09_1pi1(), nuint09_coh1(), nuint09_coh2(), nuint09_qel1(), Nus17vsAn01_NuFACT_2D(), PhotonSim(), PhotonSim_mp(), pidPlot(), pidPlotProng(), PionSignalTreeLoop(), PionTreeLoop(), Plot2D(), plot_angles(), plot_beam_angles(), plot_hits0(), plot_hits1(), plot_nhit(), plot_pi0_xcheck(), plot_positions(), plot_runsummary(), plot_spectra_2dplots(), plot_times(), plot_timing_resolution(), PlotCovariance(), PlotDB_Web(), PlotDeltaSigmaWithSigma(), PlotEfficiency(), PlotFrom2D(), PlotNDDataTotalMCComparison(), ana.PlotNDDataTotalMCComparison(), PlotOnMon(), cmf::ReadFitResults.plotResults(), fnex::ReadFitResults.plotResults(), PlotSystShifts(), ana.PlotSystShifts(), plotTime(), plotTrainTest(), PlotUnfolding(), PlotWithRatio2D(), pots(), ppfx_syst_pca_fn(), PrintPlot(), ProbabilityCanvas(), ProtonSignalTreeLoop(), ProtonTreeLoop(), ProtonTreeLoopGamma(), ReMIdHist(), ResolutionPlot(), resolutionplotter(), resolutionplotterbias(), ana::FluxDecomp.SavePlots(), ana::BENDecomp.SavePlots(), ana::FluxDecomp.SavePlotsKa(), ana::BENDecomp.SavePlotsKa(), ana::FluxDecomp.SavePlotsPi(), ana::BENDecomp.SavePlotsPi(), sensitivity_plot(), osc::_PMNS< T >.SetMixBWCP(), sg_coeff(), ShwZOptHist(), stats(), tbrecoplots(), TEST(), test_gnumi(), test_numupred2017(), TreeLoop(), TreeLoopGamma(), uptime(), validation(), xsec_tot_uncert_optimization(), xsec_uncertainty_per_bin(), zheevc3(), and novaddt::HoughPoint.~HoughPoint().

demo5.c2 = ROOT.TCanvas()

Definition at line 33 of file demo5.py.

Referenced by stan::math::matrix_exp_action_handler.action(), comi::Leana.AnaNHit(), attenuation_calibration_comparisons(), attenuation_calibration_comparisons_withfb(), avgefficiency(), CalculateTotalCovariance(), calhit_validation_macro(), stan::optimization.CubicInterp(), DCSPlotMaker(), DedxComp(), DedxCompBirk(), DedxGamma(), dt::DiscreteTracker.DotScore(), drawLongTerm(), drawTwoPad(), eff_plots(), FidOptHist(), FitPlot(), fnexvscaf(), genie_syst_pca(), get_corrected_contour(), GetBackgroundStatisticalUncertainty(), GetBackgroundSystematicUncertainty(), GetEfficiencyDenominator(), GetEfficiencySystematicUncertainty(), getPlots(), getPlotsFromNtupleFD(), getPlotsFromNtupleND(), GetSelectedStatisticalUncertainty(), getSigmaPlots(), getSigmaPlotsAll(), stan::math.grad_inc_beta(), HadEFit(), genie::HAIntranuke.Inelastic(), genie::HAIntranuke2018.Inelastic(), genie::EffectiveSF.LoadConfig(), stan::optimization::LSOptions< Scalar >.LSOptions(), lutz(), make_eff_plots_areaNorm(), make_spalld(), make_spallq(), make_spallt8mev(), MakeCovarianceCorrelationPlots(), makePlots(), MakePlots(), MakeProfileHadEFD(), MakeProfileHadEND(), MakeProfileMuEFD(), MakeProfileMuEND(), MakeSampleHistograms(), MakeWeightAndErrorPlot(), makeXSecPlots1D(), makeXSecPlots2D(), MakingProfile(), MakingProfileActCatcherND(), MakingProfileAllCatcherND(), MakingProfileHadCC(), MakingProfileHadCCND(), MakingProfileHadNonQE(), MakingProfileHadNonQEND(), MakingProfileHadQE(), MakingProfileHadQEND(), MakingProfileND(), genie::EffectiveSF.ModelType(), mrbrem_plots(), mre_blessed(), MuonFit(), overlayFBplots(), overlayFBplotsH(), PhotonSim(), PhotonSim_mp(), pidPlot(), pidPlotProng(), PionDedxComp(), plot_3NDvsFD(), plot_3NDvsFD_FHC(), plot_3NDvsFD_RHC(), plot_angles(), plot_beam_angles(), plot_datamc_ND_numu(), plot_datamc_ND_numu_REW(), plot_hits0(), plot_hits1(), plot_ND_numu_NOMvsREW(), plot_NDvsFD_REW(), plot_NDvsFD_weights(), plot_NDvsFD_weights_FHC(), plot_NDvsFD_weights_RHC(), plot_nhit(), plot_nueFD_Signal_REWvsNOM(), plot_nueFD_Signal_REWvsNOM_FHC(), plot_nueFD_Signal_REWvsNOM_pTExtrap_FHC(), plot_nueFD_Signal_REWvsNOM_pTExtrap_RHC(), plot_nueFD_Signal_REWvsNOM_RHC(), plot_pi0_xcheck(), plot_positions(), plot_times(), ana.PlotDataMC(), PlotDataMC(), PlotDeltaSigmaWithSigma(), PlotMCComponentsComparison(), ana.PlotMCComponentsComparison(), PlotMCComponentsErrorBand(), ana.PlotMCComponentsErrorBand(), cmf::ReadFitResults.plotResults(), fnex::ReadFitResults.plotResults(), Plotting_Data2DataComp(), ppfx_syst_pca_fn(), PredRatioToNom(), ProtonDedxComp(), ProtonDedxCompBirk(), sensitivity_plot(), osc::_PMNS< T >.SetMixBWCP(), sg_coeff(), slicer_production_validation(), stats(), TEST(), test_beam_errorband(), test_gnumi(), validation(), xsec_tot_uncert_optimization(), xsec_uncertainty_per_bin(), and novaddt::HoughPoint.~HoughPoint().

demo5.calc = cafana.DefaultOscCalc()

Definition at line 22 of file demo5.py.

demo5.expt = cafana.SingleSampleExperiment(pred, mock)

Definition at line 34 of file demo5.py.

Referenced by AddExptCorrNue(), AddExptCorrNumu(), ana::FitInAnaBinsBkgdEstimator.Background(), ana::NumuCC2p2hBkgdEstimator.Background(), BlessedPlotsAnaByPeriod(), cc(), ana::BigChi2SingleSampleExperiment.ChiSq(), DedxComp(), DedxCompBirk(), DedxGamma(), demo5(), FCContour(), fill_col(), FitParamEffectsAna(), FitSystEffectsAna(), futureSig_reach_singlePOTcombo_syst(), genie_contours(), get_univ_chisq(), SystEntry.hDm(), SystEntry.hDmDcp(), SystEntry.hSin(), SystEntry.hSinDcp(), joint_fit_2017_make_fc_slice(), joint_fit_2017_make_fc_surf(), make_expt_profile(), make_fc_mass_and_oct_nersc_2018(), make_fc_mass_and_oct_nersc_2019(), make_fc_mh_nersc_2018(), make_fc_mh_nersc_2019(), make_fc_nus_surfs_nersc_2018(), make_fc_nus_surfs_nersc_2019(), make_fc_oct_nersc_2018(), make_fc_oct_nersc_2019(), make_fc_slices_nersc_2018(), make_fc_slices_nersc_2018_stats(), make_fc_slices_nersc_2019(), make_fc_surfaces_2020(), make_fc_surfaces_2020_validation(), make_fc_surfaces_nersc_2018(), make_fc_surfaces_nersc_2018_stats(), make_fc_surfaces_nersc_2019(), make_nom_expt(), make_nus17_fc_surfs(), make_nus_fc_surfs(), MakeFakeExperiment(), MakeLegend(), MakePlot(), MakeSurface(), mec_tuning(), mec_tuning_fitter_2020(), modularextrap_demo_nue(), modularextrap_demo_numu(), PionDedxComp(), plots(), ProtonDedxComp(), ProtonDedxCompBirk(), RunFitter(), syst_table_fit(), syst_test(), test_ana(), test_nue2018_surface(), test_stanfit_dummy(), test_stanfit_statsonly(), test_stanfit_systpulls(), test_stanfit_withsysts(), and SystEntry.~SystEntry().

string demo5.fname = 'prod_sumdecaf_R17-03-01-prod3reco.k_fd_genie_nonswap_fhc_nova_v08_full_nue_or_numu_or_nus_contain_v1'

Definition at line 7 of file demo5.py.

string demo5.fnameSwap = 'prod_sumdecaf_R17-03-01-prod3reco.k_fd_genie_fluxswap_fhc_nova_v08_period1_nue_or_numu_or_nus_contain_v1'

Definition at line 8 of file demo5.py.

demo5.loader = cafana.SpectrumLoader(fname)

Definition at line 10 of file demo5.py.

demo5.loaderSwap = cafana.SpectrumLoader(fnameSwap)

Definition at line 11 of file demo5.py.

demo5.mock = spred.MockData(pot)

Definition at line 27 of file demo5.py.

int demo5.pot = 18

Definition at line 20 of file demo5.py.

demo5.pred = cafana.PredictionNoExtrap(loader, loaderSwap, 'Number of hits in slice', bins, cafana.kNHit, cafana.kNoCut)

Definition at line 15 of file demo5.py.

demo5.spred = pred.Predict(calc)

Definition at line 26 of file demo5.py.

demo5.surf