A class to manage the bin definitions for MIPP Numi Yields. More...
#include <MIPPNumiYieldsBins.h>
Public Member Functions | |
void | pip_data_from_xml (const char *filename) |
Read a xml pip file name to parse the bins. More... | |
void | pim_data_from_xml (const char *filename) |
Read a xml pim file name to parse the bins. More... | |
void | k_pi_data_from_xml (const char *filename) |
Read a xml kaons over pions file name to parse the bins. More... | |
int | BinID (double pz, double pt, int pdgcode) |
Return the Bin ID for this data. More... | |
int | GetNbins_pip_MIPPNuMI () |
int | GetNbins_pim_MIPPNuMI () |
int | GetNbins_K_MIPPNuMI () |
Static Public Member Functions | |
static MIPPNumiYieldsBins * | getInstance () |
Public Attributes | |
std::vector< double > | pip_data_pzmin |
std::vector< double > | pim_data_pzmin |
std::vector< double > | k_pi_data_pzmin |
std::vector< double > | pip_data_pzmax |
std::vector< double > | pim_data_pzmax |
std::vector< double > | k_pi_data_pzmax |
std::vector< double > | pip_data_ptmin |
std::vector< double > | pim_data_ptmin |
std::vector< double > | k_pi_data_ptmin |
std::vector< double > | pip_data_ptmax |
std::vector< double > | pim_data_ptmax |
std::vector< double > | k_pi_data_ptmax |
Private Member Functions | |
MIPPNumiYieldsBins () | |
Static Private Attributes | |
static MIPPNumiYieldsBins * | instance = 0 |
A class to manage the bin definitions for MIPP Numi Yields.
Definition at line 13 of file MIPPNumiYieldsBins.h.
|
private |
Definition at line 15 of file MIPPNumiYieldsBins.cpp.
int NeutrinoFluxReweight::MIPPNumiYieldsBins::BinID | ( | double | pz, |
double | pt, | ||
int | pdgcode | ||
) |
Return the Bin ID for this data.
Definition at line 105 of file MIPPNumiYieldsBins.cpp.
|
static |
Definition at line 153 of file MIPPNumiYieldsBins.cpp.
int NeutrinoFluxReweight::MIPPNumiYieldsBins::GetNbins_K_MIPPNuMI | ( | ) |
Definition at line 148 of file MIPPNumiYieldsBins.cpp.
int NeutrinoFluxReweight::MIPPNumiYieldsBins::GetNbins_pim_MIPPNuMI | ( | ) |
Definition at line 144 of file MIPPNumiYieldsBins.cpp.
int NeutrinoFluxReweight::MIPPNumiYieldsBins::GetNbins_pip_MIPPNuMI | ( | ) |
Definition at line 140 of file MIPPNumiYieldsBins.cpp.
void NeutrinoFluxReweight::MIPPNumiYieldsBins::k_pi_data_from_xml | ( | const char * | filename | ) |
Read a xml kaons over pions file name to parse the bins.
Definition at line 77 of file MIPPNumiYieldsBins.cpp.
void NeutrinoFluxReweight::MIPPNumiYieldsBins::pim_data_from_xml | ( | const char * | filename | ) |
Read a xml pim file name to parse the bins.
Definition at line 48 of file MIPPNumiYieldsBins.cpp.
void NeutrinoFluxReweight::MIPPNumiYieldsBins::pip_data_from_xml | ( | const char * | filename | ) |
Read a xml pip file name to parse the bins.
Definition at line 18 of file MIPPNumiYieldsBins.cpp.
|
staticprivate |
Definition at line 44 of file MIPPNumiYieldsBins.h.
std::vector<double> NeutrinoFluxReweight::MIPPNumiYieldsBins::k_pi_data_ptmax |
Definition at line 36 of file MIPPNumiYieldsBins.h.
std::vector<double> NeutrinoFluxReweight::MIPPNumiYieldsBins::k_pi_data_ptmin |
Definition at line 35 of file MIPPNumiYieldsBins.h.
std::vector<double> NeutrinoFluxReweight::MIPPNumiYieldsBins::k_pi_data_pzmax |
Definition at line 34 of file MIPPNumiYieldsBins.h.
std::vector<double> NeutrinoFluxReweight::MIPPNumiYieldsBins::k_pi_data_pzmin |
Definition at line 33 of file MIPPNumiYieldsBins.h.
std::vector<double> NeutrinoFluxReweight::MIPPNumiYieldsBins::pim_data_ptmax |
Definition at line 36 of file MIPPNumiYieldsBins.h.
std::vector<double> NeutrinoFluxReweight::MIPPNumiYieldsBins::pim_data_ptmin |
Definition at line 35 of file MIPPNumiYieldsBins.h.
std::vector<double> NeutrinoFluxReweight::MIPPNumiYieldsBins::pim_data_pzmax |
Definition at line 34 of file MIPPNumiYieldsBins.h.
std::vector<double> NeutrinoFluxReweight::MIPPNumiYieldsBins::pim_data_pzmin |
Definition at line 33 of file MIPPNumiYieldsBins.h.
std::vector<double> NeutrinoFluxReweight::MIPPNumiYieldsBins::pip_data_ptmax |
Definition at line 36 of file MIPPNumiYieldsBins.h.
std::vector<double> NeutrinoFluxReweight::MIPPNumiYieldsBins::pip_data_ptmin |
Definition at line 35 of file MIPPNumiYieldsBins.h.
std::vector<double> NeutrinoFluxReweight::MIPPNumiYieldsBins::pip_data_pzmax |
Definition at line 34 of file MIPPNumiYieldsBins.h.
std::vector<double> NeutrinoFluxReweight::MIPPNumiYieldsBins::pip_data_pzmin |
Definition at line 33 of file MIPPNumiYieldsBins.h.