#include <InteractionHisto.h>
Public Member Functions | |
void | Initialize (const std::string &prefix, const geo::BoxBoundedGeo &detector_volume, const std::vector< double > &tagger_volume) |
void | Fill (const numu::RecoInteraction &vertex, const numu::RecoEvent &event, const std::vector< event::Interaction > &core_truth) |
void | Fill (const event::Interaction &interaction, unsigned mctruth_id, const numu::RecoEvent &event) |
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 * | track_length |
Length of the reconstructed primary track. More... | |
TH1D * | nuE |
Neutrino energy. More... | |
TH1D * | track_p |
Primary track momentum. More... | |
TH1D * | beam_center_distance |
Distance of the neutrino interaction to the beam center. More... | |
TH1D * | Q2 |
Q2 of the interaction. More... | |
TH1D * | true_contained_length |
True contained length of primary track. More... | |
TH1D * | true_track_multiplicity |
True particle multiplicity of the interaction. More... | |
TH1D * | crosses_tpc |
Whether the primary track crosses a TPC boundary. More... | |
TH1D * | dist_to_match |
Distance from this vertex to the closest matching vertex reco->truth and truth->reco. More... | |
TH1D * | primary_track_completion |
Completion of the primary track. More... | |
TH1D * | n_reco_vertices |
Number of reconstructed vertices in the event with this vertex. More... | |
TH1D * | maxpe_crt_intime_hit |
Maximum number of PE's in a single CRT hit in time with the beam. More... | |
TH1D * | crt_hit_times |
TH1D * | closest_crt_hit_time |
TH1D * | crt_pes |
TH1D * | fmatch_score |
TH2D * | fmatch_score_true_time |
TH2D * | fmatch_score_true_time_zoom |
TH1D * | fmatch_score_outtime |
TH1D * | fmatch_score_intime |
TH2D * | fmatch_time_true_time_zoom |
TH1D * | fmatch_time |
TH1D * | fmatch_time_real_time |
TH2D * | intime_crt_hits_xy |
TH2D * | intime_crt_hits_xz |
TH2D * | intime_crt_hits_yz |
TH2D * | vertex_xy |
TH2D * | vertex_yz |
TH2D * | vertex_xz |
TH1D * | vertex_x |
TH1D * | vertex_y |
TH1D * | vertex_z |
TH2D * | light_trigger |
Public Attributes inherited from ana::SBNOsc::HistoList | |
std::vector< TH1 * > | fAllHistos |
std::vector< TDirectory * > | fLocations |
Private Member Functions | |
void | FillEvent (const numu::RecoEvent &event) |
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 25 of file InteractionHisto.h.
void ana::SBNOsc::InteractionHistos::Fill | ( | const numu::RecoInteraction & | vertex, |
const numu::RecoEvent & | event, | ||
const std::vector< event::Interaction > & | core_truth | ||
) |
Fill the histograms with a single reconstructed neutrino candidate
vertex | The reconstructed vertex being filled |
event | The reco event object |
core_truth | The list of true interactions from sbncode core |
Definition at line 90 of file InteractionHisto.cc.
void ana::SBNOsc::InteractionHistos::Fill | ( | const event::Interaction & | interaction, |
unsigned | mctruth_id, | ||
const numu::RecoEvent & | event | ||
) |
Fill the histograms with a single true interaction
interaction | The true interaction |
mctruth_id | ID of the interaction (index into the list of Interactions) |
event | The reco event object |
Definition at line 60 of file InteractionHisto.cc.
|
private |
Definition at line 164 of file InteractionHisto.cc.
void ana::SBNOsc::InteractionHistos::Initialize | ( | const std::string & | prefix, |
const geo::BoxBoundedGeo & | detector_volume, | ||
const std::vector< double > & | tagger_volume | ||
) |
Intialize the histograms
prefix | A prefix to be added to each histogram name |
mode | The mode of interaction for these histograms |
index | The cut index for these histograms. |
Definition at line 11 of file InteractionHisto.cc.
TH1D* ana::SBNOsc::InteractionHistos::beam_center_distance |
Distance of the neutrino interaction to the beam center.
Definition at line 30 of file InteractionHisto.h.
TH1D* ana::SBNOsc::InteractionHistos::closest_crt_hit_time |
Definition at line 40 of file InteractionHisto.h.
TH1D* ana::SBNOsc::InteractionHistos::crosses_tpc |
Whether the primary track crosses a TPC boundary.
Definition at line 34 of file InteractionHisto.h.
TH1D* ana::SBNOsc::InteractionHistos::crt_hit_times |
Definition at line 39 of file InteractionHisto.h.
TH1D* ana::SBNOsc::InteractionHistos::crt_pes |
Definition at line 41 of file InteractionHisto.h.
TH1D* ana::SBNOsc::InteractionHistos::dist_to_match |
Distance from this vertex to the closest matching vertex reco->truth and truth->reco.
Definition at line 35 of file InteractionHisto.h.
TH1D* ana::SBNOsc::InteractionHistos::fmatch_score |
Definition at line 42 of file InteractionHisto.h.
TH1D* ana::SBNOsc::InteractionHistos::fmatch_score_intime |
Definition at line 46 of file InteractionHisto.h.
TH1D* ana::SBNOsc::InteractionHistos::fmatch_score_outtime |
Definition at line 45 of file InteractionHisto.h.
TH2D* ana::SBNOsc::InteractionHistos::fmatch_score_true_time |
Definition at line 43 of file InteractionHisto.h.
TH2D* ana::SBNOsc::InteractionHistos::fmatch_score_true_time_zoom |
Definition at line 44 of file InteractionHisto.h.
TH1D* ana::SBNOsc::InteractionHistos::fmatch_time |
Definition at line 48 of file InteractionHisto.h.
TH1D* ana::SBNOsc::InteractionHistos::fmatch_time_real_time |
Definition at line 49 of file InteractionHisto.h.
TH2D* ana::SBNOsc::InteractionHistos::fmatch_time_true_time_zoom |
Definition at line 47 of file InteractionHisto.h.
TH2D* ana::SBNOsc::InteractionHistos::intime_crt_hits_xy |
Definition at line 50 of file InteractionHisto.h.
TH2D* ana::SBNOsc::InteractionHistos::intime_crt_hits_xz |
Definition at line 51 of file InteractionHisto.h.
TH2D* ana::SBNOsc::InteractionHistos::intime_crt_hits_yz |
Definition at line 52 of file InteractionHisto.h.
TH2D* ana::SBNOsc::InteractionHistos::light_trigger |
Definition at line 59 of file InteractionHisto.h.
TH1D* ana::SBNOsc::InteractionHistos::maxpe_crt_intime_hit |
Maximum number of PE's in a single CRT hit in time with the beam.
Definition at line 38 of file InteractionHisto.h.
TH1D* ana::SBNOsc::InteractionHistos::n_reco_vertices |
Number of reconstructed vertices in the event with this vertex.
Definition at line 37 of file InteractionHisto.h.
TH1D* ana::SBNOsc::InteractionHistos::nuE |
Neutrino energy.
Definition at line 28 of file InteractionHisto.h.
TH1D* ana::SBNOsc::InteractionHistos::primary_track_completion |
Completion of the primary track.
Definition at line 36 of file InteractionHisto.h.
TH1D* ana::SBNOsc::InteractionHistos::Q2 |
Q2 of the interaction.
Definition at line 31 of file InteractionHisto.h.
TH1D* ana::SBNOsc::InteractionHistos::track_length |
Length of the reconstructed primary track.
Definition at line 27 of file InteractionHisto.h.
TH1D* ana::SBNOsc::InteractionHistos::track_p |
Primary track momentum.
Definition at line 29 of file InteractionHisto.h.
TH1D* ana::SBNOsc::InteractionHistos::true_contained_length |
True contained length of primary track.
Definition at line 32 of file InteractionHisto.h.
TH1D* ana::SBNOsc::InteractionHistos::true_track_multiplicity |
True particle multiplicity of the interaction.
Definition at line 33 of file InteractionHisto.h.
TH1D* ana::SBNOsc::InteractionHistos::vertex_x |
Definition at line 56 of file InteractionHisto.h.
TH2D* ana::SBNOsc::InteractionHistos::vertex_xy |
Definition at line 53 of file InteractionHisto.h.
TH2D* ana::SBNOsc::InteractionHistos::vertex_xz |
Definition at line 55 of file InteractionHisto.h.
TH1D* ana::SBNOsc::InteractionHistos::vertex_y |
Definition at line 57 of file InteractionHisto.h.
TH2D* ana::SBNOsc::InteractionHistos::vertex_yz |
Definition at line 54 of file InteractionHisto.h.
TH1D* ana::SBNOsc::InteractionHistos::vertex_z |
Definition at line 58 of file InteractionHisto.h.