Classes | Functions | Variables
plot_validation_datamc Namespace Reference

Classes

class  Prediction
 
class  Ratio
 
class  Spectrum
 

Functions

def New (cons, args)
 
def Clone (obj)
 
def POTStr (pot)
 
def DeriveScalePow (spect, pot)
 
def One ()
 
def SplitCanvas (ysplit)
 
def Legend ()
 

Variables

list gLeaked = []
 
 parser = argparse.ArgumentParser()
 
 action
 
 help
 
 opts = parser.parse_args()
 
 fdata = TFile(opts.dataFile)
 
 fmc = TFile(opts.mcFile)
 
 data = Spectrum(k.ReadObj())
 
 scalePow = DeriveScalePow(data, data.pot)
 
 pred = Prediction(fmc, k.GetName())
 
 fname = re.sub(r'\{group=Cut,cat=._(.*)\}', r'_\1', k.GetName())
 
 r = Ratio(data, pred.tot)
 
 c = New(TCanvas)
 
 p1
 
 p2
 
 local
 
 banner
 

Function Documentation

def plot_validation_datamc.Clone (   obj)

Definition at line 15 of file plot_validation_datamc.py.

Referenced by AddHistograms(), ana.AddToSummaryV(), ana::AtmConstraint.AtmConstraint(), BinByBinTemplateFit(), BinByBinTemplateFit_TemplateResults(), ana::MultiverseCorrelation.calculate_covariance_matrix(), nueccinc_test::NueCCIncGlobalFitter.CalculateOneSigmaShiftFull(), nueccinc_test::NueCCIncGlobalFitter.CalculateOneSigmaShiftReduced(), CompareHistos(), CompareHistos_Here(), ComputeRatio(), ContourComparisonPlot(), ConvertFNBasis(), ConvertNormalBasis(), corrected_PE_mean(), doTemplateFit(), doUnfolding(), plot_validation_datamc.Spectrum.Draw(), generic.tools.ImageMaker.ImageMaker.draw(), draw_fn_coverage(), draw_michel_plots(), ana::CovMxSurface.DrawSurfacePoint(), DrawSurfacePoint(), estimate_cosmics(), ana.ExPIDPlot(), ExPIDPlot(), ana::nueccinc::NueCCIncTemplateFitter.FillCovarianceMatrix(), ana::NumuCCIncPionTemplateFitter.FillCovarianceMatrix(), ana::NumuCCIncPionTemplateFitter.FillCovarianceMatrixExtra(), nueccinc_test::NueCCIncGlobalFitter.FillCovarianceMatrixFull(), nueccinc_test::NueCCIncGlobalFitter.FillCovarianceMatrixReduced(), nueccinc_test::NueCCIncGlobalFitter.GetAnalysisTemplates(), getCanvasWithHists(), GetFNRatio(), ana.GetFractionalError(), nueccinc_test::NueCCIncGlobalFitter.getFullFitTemplates(), nueccinc_test::NueCCIncGlobalFitter.getFullTemplates(), getHists_FNEX(), ana::GenieMultiverseSpectra.GetSigmaHistograms(), nueccinc_test::NueCCIncGlobalFitter.GetTemplates(), nueccinc_test::NueCCIncGlobalFitter.GetTemplateWeightsAndErrors(), GetTotalBeamUncert2D(), GetTotalBeamUncertENu(), GetTotalBeamUncertQ2(), GoodDataSelDate(), GoodDataSelDuration(), GoodDataSelEmptySpillFrac(), GoodDataSelGoodDB(), GoodDataSelLiveTime(), GoodDataSelMipRate(), GoodDataSelNumSlices(), GoodDataSelRuns(), GoodDataSelTimingPeakEnd(), GoodDataSelTimingPeakStart(), GoodDataSelTrkFrac(), Legend(), LoadGenerator(), LoadGeniePrediction(), LoadStatUncert(), main(), MakeCutFlow(), MakeFracPlot(), MakeMePlot(), MakeNuEnergyPlots(), std_candles.StdCandlesPlotter.MakeOverlayMCPlots(), make_reco_miniprod5_plots.MakePlots(), make_reco_plots.MakePlots(), MakePlots(), MakeRawPlot(), MakeResultPlot(), MakeScalesPlot(), MakeSplitCans(), MakeStackNME(), MakeSystematicPlots(), makeSystTable_reduced(), MakeTemplatePlotsSyst(), makeXSecPlots1D(), makeXSecPlots2D(), makeXSecPlots_TemplateFit(), mrbrem_get_reweighted_spectra(), mrbrem_plots(), mre_blessed(), mre_comp_split(), nue_decomp_scales(), nue_decomp_scales_for_make_decomp(), cmf::ShifterAndWeighter.NueAcceptSignalKin2018Weight(), fnex::ShifterAndWeighter.NueAcceptSignalKin2018Weight(), fnex::ShifterAndWeighter.NueExtrapSig2017Weight(), ana::CutOptimization.OptimizedSigmaOverSigma(), PhotonSim_mp(), Plot(), plot_3NDvsFD(), plot_3NDvsFD_FHC(), plot_3NDvsFD_RHC(), plot_datamc_ND_numu(), plot_datamc_ND_numu_REW(), plot_michel_final(), plot_ND_DataMC(), plot_ND_DataMC_energybinning(), plot_ND_numu_NOMvsREW(), plot_nd_spectra_2018(), plot_NDvsFD_REW(), plot_NDvsFD_weights(), plot_NDvsFD_weights_FHC(), plot_NDvsFD_weights_RHC(), 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_rationoosc(), ana.PlotAllSelectionDecomposition(), PlotComp(), PlotCovariance(), ana.PlotDataMC(), PlotEfficiency(), PlotFitResults(), ana.PlotMCComponentsComparison(), PlotMCComponentsErrorBand(), ana.PlotMCComponentsErrorBand(), plotNueSystBandForTheseSystematics(), PlotRatio(), PlotStack(), plotSystBandForTheseSystematics(), Plotting_DataAndPrediction(), ppfx_syst_pca_fn(), preselection_cutflow(), PrintNus18CosBkgd(), SystEntry.printTotalUncertaintyLinearDcp(), SystEntry.printUncertainty(), SystEntry.printUncertaintyLinear(), SystEntry.printUncertaintySyst(), SystEntry.printUncertaintySystLinearDcp(), QuickUnivRatioPlot(), RatioPlot(), ana.RatioPlot(), sensitivity2018(), sensitivity2020(), ana::NueExtrapSystSignalKin2017.Shift(), ana::NueAcceptSystSignalKin2018FHC.Shift(), ana::NueAcceptSystSignalKin2020FHC.Shift(), ana::NueAcceptSystSignalKin2018RHC.Shift(), ana::NueAcceptSystSignalKin2020RHC.Shift(), signal_count(), and SplitPlot().

15 def Clone(obj):
16  ret = obj.Clone()
17  gLeaked.append(ret)
18  return ret
19 
def plot_validation_datamc.DeriveScalePow (   spect,
  pot 
)
Next smallest power of 1000 than maximum bin

Definition at line 23 of file plot_validation_datamc.py.

References makeTrainCVSamples.int.

23 def DeriveScalePow(spect, pot):
24  """Next smallest power of 1000 than maximum bin"""
25  if spect.hist.GetMaximum() == 0: return 0
26  return 3*(int(math.log10(spect.hist.GetMaximum()*pot/spect.pot))/3)
27 
def plot_validation_datamc.Legend ( )

Definition at line 120 of file plot_validation_datamc.py.

References Clone(), and New().

120 def Legend():
121  leg = New(TLegend, .4, .25, .6, .75)
122  h = New(TH1F, '', '', 1, 0, 1)
123  leg.SetTextSize(h.GetXaxis().GetTitleSize())
124  h.SetMarkerStyle(kFullCircle)
125  leg.AddEntry(Clone(h), 'ND data', 'lep')
126  h.SetLineColor(kRed)
127  leg.AddEntry(Clone(h), 'Total MC', 'l')
128  h.SetLineColor(kAzure)
129  leg.AddEntry(Clone(h), 'NC', 'l')
130  h.SetLineColor(kGreen+2)
131  leg.AddEntry(Clone(h), '#nu_{#mu} CC', 'l')
132  h.SetLineColor(kMagenta)
133  leg.AddEntry(Clone(h), '#nu_{e} CC', 'l')
134  h.SetLineColor(kGreen+1)
135  h.SetLineStyle(7)
136  leg.AddEntry(Clone(h), '#bar{#nu_{#mu}} CC', 'l')
137  h.SetLineColor(kMagenta-2)
138  leg.AddEntry(Clone(h), '#bar{#nu_{e}} CC', 'l')
139  leg.Draw()
140 
141 
def plot_validation_datamc.New (   cons,
  args 
)

Definition at line 10 of file plot_validation_datamc.py.

Referenced by Legend(), One(), and SplitCanvas().

10 def New(cons, *args):
11  ret = cons(*args)
12  gLeaked.append(ret)
13  return ret
14 
def plot_validation_datamc.One ( )

Definition at line 28 of file plot_validation_datamc.py.

References New().

28 def One():
29  g = New(TGraph)
30  g.SetPoint(0, -1e10, 1)
31  g.SetPoint(1, 1e10, 1)
32  g.SetLineWidth(2)
33  g.SetLineStyle(7)
34  g.Draw('same')
35 
def plot_validation_datamc.POTStr (   pot)

Definition at line 20 of file plot_validation_datamc.py.

Referenced by plot_validation_datamc.Spectrum.Draw().

20 def POTStr(pot):
21  return '%.3g#times10^{20} POT' % (pot/1e20)
22 
def plot_validation_datamc.SplitCanvas (   ysplit)

Definition at line 102 of file plot_validation_datamc.py.

References New().

102 def SplitCanvas(ysplit):
103  if gPad is None: New(TCanvas)
104  p1 = New(TPad, '', '', 0, 0, 1, 1)
105  p2 = New(TPad, '', '', 0, 0, 1, 1)
106 
107  p1.SetBottomMargin(ysplit)
108  p2.SetTopMargin(1-ysplit)
109 
110  # Draw p1 second since it's often the more important one, that the user
111  # would prefer to be able to interact with.
112  for p in [p2, p1]:
113  p.SetFillStyle(0)
114  p.Draw()
115 
116  return (p1, p2)
117 
118 
119 

Variable Documentation

plot_validation_datamc.action

Definition at line 143 of file plot_validation_datamc.py.

plot_validation_datamc.banner

Definition at line 222 of file plot_validation_datamc.py.

Referenced by genie::utils::print.PrintBanner().

plot_validation_datamc.c = New(TCanvas)

Definition at line 198 of file plot_validation_datamc.py.

plot_validation_datamc.data = Spectrum(k.ReadObj())

Definition at line 169 of file plot_validation_datamc.py.

plot_validation_datamc.fdata = TFile(opts.dataFile)
plot_validation_datamc.fmc = TFile(opts.mcFile)

Definition at line 162 of file plot_validation_datamc.py.

plot_validation_datamc.fname = re.sub(r'\{group=Cut,cat=._(.*)\}', r'_\1', k.GetName())

Definition at line 180 of file plot_validation_datamc.py.

Referenced by dbutils::daqconfig::BNEVBRunConfig._fetchAllData(), dbutils::daqconfig::DLRunConfig._fetchAllData(), dbutils::daqconfig::GTRunConfig._fetchAllData(), dbutils::dcs::APDSettings._fetchAllData(), calib::ADCShapeFitTable.ADCShapeFitTable(), genie::flux::GDk2NuFlux.AddFile(), genie::flux::GSimpleNtpFlux.AddFile(), genie::flux::GNuMIFlux.AddFile(), ana::FCCollection.AddFiles(), ana::FCCollection.AddPoint(), Ana2018_box_opening_macro(), calib::ADCShapeFitAna.analyze(), align::AlignInspect.analyze(), ApplicationSA(), barchart_extrapcomparison(), calib::BetheBlochTables.BetheBlochTables(), bin_composition_pie_chart(), ana::FCSurface.Binning(), nova::database::Table.BulkInsertInDB(), caf_numu_fd_validation_data(), caf_numu_fd_validation_MC(), caf_numu_fd_validation_MC_no_tau(), ccpiinc_mc_studies(), check_file_success_rate(), CLAApplication(), ana::DataMCPair.CName(), dbutils::daqappmgr::ConfiguredApplicationTypes.ConfiguredApplicationTypes(), dbutils::daqappmgr::ConfiguredHosts.ConfiguredHosts(), dbutils::daqappmgr::ConfiguredProcessList.ConfiguredProcessList(), convert(), nova::database::Table.CreateFromXML(), nova::dbi::Table.CreateFromXML(), CVNCuts(), d3sigma_calc(), d4sigma_calc(), d4sigma_hist(), d4sigma_plot(), datamc_ND_numu_kinematics(), datamc_ND_numu_kinematics_FHC(), datamc_ND_numu_kinematics_FHC_pTBins(), datamc_ND_numu_kinematics_FHC_REW(), datamc_ND_numu_kinematics_FHC_REW_pTBins(), datamc_ND_numu_kinematics_REW(), datamc_ND_numu_kinematics_RHC(), datamc_ND_numu_kinematics_RHC_pTBins(), datamc_ND_numu_kinematics_RHC_REW(), datamc_ND_numu_kinematics_RHC_REW_pTBins(), g4n::PrintTables.dEdx(), demo0(), demo1(), demo2(), demo2p5a(), demo3(), demo4(), demo5(), demo_CPT(), draw_michel_plots(), drawTimePlots(), efficiency(), efficiencySA(), comi::DataCheck.endJob(), EnergyCont_macro(), FD_plots(), om::Icons.Find(), genie::flux::GDk2NuFlux.FluxWindowNormal(), genie::flux::GNuMIFlux.FluxWindowNormal(), generate_fc_binlists(), getBatch(), GetBiases(), getBNBPlots(), nova::database::Table.GetCol(), nova::dbi::Table.GetCol(), nutools::dbi::Table.GetCol(), geo::GeometryBase.getCoordinateTransformation(), novaddt::ChannelMapService.getCounterMax(), IOManager.GetLoader(), ana::SAMProjectSource.GetNextFile(), GetNueCosmics2017(), GetNueCosmics2018(), ana.GetNueQuantCuts2020(), GetNumuCosmicsFuture(), ana.GetNumuEhadFracQuantCuts2020(), test.GetNumuPrediction(), GetNumuPredictions2017(), GetNumuPredictions2018(), GetNumuPredictions2019(), GetNumuPredictionsFuture(), ana.GetNumuPtQuantCuts2020(), getTimePeakPlots(), calib::Calibrator.GetTNS(), TMVA::TMVAGlob.imgconv(), ana::GetWtMinervaND.InitializeMinervaND(), ana::GetWtMippNA49NOvAFD.InitializeMippNA49NOvAFD(), ana::GetWtMippNA49NOvAND.InitializeMippNA49NOvAND(), lem::EventSummary.IsSig(), lem::LEMMixer.LEMPartFor(), genie::flux::GDk2NuFluxXMLHelper.LoadConfig(), genie::flux::GNuMIFluxXMLHelper.LoadConfig(), ana.LoadFileList(), Make2DPlot(), make_extrap_figure_hists(), make_mockdata_syst_contours(), make_muonid_opt(), MakePeriCutPlot(), MakePlot(), MakeTable(), ana.MINOSAtmConstraint(), mlpPIDelecallEetot(), mlpPIDelecallEtot(), mre_blessed(), mre_comp_split(), muonid_opt(), ana.MuonLLR(), neutKEsyst(), neutronE_macro(), g4n::NeutronSubstitutionProcess.NeutronSubstitutionProcess(), lem::LEMMixer.nSecondaries(), numu_demo_split_plot(), numu_sig_nonmax(), nus18_box_opening(), gibuu::OnDemandRecordList.OnDemandRecordList(), ana::FixGibuuWeight.operator()(), PeripheralCuts(), dbutils::daqconfig::PixelEnableMasks.PixelEnableMasks(), dbutils::daqconfig::PixelThresholds.PixelThresholds(), plot_datamc_ND_numu(), plot_datamc_ND_numu_REW(), plot_datamcpred(), plot_nd_data_mc(), plot_ND_numu_NOMvsREW(), plot_nuCrystalBall(), plot_nue_filesyst_pred(), plot_nuTree(), plot_predictions(), plot_resolution(), plot_uncertainty(), PlotDeltaFractionVsSignificance(), PlotDeltaFractionVsYear(), PlotSignificanceVsYear_FixDelta(), PlotSignificanceVsYear_FixTh23(), PredictCosmic(), ana::PredictionSyst3Flavor2020.PredictionSyst3Flavor2020(), ana::PredictionSystJoint2018.PredictionSystJoint2018(), ana::PredictionSystJointDemo.PredictionSystJointDemo(), ana::PredictionSystNue2017.PredictionSystNue2017(), ana::PredictionSystNumu2017.PredictionSystNumu2017(), print_nus17_fd_cut_tables(), print_nus17_fd_cut_tables2D(), print_tables(), novaddt::StaticMapService.reload(), resolutionspectrums(), nova::database::Table.SetDBPort(), nova::dbi::Table.SetDBPort(), nutools::dbi::Table.SetDBPort(), genie::flux::GSimpleNtpFlux.SetGenWeighted(), nova::database::Table.SetPasswordFile(), nova::dbi::Table.SetPasswordFile(), nutools::dbi::Table.SetPasswordFile(), setPathsRHC(), genie::flux::GDk2NuFlux.SetTreeNames(), keras::DataChunk2D.show_values(), gibuu::SimpleRecordList.SimpleRecordList(), stan::lang.strip_ccdf_suffix(), stan::lang.strip_cdf_suffix(), stan::lang.strip_prob_fun_suffix(), Syst(), syst_table_from_preds(), ana.T2KAtmConstraint(), template_basic(), template_GENIE_systs(), template_nonGENIE_systs(), test_stanfit_systpulls(), timingPeak(), validation(), genie::flux::GDk2NuFluxXMLHelper.~GDk2NuFluxXMLHelper(), and ana::SAMProjectSource.~SAMProjectSource().

list plot_validation_datamc.gLeaked = []

Definition at line 9 of file plot_validation_datamc.py.

plot_validation_datamc.help

Definition at line 144 of file plot_validation_datamc.py.

plot_validation_datamc.local

Definition at line 222 of file plot_validation_datamc.py.

plot_validation_datamc.opts = parser.parse_args()

Definition at line 147 of file plot_validation_datamc.py.

plot_validation_datamc.p1

Definition at line 199 of file plot_validation_datamc.py.

Referenced by remid::ReMIdTrain.analyze(), slid::LIDTraining.analyze(), comi::Leana.AnaNHit(), beamlinereco::CFDHitFinder< T >.BackwardFindingOfHitStart(), beamlinereco::TimeOfFlightReco.calculateTime(), beamlinereco::ToFSingleCounterAnalysis.calculateTime(), convert(), ConvertToGST(), datamc(), evd::RecoBaseDrawer.DrawCluster2D(), DrawUtils.DrawPlotStack(), event_reweighting_all_knobs(), genie::GHepRecord.EventGenerationMode(), fill_simple(), novaddt::SlowMMTrigger.filter(), genie::GHepRecord.FinalizeDaughterLists(), beamlinereco::CFDHitFinder< T >.FindPeakValue(), bpfit::BreakPoint.FitTracks(), genie::MECGenerator.GenerateNSVInitialHadrons(), getBNBPlots(), jmshower::RecoJMShower.GetCellDistToTrk(), getEarliest(), HepPolyhedron.GetNextEdgeIndeces(), novaddt::UpMuTrigger.GetRes(), novaddt::UpMuAna.GetRes(), novaddt::UpMuTrigger.GetRes2(), genie::utils::xml.GetXMLPathList(), genie::HAIntranuke.Inelastic(), genie::HAIntranuke2018.Inelastic(), genie::GRV98LO.Initialize(), bpfit::Path.Integrate(), geo::GeometryBase.isDetectorBigBoxUsed(), genie::flux::GDk2NuFlux.IsFluxSphere(), make_cosmic_eff_table(), makeCanvas(), MakeMePlot(), makeRatioPlot(), mre_blessed(), mre_comp_split(), ana.MuonEAct(), ana.MuonEActandCat(), nuEEnergy(), ana.NueRecoE_2017FDFit(), ana.NueRecoE_2018FHCFit(), ana.NueRecoE_2018RHCFit(), ana.NueRecoE_2020FHCFit(), ana.NueRecoE_2020FHCFit_2D3D(), ana.NueRecoE_2020RHCFit(), ana.NueRecoE_2020RHCFit_2D3D(), cmf::DataVarVals.NuRecoEVal2018(), fnex::DataVarVals.NuRecoEVal2018(), osc::OscCalculator.P_internal_ee(), osc::OscCalculator.P_internal_me(), osc::OscCalculator.P_internal_te(), HepGeom::Plane3D< T >.Plane3D(), plot_cosmic_eff(), plot_DataMCComp_numu(), TMVA::TMVAGlob.plot_logo(), plot_nd_data_mc(), plot_ND_DataMC(), plot_ND_DataMC_energybinning(), plot_nd_spectra_2018(), plot_recoE_numu(), plot_residPerPlane(), plotmodulewise(), Plotting_Data2DataComp(), Plotting_DataAndPrediction(), rwgt::GENIEReweightTable.Plus2Sigma(), g4n::NeutronSubstitutionProcess.PostStepDoIt(), crvtx::CosmicRayVertex.produce(), geo::LiveGeometry.ProjectedSteelDist(), RatioPlot(), ana.RatioPlot(), ana.RecoEFitRHC_poly2(), ana.RecoEFitRHC_poly2X(), ana.RecoEFitRHC_poly3(), ana.RecoEFitRHC_poly3X(), novaddt::UpMuAna.RootFitLLR(), HepGeom::Rotate3D.Rotate3D(), genie::utils::nuclear.RQEFG_generic(), skim::ParametersNue.SANueRecoE(), bpfit::Path.ScrubOne(), genie::flux::GDk2NuFlux.SetFluxWindow(), genie::flux::GNuMIFlux.SetFluxWindow(), genie::flux::GSimpleNtpFlux.SetGenWeighted(), rwgt::GENIEReweightTable.SetWeights(), SplitPlot(), ana.TAKEPol4_bias(), ana.TAKEPol6_biasHM(), TEST(), geo::GeometryTest.testFindPlanes(), timingPeak(), numue::NumuEAna.TotalLengthInDetector(), cheat::RecoCheckAna.TotalLengthInDetector(), trk::KalmanTrackAna.TotalLengthInDetector(), dt::Chain.ToTrack(), ana.VisibleHadE(), genie::flux::GDk2NuFluxXMLHelper.~GDk2NuFluxXMLHelper(), and novaddt::HoughPoint.~HoughPoint().

plot_validation_datamc.p2

Definition at line 199 of file plot_validation_datamc.py.

Referenced by slid::LIDTraining.analyze(), comi::Leana.AnaNHit(), beamlinereco::TimeOfFlightReco.calculateTime(), beamlinereco::ToFSingleCounterAnalysis.calculateTime(), convert(), datamc(), genie::mueloss::BetheBlochModel.dE_dx(), genie::KNOHadronization.DecayMethod2(), genie::mueloss::gsl::KokoulinPetrukhinIntegrand.DoEval(), evd::RecoBaseDrawer.DrawCluster2D(), DrawUtils.DrawPlotStack(), fill_simple(), novaddt::SlowMMTrigger.filter(), genie::GHepRecord.FinalizeDaughterLists(), beamlinereco::CFDHitFinder< T >.FindPeakValue(), getBNBPlots(), jmshower::RecoJMShower.GetCellDistToTrk(), getEarliest(), HepPolyhedron.GetNextEdgeIndeces(), novaddt::UpMuTrigger.GetRes(), novaddt::UpMuAna.GetRes(), novaddt::UpMuTrigger.GetRes2(), genie::utils::xml.GetXMLPathList(), genie::HAIntranuke.Inelastic(), genie::HAIntranuke2018.Inelastic(), genie::GRV98LO.Initialize(), bpfit::Path.Integrate(), geo::GeometryBase.isDetectorBigBoxUsed(), genie::flux::GDk2NuFlux.IsFluxSphere(), make_cosmic_eff_table(), makeCanvas(), MakeMePlot(), makeRatioPlot(), mre_blessed(), mre_comp_split(), ana.MuonEAct(), ana.MuonEActandCat(), geo::GeometryBase.NextPlaneInView(), geo::GeometryBase.NextPlaneOtherView(), nuEEnergy(), ana.NueRecoE_2017FDFit(), ana.NueRecoE_2018FHCFit(), ana.NueRecoE_2018RHCFit(), ana.NueRecoE_2020FHCFit(), ana.NueRecoE_2020FHCFit_2D3D(), ana.NueRecoE_2020RHCFit(), ana.NueRecoE_2020RHCFit_2D3D(), cmf::DataVarVals.NuRecoEVal2018(), fnex::DataVarVals.NuRecoEVal2018(), osc::OscCalculator.P_internal_ee(), osc::OscCalculator.P_internal_me(), osc::OscCalculator.P_internal_te(), plot_cosmic_eff(), plot_DataMCComp_numu(), plot_nd_data_mc(), plot_ND_DataMC(), plot_ND_DataMC_energybinning(), plot_nd_spectra_2018(), plot_recoE_numu(), plot_residPerPlane(), plotmodulewise(), Plotting_Data2DataComp(), Plotting_DataAndPrediction(), rwgt::GENIEReweightTable.Plus2Sigma(), g4n::NeutronSubstitutionProcess.PostStepDoIt(), genie::FGMBodekRitchie.ProbDistro(), genie::LocalFGM.ProbDistro(), geo::LiveGeometry.ProjectedSteelDist(), RatioPlot(), ana.RatioPlot(), ana.RecoEFitRHC_poly2(), ana.RecoEFitRHC_poly2X(), ana.RecoEFitRHC_poly3(), ana.RecoEFitRHC_poly3X(), HepGeom::Rotate3D.Rotate3D(), genie::utils::nuclear.RQEFG_generic(), skim::ParametersNue.SANueRecoE(), genie::flux::GDk2NuFlux.SetFluxWindow(), genie::flux::GNuMIFlux.SetFluxWindow(), genie::flux::GSimpleNtpFlux.SetGenWeighted(), rwgt::GENIEReweightTable.SetWeights(), ana.SplitCanvas(), ana.TAKEPol4_bias(), ana.TAKEPol6_biasHM(), TEST(), geo::GeometryTest.testFindPlanes(), timingPeak(), ana.VisibleHadE(), genie::QPMDMDISPXSec.XSec(), genie::flux::GDk2NuFluxXMLHelper.~GDk2NuFluxXMLHelper(), and novaddt::HoughPoint.~HoughPoint().

plot_validation_datamc.parser = argparse.ArgumentParser()

Definition at line 142 of file plot_validation_datamc.py.

plot_validation_datamc.pred = Prediction(fmc, k.GetName())

Definition at line 175 of file plot_validation_datamc.py.

Referenced by AddExptCorrNue(), FDPredictionHandler.AddVar(), NDPredictionHandler.AddVar(), novaddt::ClusterAna.analyze(), AnalyzeNus18Pred(), Beam(), bin_composition_pie_chart(), BlessedPlotsAna(), BlessedPlotsAnaByPeriod(), BlessedPlotsLoad(), ana::CovarianceMatrix.BuildFullCovMx(), CalcRWithSysts(), CalcRWithSystsNus17(), cc(), check_predinterp(), check_predinterp_numu(), ana::T2KToyExperiment.ChiSq(), ana::OscCovMxExperiment.ChiSq(), ana.CompareNDDataMCFromVector(), ana::PredictionCombinePeriods.ComponentCC(), ana::CovMxManager.CovMxManager(), CVNCuts(), demo4(), demo5(), demo_flat(), demo_nueNumuSysts(), ana::T2KToyExperiment.Derivative(), ana::CovMxSurface.DrawSurfacePoint(), FCContour(), FDDataMC(), FDDataMCSystBandAna(), FDDataMCSystBandLoad(), fill_col(), SliceLID::FillSliceLID.fillSliceLIDPreds(), novaddt::NuESelect.filter(), FitParamEffectsAna(), FitSystEffectsAna(), FitSystEffectsLoad(), genie_preds_make(), ana2019::fakedata.Get2019Prediction(), ana::CovarianceMatrix.GetCovMxAbsolute(), ana::CovarianceMatrix.GetCovMxRelative(), ana::CovarianceMatrix.GetCovMxRelativeWithStats(), getHists_FNEX(), ana.GetPrediction(), joint_fit_future_bestfit_univ(), joint_fit_future_contour_univ(), load_files(), ana::PredictionCombinePeriods.LoadFrom(), ana::PredictionInterp.LoadFromBody(), ana::CovMxManager.LoadSample(), ana::T2KToyExperiment.LogL(), ana::SingleSampleExperiment.LogLikelihood(), make_DataMCComp_numu(), make_extrap_figure_hists(), make_fc_nus_surfs_nersc_2018(), make_fc_nus_surfs_nersc_2019(), make_fc_surfaces_2020(), make_fc_surfaces_2020_validation(), make_mockdata_syst_contours(), make_nus17_fc_surfs(), make_nus_fc_surfs(), make_predictions_systs(), make_predictions_systs_fakedata(), make_rhcpred_2017(), make_rockpred_2017(), MakeCovarSim(), MakeExtrapSurface(), MakeLegend(), makeMatrixElementSurface(), MakeNusPrediction(), MakePeriCutPlot(), makePIDCutTuning(), makePrediction(), MakeTable(), modularextrap_demo_nue(), modularextrap_demo_numu(), monoprob(), NDDataMC(), ana::UnfoldTikhonov.NTrueBins(), nuCrystalBall(), nue_data_mc_validation(), nue_fd_mc_validation(), numu_data_mc_validation(), ana::OscCovMxExperiment.OscCovMxExperiment(), PeripheralCuts(), plot_datamc_ND_numu(), plot_datamc_ND_numu_REW(), plot_datamcpred(), plot_nd_data_mc(), plot_ND_numu_NOMvsREW(), plot_nominal_spectra(), plot_nuCrystalBall(), plot_prediction_systs(), plot_predictions(), plot_spectra_2dplots(), plot_syst_contours(), PlotNus17PredSystsData(), PlotNusSensAna01(), plots(), ana.PlotSyst(), pred_debug(), pred_err(), ana::SingleSampleExperiment.PredHistIncCosmics(), ana::PredictionCombinePeriods.PredictComponentSyst(), print_tables(), reach_2018_dCPfractions(), reduce_the_predfile_nue_numu(), rock(), run_joint_fit_2020_bestfit(), run_joint_fit_2020_contours(), run_joint_fit_2020_slices(), ana.SaveMaps(), SpectrumParamEffectsAna(), sterile_demo(), syst_table_from_preds(), systematics_extrap_comp_from_pred_interp(), systematics_summary_from_pred_interp(), systematics_table_from_pred_interp(), SystsOscParamAna(), test_ana(), test_mockdata(), test_nue2017Prediction(), test_nue2018_fitter(), test_nue2018_surface(), test_numu_summed_genie_systs(), test_prediction_interp(), test_predictionscalecomp(), test_predInterp_debug(), test_saloaders(), test_stanfit_statsonly(), test_stanfit_systpulls(), test_stanfit_withsysts(), TestPred(), and FDPredictionHandler.~FDPredictionHandler().

plot_validation_datamc.r = Ratio(data, pred.tot)

Definition at line 188 of file plot_validation_datamc.py.

plot_validation_datamc.scalePow = DeriveScalePow(data, data.pot)

Definition at line 172 of file plot_validation_datamc.py.