#include "CAFAna/Analysis/Calcs.h"
#include "CAFAna/Analysis/Exposures.h"
#include "CAFAna/Fit/Fit.h"
#include "CAFAna/Analysis/Plots.h"
#include "3FlavorAna/Plotting/NuePlotStyle.h"
#include "CAFAna/Fit/FrequentistSurface.h"
#include "CAFAna/Analysis/Style.h"
#include "CAFAna/Experiment/Dmsq32Constraint.h"
#include "CAFAna/Experiment/MultiExperiment.h"
#include "CAFAna/Experiment/ReactorExperiment.h"
#include "CAFAna/Experiment/SingleSampleExperiment.h"
#include "CAFAna/FC/FCSurface.h"
#include "3FlavorAna/Prediction/PredictionSystJoint2018.h"
#include "CAFAna/Prediction/PredictionCombinePeriods.h"
#include "3FlavorAna/Systs/NumuSysts.h"
#include "CAFAna/Vars/FitVars.h"
#include "Utilities/rootlogon.C"
#include "OscLib/IOscCalc.h"
#include "3FlavorAna/Ana2020/joint_fit_2020_loader_tools.h"
#include "TCanvas.h"
#include "TMarker.h"
#include "TBox.h"
#include "TLatex.h"
#include "TColor.h"
#include "TGraph.h"
#include "TVectorD.h"
#include "TF1.h"
#include "TLegend.h"
#include "TLine.h"
#include "TStyle.h"
#include "TSystem.h"
#include "TGaxis.h"
#include <algorithm>
#include <vector>
#include <string>
#include <fstream>
Go to the source code of this file.
Functions | |
void | DrawHieTag (int hie, bool th13=true, bool vert=false) |
double | sigma (TH1F *hist, double percentile) |
bool | is_file_exist (const char *fileName) |
void | median_contours (int universes=100, bool corrSysts=false, string folder="2020bf", TString options="joint_realData_both_onlyIH", bool dmsqSurf=false, bool th13Surf=false, bool zoomIn=true, bool fillContour=false) |
Definition at line 458 of file median_contours.C.
References ana::kBlessedLabelFontSize, ana::kPrimColorIH, and ana::kPrimColorNH.
Referenced by median_contours().
bool is_file_exist | ( | const char * | fileName | ) |
Definition at line 53 of file median_contours.C.
References om::cout, allTimeWatchdog::endl, and infile.
Referenced by median_contours().
void median_contours | ( | int | universes = 100 , |
bool | corrSysts = false , |
||
string | folder = "2020bf" , |
||
TString | options = "joint_realData_both_onlyIH" , |
||
bool | dmsqSurf = false , |
||
bool | th13Surf = false , |
||
bool | zoomIn = true , |
||
bool | fillContour = false |
||
) |
contour "minus sigma"
contour "minus sigma"
contour "plus sigma"
Definition at line 60 of file median_contours.C.
References ana::assert(), om::cout, gen_hdf5record::debug, DrawContourCanvas(), DrawHieTag(), APDHVSetting::dummy, allTimeWatchdog::endl, PandAna.Demos.tute_pid_validation::folder, MECModelEnuComparisons::g, ana::Gaussian2Sigma2D(), ana::Gaussian3Sigma2D(), ana::Gaussian68Percent2D(), MECModelEnuComparisons::i, infile, is_file_exist(), calib::j, ana::JoinGraphs(), ana::k2SigmaConfidenceColorIH, ana::k2SigmaConfidenceColorNH, ana::kBlessedLabelFontSize, kViolet, MECModelEnuComparisons::leg, ana::FrequentistSurface::LoadFrom(), m, median(), Munits::ms, fabricate::options, outdir, make_template_knob_config::outfilename, Preliminary(), nd_projection_maker::ps, save(), sigma(), PandAna.Demos.tute_pid_validation::specs, demo5::surf, tmp, art::to_string(), and ana::UniqueName().
double sigma | ( | TH1F * | hist, |
double | percentile | ||
) |
Definition at line 46 of file median_contours.C.
Referenced by cmf::ShifterAndWeighter::AbsNormWeight(), ana::SystMakerLoaderShift::AddOnOff(), ana::SystMakerWeightShift::AddOnOff(), ana::SystMakerLoaderShift::AddSigma(), ana::SystMakerWeightShift::AddSigma(), ana::SystMakerSystShift::AddSigma(), ana::BeamIntensitySyst::BeamIntensitySyst(), ana::BeamNueScaleSyst::BeamNueScaleSyst(), rwgt::MakeGENIEReweightTable::beginJob(), ana::best_spline_find_mode(), ana::best_spline_mode_fcn(), cmf::ShifterAndWeighter::BirksNormWeight(), ana::BolombMuESyst2019::BolombMuESyst2019(), CAFReweightExample(), ana::CalcChi2(), stan::math::cauchy_ccdf_log(), stan::math::cauchy_cdf_log(), stan::math::cauchy_log(), stan::math::cauchy_lpdf(), check_predinterp(), check_predinterp_numu(), ana::CompNormSyst::CompNormSyst(), jw::CompNormSyst::CompNormSyst(), ana::ContainmentSyst::ContainmentSyst(), ana::CorrMuEScaleSyst2019::CorrMuEScaleSyst2019(), ana::CorrMuEScaleSyst2020::CorrMuEScaleSyst2020(), cmf::ShifterAndWeighter::CosmicMuNormWeight(), cmf::ShifterAndWeighter::CosmicOverlayNormWeight(), stan::math::cov_exp_quad(), d3sigma_calc(), d4sigma_calc(), DCMOffsetCalculator(), demo_nueNumuSysts(), demoStarPlots(), ana::DirectHadEScaleSyst2017::DirectHadEScaleSyst2017(), ana::DirectRelHadEScaleSyst2017::DirectRelHadEScaleSyst2017(), ana::DISHighWScaleSyst::DISHighWScaleSyst(), stan::math::double_exponential_ccdf_log(), stan::math::double_exponential_cdf_log(), stan::math::double_exponential_log(), stan::math::double_exponential_lpdf(), ana::SystMakerShift::DrawBkg(), ana::SystMakerShift::DrawShift(), ana::SystMakerShift::DrawSig(), rsim::ExcessNoiseMaker::DrawSmearedPE(), calib::DCMTimingOffset::endJob(), calib::DCMTimingOffset::endRun(), stan::math::exp_mod_normal_ccdf_log(), stan::math::exp_mod_normal_cdf_log(), stan::math::exp_mod_normal_log(), stan::math::exp_mod_normal_lpdf(), FCContour(), ana::FDHadEnergyScaleSyst::FDHadEnergyScaleSyst(), ana::FDMuEnergyScaleSyst::FDMuEnergyScaleSyst(), stan::math::frechet_ccdf_log(), stan::math::frechet_cdf_log(), stan::math::frechet_log(), stan::math::frechet_lpdf(), hough::Gaus(), ana::GenericSystComponentScale< T >::GetCut(), ana::SystMakerShift::GetLabel(), ana::getNue2018PredVar(), ana::SystMakerShift::GetShiftedSpectrum(), SystGroupHelper::GetShifts(), ana::SystMaker::GetShifts(), GetShifts2017(), ana::GetShifts2018(), ana::GetShifts2020(), rsim::ReadoutSim::GetSmearedPE(), ana::SystMaker::GetTotalShift(), stan::math::gp_periodic_cov(), ana::HadEnergyScaleSyst::HadEnergyScaleSyst(), HighlightSignPoints(), cmf::ShifterAndWeighter::HornNormWeight(), ana::KaonScaleSyst::KaonScaleSyst(), ana::ISyst::LatexName(), ana::LEMScaleSyst::LEMScaleSyst(), ana::LeptonAngleSyst::LeptonAngleSyst(), novarwgt::LinearInterp(), stan::math::lkj_cov_log(), stan::math::lkj_cov_lpdf(), ana::ReactorExperiment::LoadFrom(), ana::SystMakerShift::LoadFrom(), ana::LoadMaps(), stan::math::logistic_ccdf_log(), stan::math::logistic_cdf_log(), stan::math::logistic_log(), stan::math::logistic_lpdf(), stan::math::lognormal_ccdf_log(), stan::math::lognormal_cdf_log(), stan::math::lognormal_log(), stan::math::lognormal_lpdf(), main(), make_nue_xsec_pred(), make_starplots(), make_time_profile(), ana::MakeLatexCommandName(), MakeName(), ana::MakeNueSystematicsFile(), MakeNus18Systs(), MakeNus2019CovMxSysts(), MakeSysts(), rsim::ExcessNoiseMaker::MakeTemplate(), median_contours(), ana::MichelTaggingSyst2018::MichelTaggingSyst2018(), ana::MichelTaggingSyst2020::MichelTaggingSyst2020(), ana::MuEnergyScaleSyst::MuEnergyScaleSyst(), ana::MuEScaleSyst2017::MuEScaleSyst2017(), ana::MyWrongSignScale::MyWrongSignScale(), cmf::ShifterAndWeighter::NCNormWeight(), ana::NCScaleSyst::NCScaleSyst(), ana::NCtest::NCtest(), ana::NeutronVisEScaleSyst2018::NeutronVisEScaleSyst2018(), cmf::ShifterAndWeighter::NoiseFarNormWeight(), stan::math::normal_ccdf_log(), stan::math::normal_cdf_log(), stan::math::normal_id_glm_lpdf(), stan::math::normal_log(), stan::math::normal_lpdf(), stan::math::normal_sufficient_log(), stan::math::normal_sufficient_lpdf(), ana::NormSyst::NormSyst(), ana::covmx::NormSyst::NormSyst(), ana::NOvARwgtSyst::NOvARwgtSyst(), ana::NueAcceptSystBkg2018FHC::NueAcceptSystBkg2018FHC(), ana::NueAcceptSystBkg2018RHC::NueAcceptSystBkg2018RHC(), ana::NueAcceptSystSignalKin2018FHC::NueAcceptSystSignalKin2018FHC(), ana::NueAcceptSystSignalKin2018RHC::NueAcceptSystSignalKin2018RHC(), ana::NueAcceptSystSignalKin2020FHC::NueAcceptSystSignalKin2020FHC(), ana::NueAcceptSystSignalKin2020RHC::NueAcceptSystSignalKin2020RHC(), ana::NueExtrapSystBkg2017::NueExtrapSystBkg2017(), ana::NueExtrapSystSignalKin2017::NueExtrapSystSignalKin2017(), ana::Nuetest::Nuetest(), ana::NumuCCScaleSyst::NumuCCScaleSyst(), ana::NumuEnergyScaleSyst::NumuEnergyScaleSyst(), ana::NumuGEANTNormSyst::NumuGEANTNormSyst(), ana::NumuGEANTScaleSyst::NumuGEANTScaleSyst(), ana::NumuNCScaleSyst::NumuNCScaleSyst(), ana::NumuNormSyst::NumuNormSyst(), ana::NumuRelEnergyScaleSyst::NumuRelEnergyScaleSyst(), ana::NumuRelNormSyst::NumuRelNormSyst(), ana::NumuTauContaminationSyst::NumuTauContaminationSyst(), ana::Numutest::Numutest(), Nus18SystsBeamTranspLoad(), Nus18SystsGENIELoad(), Nus18SystsNeutronLoad(), cmf::ParameterSetToLocation(), ana::PileupMuESyst2019::PileupMuESyst2019(), ana::PileupMuESyst2020::PileupMuESyst2020(), pion_energy_estimator(), predEventCountWithSystError(), ana::SingleSampleExperiment::PredHistIncCosmics(), ana::PredictionInterp::PredictionInterp(), ana::PredictionSyst3Flavor2020::PredictionSyst3Flavor2020(), ana::PredictionSystJoint2018::PredictionSystJoint2018(), ana::PredictionSystJointDemo::PredictionSystJointDemo(), ana::PredictionSystNue2017::PredictionSystNue2017(), ana::PredictionSystNumu2017::PredictionSystNumu2017(), ana::SystMaker::ProcessSyst(), calib::TimingCalibration::produce(), stan::math::rayleigh_ccdf_log(), stan::math::rayleigh_cdf_log(), stan::math::rayleigh_log(), stan::math::rayleigh_lpdf(), ana::RelMuEScaleSyst2017::RelMuEScaleSyst2017(), ana::RelNormSyst::RelNormSyst(), cmf::ShifterAndWeighter::RelNormWeight(), ana::RemIDScaleSyst::RemIDScaleSyst(), ana::RockMuonNormSyst::RockMuonNormSyst(), cmf::ShifterAndWeighter::RockNormOnFidWeight(), novaddt::UpMuAna::RootFitLLR(), runCheatDecomp(), ana::NuISyst::SampleName(), ana::NuISyst::SaveTo(), ana::SystMakerShiftSigma::SaveTo(), ana::SigmaDelta::SetFitVars(), earms::ElasticArms::SetHit(), ana::WrongSignContamination::Shift(), ana::WrongSignScale::Shift(), ana::NueExtrapSystBkg2017::Shift(), ana::NumuGEANTNormSyst::Shift(), ana::NueAcceptSystBkg2018FHC::Shift(), ana::MuEScaleSyst2017::Shift(), ana::NCtest::Shift(), ana::WrongSignEnergyBinRHC::Shift(), ana::NormSyst::Shift(), ana::HadEnergyScaleSyst::Shift(), ana::NumuGEANTScaleSyst::Shift(), ana::CorrMuEScaleSyst2019::Shift(), ana::CorrMuEScaleSyst2020::Shift(), ana::Nuetest::Shift(), ana::WrongSignEnergyBin::Shift(), ana::NumuSummedSmallGENIESyst::Shift(), ana::Numutest::Shift(), ana::RelMuEScaleSyst2017::Shift(), ana::NCScaleSyst::Shift(), ana::MuEnergyScaleSyst::Shift(), ana::WrongSignScale100::Shift(), ana::UnCorrFDMuEScaleSyst2019::Shift(), ana::UnCorrFDMuEScaleSyst2020::Shift(), ana::NueAcceptSystBkg2018RHC::Shift(), ana::BeamNueScaleSyst::Shift(), ana::NumuNCScaleSyst::Shift(), ana::DirectHadEScaleSyst2017::Shift(), ana::NumuCCScaleSyst::Shift(), ana::MyWrongSignScale::Shift(), ana::NumuTauContaminationSyst::Shift(), ana::UnCorrNDMuEScaleSyst2020::Shift(), ana::KaonScaleSyst::Shift(), ana::UnCorrNDMuEScaleSyst2019::Shift(), ana::NumuNormSyst::Shift(), ana::UnCorrMuCatMuESyst2020::Shift(), ana::NumuRelNormSyst::Shift(), ana::UnCorrMuCatMuESyst2019::Shift(), ana::LEMScaleSyst::Shift(), ana::RemIDScaleSyst::Shift(), ana::NumuEnergyScaleSyst::Shift(), ana::PileupMuESyst2020::Shift(), ana::PileupMuESyst2019::Shift(), ana::ContainmentSyst::Shift(), ana::DISHighWScaleSyst::Shift(), ana::CompNormSyst::Shift(), jw::CompNormSyst::Shift(), jw::MECInitStateNPFracShift::Shift(), cmf::ShifterAndWeighter::ShiftForParameter(), stan::math::skew_normal_ccdf_log(), stan::math::skew_normal_cdf_log(), stan::math::skew_normal_log(), stan::math::skew_normal_lpdf(), starPlot(), stan::math::student_t_ccdf_log(), stan::math::student_t_cdf_log(), stan::math::student_t_log(), stan::math::student_t_lpdf(), syst_test(), SystsBeamLoad(), SystsBeamTranspLoad17(), SystsGENIELoad(), SystsGENIELoad17(), demo::DemoSyst1::TruthShift(), ana::UnCorrFDMuEScaleSyst2019::UnCorrFDMuEScaleSyst2019(), ana::UnCorrFDMuEScaleSyst2020::UnCorrFDMuEScaleSyst2020(), ana::UnCorrMuCatMuESyst2019::UnCorrMuCatMuESyst2019(), ana::UnCorrMuCatMuESyst2020::UnCorrMuCatMuESyst2020(), ana::UnCorrNDMuEScaleSyst2019::UnCorrNDMuEScaleSyst2019(), ana::UnCorrNDMuEScaleSyst2020::UnCorrNDMuEScaleSyst2020(), stan::math::weibull_ccdf_log(), stan::math::weibull_cdf_log(), stan::math::weibull_log(), stan::math::weibull_lpdf(), ana::WrongSignContamination::WrongSignContamination(), ana::WrongSignEnergyBin::WrongSignEnergyBin(), ana::WrongSignEnergyBinRHC::WrongSignEnergyBinRHC(), ana::WrongSignScale::WrongSignScale(), ana::WrongSignScale100::WrongSignScale100(), xsec_extrap_plots(), and ana::SummedSyst::~SummedSyst().