#include "CAFAna/Analysis/Calcs.h"
#include "CAFAna/Analysis/Exposures.h"
#include "CAFAna/Fit/MinuitFitter.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/PredictionSystNue2017.h"
#include "CAFAna/Prediction/PredictionCombinePeriods.h"
#include "3FlavorAna/Systs/NumuSysts.h"
#include "CAFAna/Vars/FitVars.h"
#include "OscLib/IOscCalc.h"
#include "3FlavorAna/Ana2017/nue/joint_fit_2017_tools.h"
#include "TCanvas.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 "TMarker.h"
#include "TStyle.h"
#include "TSystem.h"
#include "TGaxis.h"
#include <algorithm>
#include <vector>
Go to the source code of this file.
Functions | |
void | DrawHieTag (int hie, bool th13=true, bool vert=false) |
TLegend * | ContourLegend (int hie, bool fillContour, bool fccorr, Int_t kFillColor1, Int_t kFillColor2, Int_t kFillColor3, Int_t kDarkColor, bool bestFit) |
void | FillGraphs (std::vector< TGraph * > g1, std::vector< TGraph * > g2, std::vector< TGraph * > g3, const Int_t kFillColor1, const Int_t kFillColor2, const Int_t kFillColor3, const Int_t kDarkColor, const TString surftype) |
void | DrawContourCanvas (TString surfName, double minx=0, double maxx=2, double miny=0, double maxy=1) |
void | joint_fit_2017_contours (std::string decomp="prop", bool createFile=false, bool corrSysts=false, TString options="joint_fakeNHLO", bool dmsqSurf=false, bool th13Surf=false, bool fccorr=false, bool zoomIn=true, bool fillContour=false, bool smooth=true) |
TLegend * ContourLegend | ( | int | hie, |
bool | fillContour, | ||
bool | fccorr, | ||
Int_t | kFillColor1, | ||
Int_t | kFillColor2, | ||
Int_t | kFillColor3, | ||
Int_t | kDarkColor, | ||
bool | bestFit | ||
) |
Definition at line 546 of file joint_fit_2017_contours.C.
References APDHVSetting::dummy, ana::k2SigmaConfidenceStyle, ana::kBlessedLabelFontSize, and MECModelEnuComparisons::leg.
Referenced by demoFitContours(), joint_fit_2017_contours(), joint_fit_2018_contours(), joint_fit_2019_contours(), plot_joint_fit_2020_contours(), sensitivity2018(), sensitivity2020(), and Tutorial2019FitContours().
void DrawContourCanvas | ( | TString | surfName, |
double | minx = 0 , |
||
double | maxx = 2 , |
||
double | miny = 0 , |
||
double | maxy = 1 |
||
) |
Definition at line 51 of file joint_fit_2017_contours.C.
References file_size_ana::axes, demo5::c1, ana::CenterTitles(), ana::kBlessedLabelFontSize, ana::kBlessedTitleFontSize, maxy, plotROC::title, ana::UniqueName(), and ana::XAxisDeltaCPLabels().
Referenced by compare_fits(), demoFitContours(), joint_fit_2017_contours(), joint_fit_2018_contours(), joint_fit_2019_contours(), median_contours(), nova_t2k_comparison(), plot_joint_fit_2020_contours(), sensitivity2018(), sensitivity2020(), and Tutorial2019FitContours().
Definition at line 523 of file joint_fit_2017_contours.C.
References ana::kBlessedLabelFontSize, ana::kPrimColorIH, and ana::kPrimColorNH.
Referenced by joint_fit_2017_contours().
void FillGraphs | ( | std::vector< TGraph * > | g1, |
std::vector< TGraph * > | g2, | ||
std::vector< TGraph * > | g3, | ||
const Int_t | kFillColor1, | ||
const Int_t | kFillColor2, | ||
const Int_t | kFillColor3, | ||
const Int_t | kDarkColor, | ||
const TString | surftype | ||
) |
This one needs some work by hands with putting JoinGraphs properly for each contour I didn't make it for the tutorial cases
Definition at line 595 of file joint_fit_2017_contours.C.
References MECModelEnuComparisons::g, APDGainPoints::gs, and ana::JoinGraphs().
Referenced by joint_fit_2017_contours().
void joint_fit_2017_contours | ( | std::string | decomp = "prop" , |
bool | createFile = false , |
||
bool | corrSysts = false , |
||
TString | options = "joint_fakeNHLO" , |
||
bool | dmsqSurf = false , |
||
bool | th13Surf = false , |
||
bool | fccorr = false , |
||
bool | zoomIn = true , |
||
bool | fillContour = false , |
||
bool | smooth = true |
||
) |
Definition at line 84 of file joint_fit_2017_contours.C.
References ana::FCSurface::Add(), ana::assert(), file_size_ana::axes, calc, ana::CenterTitles(), om::cerr, ContourLegend(), make_associated_cosmic_defs::cosmics, om::cout, ana::DataMCComparison(), gen_hdf5record::debug, plot_validation_datamc_2018::decomp, ana::DefaultOscCalc(), DrawContourCanvas(), DrawHieTag(), e, allTimeWatchdog::endl, exit(), galleryMaker::ext, FillGraphs(), ana::IFitter::Fit(), ana::Gaussian2Sigma2D(), ana::Gaussian3Sigma2D(), ana::Gaussian68Percent2D(), ana::GetCorrelations(), osc::_IOscCalcAdjustable< T >::GetDmsq32(), GetFakeData(), ana::GetJointFitSystematicList(), GetNueCosmics2017(), GetNueData2017(), GetNuePrediction2017(), GetNumuCosmics2017(), GetNumuData2017(), GetNumuPredictions2017(), hists, MECModelEnuComparisons::i, infile, makeTrainCVSamples::int, ana::k2SigmaConfidenceColorIH, ana::k2SigmaConfidenceColorNH, ana::k2SigmaConfidenceStyle, ana::kAna2017POT, ana::kCosmicBackgroundColor, ana::kDmsq32ConstraintPDG2017(), ana::kFitDeltaInPiUnits, ana::kFitDmSq32, ana::kFitDmSq32Scaled, ana::kFitSinSq2Theta13, ana::kFitSinSqTheta23, ana::kMECq0ShapeSyst2017, MECModelEnuComparisons::leg, ana::LoadFrom(), ana::FCCollection::LoadFromFile(), std::max(), min(), ana::SystShifts::Nominal(), fabricate::options, outdir, outfile, make_template_knob_config::outfilename, ana::ResetOscCalcToDefault(), ana::SystShifts::ResetToNominal(), moon_position_table_new3::second, osc::_IOscCalcAdjustable< T >::SetDmsq32(), SetFakeCalc(), ana::SetPaletteBlueRedCyclic(), ana::SetPaletteBlueRedWhite(), ana::SetPaletteWhiteBlueDark(), string, demo5::surf, ana::FCSurface::SurfaceForSignificance(), systs, art::to_string(), ana::ISurface::ToTH2(), registry_explorer::v, and ana::WorldReactorConstraint2017().