#include <ThinSliceDataSet.h>
Public Member Functions | |
ThinSliceDataSet () | |
ThinSliceDataSet (const std::vector< double > &incident_bins, const std::vector< fhicl::ParameterSet > &selections) | |
~ThinSliceDataSet () | |
const std::map< int, std::string > & | GetSelectionNames () const |
std::string & | GetSelectionName (int id) |
std::map< int, TH1 * > & | GetSelectionHists () |
std::map< int, TH1 * > & | GetRebinnedSelectionHists () |
TH1 * | GetSelectionHist (int id) |
TH1D & | GetIncidentHist () |
TH1D & | GetRebinnedIncidentHist () |
TH1 * | GetRebinnedSelectionHist (int id) |
void | FillIncidentHist (const std::vector< double > &vals) |
void | FillSelectionHist (int id, double val) |
template<size_t N> | |
void | FillSelectionHist (int id, const double(&vals)[N]) |
void | MakeRebinnedHists () |
void | Refill1DRebinned () |
void | GetCumulatives () |
void | GenerateStatFluctuation () |
void | FillHistsFromSamples (const std::map< int, std::vector< std::vector< ThinSliceSample >>> &samples, double &flux) |
Private Member Functions | |
void | Rebin1D (TH1 *sel_hist, TH1 *rebinned) |
void | Rebin2D (TH1 *sel_hist, TH1 *rebinned) |
void | Rebin3D (TH1 *sel_hist, TH1 *rebinned) |
Private Attributes | |
std::map< int, TH1 * > | fSelectionHists |
TH1D | fIncidentHist |
std::map< int, TH1 * > | fSelectionHistsRebinned |
TH1D | fIncidentHistRebinned |
bool | fMadeRebinned = false |
std::map< int, std::string > | fSelectionNames |
std::vector< std::pair< std::pair< int, int >, double > > | fCumulatives |
TRandom3 | fRNG = TRandom3(0) |
double | fTotal |
Definition at line 16 of file ThinSliceDataSet.h.
|
inline |
Definition at line 18 of file ThinSliceDataSet.h.
protoana::ThinSliceDataSet::ThinSliceDataSet | ( | const std::vector< double > & | incident_bins, |
const std::vector< fhicl::ParameterSet > & | selections | ||
) |
Definition at line 4 of file ThinSliceDataSet.cxx.
|
inline |
Definition at line 21 of file ThinSliceDataSet.h.
void protoana::ThinSliceDataSet::FillHistsFromSamples | ( | const std::map< int, std::vector< std::vector< ThinSliceSample >>> & | samples, |
double & | flux | ||
) |
Definition at line 250 of file ThinSliceDataSet.cxx.
|
inline |
Definition at line 55 of file ThinSliceDataSet.h.
|
inline |
Definition at line 61 of file ThinSliceDataSet.h.
|
inline |
Definition at line 67 of file ThinSliceDataSet.h.
void protoana::ThinSliceDataSet::GenerateStatFluctuation | ( | ) |
Definition at line 192 of file ThinSliceDataSet.cxx.
|
inline |
Definition at line 90 of file ThinSliceDataSet.h.
|
inline |
Definition at line 43 of file ThinSliceDataSet.h.
|
inline |
Definition at line 47 of file ThinSliceDataSet.h.
|
inline |
Definition at line 51 of file ThinSliceDataSet.h.
|
inline |
Definition at line 35 of file ThinSliceDataSet.h.
|
inline |
Definition at line 39 of file ThinSliceDataSet.h.
|
inline |
Definition at line 31 of file ThinSliceDataSet.h.
|
inline |
Definition at line 27 of file ThinSliceDataSet.h.
|
inline |
Definition at line 23 of file ThinSliceDataSet.h.
void protoana::ThinSliceDataSet::MakeRebinnedHists | ( | ) |
Definition at line 49 of file ThinSliceDataSet.cxx.
|
private |
Definition at line 128 of file ThinSliceDataSet.cxx.
|
private |
Definition at line 141 of file ThinSliceDataSet.cxx.
|
private |
Definition at line 162 of file ThinSliceDataSet.cxx.
void protoana::ThinSliceDataSet::Refill1DRebinned | ( | ) |
Definition at line 119 of file ThinSliceDataSet.cxx.
|
private |
Definition at line 134 of file ThinSliceDataSet.h.
|
private |
Definition at line 129 of file ThinSliceDataSet.h.
|
private |
Definition at line 131 of file ThinSliceDataSet.h.
|
private |
Definition at line 132 of file ThinSliceDataSet.h.
|
private |
Definition at line 135 of file ThinSliceDataSet.h.
|
private |
Definition at line 128 of file ThinSliceDataSet.h.
|
private |
Definition at line 130 of file ThinSliceDataSet.h.
|
private |
Definition at line 133 of file ThinSliceDataSet.h.
|
private |
Definition at line 136 of file ThinSliceDataSet.h.