8 #include "CAFAna/Core/Binning.h" void test_sam_project(std::string projname, int fileLimit=-1)
Cuts and Vars for the 2020 FD DiF Study.
TH1D * ToTH1(double exposure, Color_t col=kBlack, Style_t style=kSolid, EExposureType expotype=kPOT, EBinType bintype=kBinContent) const
Histogram made from this Spectrum, scaled to some exposure.
Representation of a spectrum in any variable, with associated POT.
const Var kCaloE
Summed calorimetric energy of all hits in slice, uncorrected.
static SpectrumLoader FromSAMProject(const std::string &proj, int fileLimit=-1)
Named constructor for SAM projects.
virtual void Go() override
Load all the registered spectra.
Collaborates with Spectrum and OscillatableSpectrum to fill spectra from CAF files.
static Binning Simple(int n, double lo, double hi, const std::vector< std::string > &labels={})
const Cut kNoCut
The simplest possible cut: pass everything, used as a default.