Classes | Functions | Variables
preselection_cutflow.C File Reference
#include "CAFAna/Core/Spectrum.h"
#include "CAFAna/Core/SpectrumLoader.h"
#include "NDAna/nuebarcc_inc/NuebarCCIncCuts.h"
#include "NDAna/nuebarcc_inc/NuebarCCIncExtra.h"
#include "CAFAna/Vars/XsecTunes.h"
#include "CAFAna/Vars/PPFXWeights.h"
#include "CAFAna/Cuts/SpillCuts.h"
#include "CAFAna/Analysis/Exposures.h"
#include "TCanvas.h"
#include "TLegend.h"
#include "NDAna/Classifiers/MuonID.h"

Go to the source code of this file.

Classes

struct  order_cuts
 
struct  order_chns
 

Functions

template<class Compare = less<std::string>>
void Plot (std::map< std::string, TH1D *, Compare > hists, std::string name, bool show_integral)
 
void Plot (TH1D *hist, std::string label, std::string name, bool show_integral)
 
void preselection_cutflow (std::string input_file_name="", std::string plot_dump=".")
 

Variables

const ana::Cut kMubarIDCut = ana::muonid_classifier::kMuonID < 0
 
std::vector< std::stringcut_labels
 

Function Documentation

template<class Compare = less<std::string>>
void Plot ( std::map< std::string, TH1D *, Compare hists,
std::string  name,
bool  show_integral 
)
void Plot ( TH1D *  hist,
std::string  label,
std::string  name,
bool  show_integral 
)
void preselection_cutflow ( std::string  input_file_name = "",
std::string  plot_dump = "." 
)

Variable Documentation

std::vector<std::string> cut_labels
Initial value:
= {"Data Quality",
"NHits",
"Front Planes",
"Fiducial",
"Containment",
"MuonID"}

Definition at line 22 of file preselection_cutflow.C.

Referenced by make_muonid_opt(), make_vertex_optimiz(), muonid_fhc_dist(), muonid_rhc_dist(), order_cuts::operator()(), plot_uncertainty(), preselection_cutflow(), prod4_pid(), ana::SpectrumHandler::SetCuts(), and vertex_optimize().

const ana::Cut kMubarIDCut = ana::muonid_classifier::kMuonID < 0

Definition at line 17 of file preselection_cutflow.C.