9 #include "NuXAna/Analysis/NusSystsMaker.h" 19 bool fhc = opt.Contains(
"fhc", TString::kIgnoreCase);
20 bool rhc = opt.Contains(
"rhc", TString::kIgnoreCase);
26 TFile*
inFile =
new TFile(inFileName.c_str(),
"READ");
27 TFile*
outFile =
new TFile(saveName.c_str(),
"RECREATE");
40 nus_systs->PrintSysts();
43 nus_systs->DrawSysts(outFile);
46 std::vector<NusISyst*>
systs = nus_systs->MakeISysts();
47 for (
const auto& syst : systs)
50 TFile* systfile = TFile::Open(
"isysts.root",
"recreate");
51 for (
const auto& syst : systs)
52 syst->SaveTo(systfile, syst->ShortName().c_str());
Cuts and Vars for the 2020 FD DiF Study.
std::unique_ptr< T > LoadFrom(TDirectory *dir, const std::string &label)
const double kAna2018RHCPOT
inFileName
if we get here, we're doing the base definitions:
assert(nhit_max >=nhit_nbins)
void AnalyzeNus18Systs(std::string inFileName, TString opt)
const double kAna2018FHCPOT