#include "CAFAna/Core/Binning.h"
#include "CAFAna/Cuts/Cuts.h"
#include "3FlavorAna/Cuts/NumuCuts.h"
#include "CAFAna/Core/EventList.h"
#include "CAFAna/Analysis/Plots.h"
#include "CAFAna/Core/Spectrum.h"
#include "CAFAna/Core/SpectrumLoader.h"
#include "CAFAna/Vars/Vars.h"
#include "StandardRecord/Proxy/SRProxy.h"
#include "TCanvas.h"
#include "TH2.h"
#include "TStyle.h"
#include "TLegend.h"
#include "TLatex.h"
Go to the source code of this file.
Functions | |
void | Preliminary () |
Put NOvA Preliminary on plots. More... | |
void | legend (TH1 *data, TH1 *genie, TH1 *cosmic) |
legend to depict Data vs. GENIE MC vs. COSMIC MC More... | |
void | demo6 () |
void demo6 | ( | ) |
Remove statistics from plots
Data, GENIE, Cosmic MC files
These are just place-holder histograms for ease of use with the TLegend
Spectrum to be filled from the loader List spectra we'd like to draw along with the cuts we'd like to apply Here we're defining cut to be on kCleanup
Definition at line 50 of file demo6.C.
References ana::bins, caf::Proxy< caf::SRSlice >::boxmax, caf::Proxy< caf::SRSlice >::boxmin, caf::Proxy< caf::SRTrackBranch >::cosmic, ana::DataMCComparisonAreaNormalized(), ana::SpectrumLoader::Go(), plot_xsec_1d::hgenie, Integral(), caf::Proxy< caf::SRTrackBranch >::kalman, kBlue, ana::kCleanup, ana::kCosmic, ana::kNContPlanes, ana::kNHit, ana::kNumuContainFD, kRed, demo0::kTrackLen, legend(), ana::MakeEventListFile(), caf::Proxy< caf::StandardRecord >::mc, caf::Proxy< caf::SRSlice >::ncontplanes, caf::Proxy< caf::SRSlice >::nhit, caf::Proxy< caf::SRTruthBranch >::nnu, caf::Proxy< caf::SRTrackBase >::ntracks, caf::Proxy< caf::SRKalman >::ntracks, ana::Spectrum::POT(), Preliminary(), ana::Binning::Simple(), caf::Proxy< caf::StandardRecord >::slc, sr, string, ana::Spectrum::ToTH1(), ana::Spectrum::ToTH2(), caf::Proxy< caf::SRTrackBase >::tracks, caf::Proxy< caf::SRKalman >::tracks, caf::Proxy< caf::StandardRecord >::trk, caf::Proxy< caf::SRVector3D >::X(), caf::Proxy< caf::SRVector3D >::Y(), and caf::Proxy< caf::SRVector3D >::Z().
void legend | ( | TH1 * | data, |
TH1 * | genie, | ||
TH1 * | cosmic | ||
) |
legend to depict Data vs. GENIE MC vs. COSMIC MC
Definition at line 37 of file demo6.C.
References MECModelEnuComparisons::leg.
Referenced by demo6().