#include <CosmicHisto.h>
Public Member Functions | |
void | Initialize (const std::string &prefix, const geo::BoxBoundedGeo &detector_volume) |
void | Fill (const std::map< size_t, numu::TrueParticle > &true_particles) |
Public Member Functions inherited from ana::SBNOsc::HistoList | |
void | Scale (double scale) |
void | Add (const HistoList &other) |
void | Write () |
void | StoreHisto (TH1 *histo) |
void | Merge (const HistoList &merge) |
Public Attributes | |
TH1D * | momentum |
TH1D * | enter_time |
TH1D * | enter_time_zoom |
TH1D * | enter_y |
TH1D * | enter_x |
TH1D * | enter_z |
Public Attributes inherited from ana::SBNOsc::HistoList | |
std::vector< TH1 * > | fAllHistos |
std::vector< TDirectory * > | fLocations |
Histograms associated with neutrino interactions. Filled for the list of all true and reco vertices. These histograms are constructed per interaction mode per cut.
Definition at line 24 of file CosmicHisto.h.
void ana::SBNOsc::CosmicHistos::Fill | ( | const std::map< size_t, numu::TrueParticle > & | true_particles | ) |
Fill the histograms with all cosmic muons in a single event
true_particles | The map of true particles in the event |
Definition at line 22 of file CosmicHisto.cc.
void ana::SBNOsc::CosmicHistos::Initialize | ( | const std::string & | prefix, |
const geo::BoxBoundedGeo & | detector_volume | ||
) |
Intialize the histograms
prefix | A prefix to be added to each histogram name |
Definition at line 9 of file CosmicHisto.cc.
TH1D* ana::SBNOsc::CosmicHistos::enter_time |
Definition at line 27 of file CosmicHisto.h.
TH1D* ana::SBNOsc::CosmicHistos::enter_time_zoom |
Definition at line 28 of file CosmicHisto.h.
TH1D* ana::SBNOsc::CosmicHistos::enter_x |
Definition at line 30 of file CosmicHisto.h.
TH1D* ana::SBNOsc::CosmicHistos::enter_y |
Definition at line 29 of file CosmicHisto.h.
TH1D* ana::SBNOsc::CosmicHistos::enter_z |
Definition at line 31 of file CosmicHisto.h.
TH1D* ana::SBNOsc::CosmicHistos::momentum |
Definition at line 26 of file CosmicHisto.h.