A class to manage the bin definitions for MIPP Numi Yields. More...
#include <ThinTargetBins.h>
Public Member Functions | |
void | pC_pi_from_xml (const char *filename) |
Read a NA49 data pip xml file name to parse the bins. More... | |
void | barton_pC_pi_from_xml (const char *filename) |
Barton: More... | |
void | pC_k_from_xml (const char *filename) |
Read a NA49 data K xml file name to parse the bins. More... | |
void | pC_p_from_xml (const char *filename) |
Read a NA49 data prt xml file name to parse the bins. More... | |
void | pC_n_from_xml (const char *filename) |
Read a NA49 data neutron xml file name to parse the bins. More... | |
void | mipp_pC_k_pi_from_xml (const char *filename) |
MIPP k/pi: More... | |
void | meson_incident_from_xml (const char *filename) |
Read a pion incident. More... | |
void | material_scaling_from_xml (const char *filename) |
Read a pion incident. More... | |
int | BinID_pC_pi (double xf, double pt, int pdgcode) |
Return the Bin ID for this data. More... | |
int | barton_BinID_pC_pi (double xf, double pt, int pdgcode) |
Return the Bin ID for this data. More... | |
int | BinID_pC_p (double xf, double pt, int pdgcode) |
Return the Bin ID for this data. More... | |
int | BinID_pC_n (double xf, int pdgcode) |
Return the Bin ID for this data. More... | |
int | BinID_pC_k (double xf, double pt, int pdgcode) |
Return the Bin ID for this data. More... | |
int | mipp_BinID_pC_k (double pz, double pt, int pdgcode) |
Return the MIPP Thin Target Bin ID for this data. More... | |
int | meson_inc_BinID (double xf, double pt, int pdgcode) |
Return Pion incident bin. More... | |
int | material_scaling_BinID (double xf, double pt, int pdgcode) |
Return material scaling bin. More... | |
int | GetNbins_pC_piX_NA49 () |
int | GetNbins_pC_piX_Barton () |
int | GetNbins_pC_pX_NA49 () |
int | GetNbins_pC_nX_NA49 () |
int | GetNbins_pC_KX_NA49 () |
int | GetNbins_pC_KX_MIPP () |
int | GetNbins_meson_incident () |
int | GetNbins_material_scaling () |
Static Public Member Functions | |
static ThinTargetBins * | getInstance () |
Private Member Functions | |
ThinTargetBins () | |
Static Private Attributes | |
static ThinTargetBins * | instance = 0 |
A class to manage the bin definitions for MIPP Numi Yields.
Definition at line 13 of file ThinTargetBins.h.
|
private |
Definition at line 15 of file ThinTargetBins.cpp.
int NeutrinoFluxReweight::ThinTargetBins::barton_BinID_pC_pi | ( | double | xf, |
double | pt, | ||
int | pdgcode | ||
) |
Return the Bin ID for this data.
Definition at line 248 of file ThinTargetBins.cpp.
void NeutrinoFluxReweight::ThinTargetBins::barton_pC_pi_from_xml | ( | const char * | filename | ) |
Barton:
Definition at line 46 of file ThinTargetBins.cpp.
int NeutrinoFluxReweight::ThinTargetBins::BinID_pC_k | ( | double | xf, |
double | pt, | ||
int | pdgcode | ||
) |
Return the Bin ID for this data.
Definition at line 301 of file ThinTargetBins.cpp.
int NeutrinoFluxReweight::ThinTargetBins::BinID_pC_n | ( | double | xf, |
int | pdgcode | ||
) |
Return the Bin ID for this data.
Definition at line 284 of file ThinTargetBins.cpp.
int NeutrinoFluxReweight::ThinTargetBins::BinID_pC_p | ( | double | xf, |
double | pt, | ||
int | pdgcode | ||
) |
Return the Bin ID for this data.
Definition at line 266 of file ThinTargetBins.cpp.
int NeutrinoFluxReweight::ThinTargetBins::BinID_pC_pi | ( | double | xf, |
double | pt, | ||
int | pdgcode | ||
) |
Return the Bin ID for this data.
Definition at line 230 of file ThinTargetBins.cpp.
|
static |
Definition at line 406 of file ThinTargetBins.cpp.
int NeutrinoFluxReweight::ThinTargetBins::GetNbins_material_scaling | ( | ) |
Definition at line 401 of file ThinTargetBins.cpp.
int NeutrinoFluxReweight::ThinTargetBins::GetNbins_meson_incident | ( | ) |
Definition at line 397 of file ThinTargetBins.cpp.
int NeutrinoFluxReweight::ThinTargetBins::GetNbins_pC_KX_MIPP | ( | ) |
Definition at line 393 of file ThinTargetBins.cpp.
int NeutrinoFluxReweight::ThinTargetBins::GetNbins_pC_KX_NA49 | ( | ) |
Definition at line 389 of file ThinTargetBins.cpp.
int NeutrinoFluxReweight::ThinTargetBins::GetNbins_pC_nX_NA49 | ( | ) |
Definition at line 385 of file ThinTargetBins.cpp.
int NeutrinoFluxReweight::ThinTargetBins::GetNbins_pC_piX_Barton | ( | ) |
Definition at line 377 of file ThinTargetBins.cpp.
int NeutrinoFluxReweight::ThinTargetBins::GetNbins_pC_piX_NA49 | ( | ) |
Definition at line 373 of file ThinTargetBins.cpp.
int NeutrinoFluxReweight::ThinTargetBins::GetNbins_pC_pX_NA49 | ( | ) |
Definition at line 381 of file ThinTargetBins.cpp.
int NeutrinoFluxReweight::ThinTargetBins::material_scaling_BinID | ( | double | xf, |
double | pt, | ||
int | pdgcode | ||
) |
Return material scaling bin.
Definition at line 355 of file ThinTargetBins.cpp.
void NeutrinoFluxReweight::ThinTargetBins::material_scaling_from_xml | ( | const char * | filename | ) |
Read a pion incident.
Definition at line 202 of file ThinTargetBins.cpp.
int NeutrinoFluxReweight::ThinTargetBins::meson_inc_BinID | ( | double | xf, |
double | pt, | ||
int | pdgcode | ||
) |
Return Pion incident bin.
Definition at line 337 of file ThinTargetBins.cpp.
void NeutrinoFluxReweight::ThinTargetBins::meson_incident_from_xml | ( | const char * | filename | ) |
Read a pion incident.
Definition at line 175 of file ThinTargetBins.cpp.
int NeutrinoFluxReweight::ThinTargetBins::mipp_BinID_pC_k | ( | double | pz, |
double | pt, | ||
int | pdgcode | ||
) |
Return the MIPP Thin Target Bin ID for this data.
Definition at line 319 of file ThinTargetBins.cpp.
void NeutrinoFluxReweight::ThinTargetBins::mipp_pC_k_pi_from_xml | ( | const char * | filename | ) |
MIPP k/pi:
Definition at line 148 of file ThinTargetBins.cpp.
void NeutrinoFluxReweight::ThinTargetBins::pC_k_from_xml | ( | const char * | filename | ) |
Read a NA49 data K xml file name to parse the bins.
Definition at line 121 of file ThinTargetBins.cpp.
void NeutrinoFluxReweight::ThinTargetBins::pC_n_from_xml | ( | const char * | filename | ) |
Read a NA49 data neutron xml file name to parse the bins.
Definition at line 100 of file ThinTargetBins.cpp.
void NeutrinoFluxReweight::ThinTargetBins::pC_p_from_xml | ( | const char * | filename | ) |
Read a NA49 data prt xml file name to parse the bins.
Definition at line 73 of file ThinTargetBins.cpp.
void NeutrinoFluxReweight::ThinTargetBins::pC_pi_from_xml | ( | const char * | filename | ) |
Read a NA49 data pip xml file name to parse the bins.
Definition at line 19 of file ThinTargetBins.cpp.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::b_pC_pi_ptmax |
Definition at line 72 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::b_pC_pi_ptmin |
Definition at line 72 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::b_pC_pi_xfmax |
Definition at line 72 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::b_pC_pi_xfmin |
Definition at line 72 of file ThinTargetBins.h.
|
staticprivate |
Definition at line 104 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::mat_scal_ptmax |
Definition at line 88 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::mat_scal_ptmin |
Definition at line 88 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::mat_scal_xfmax |
Definition at line 88 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::mat_scal_xfmin |
Definition at line 88 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::meson_inc_ptmax |
Definition at line 85 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::meson_inc_ptmin |
Definition at line 85 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::meson_inc_xfmax |
Definition at line 85 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::meson_inc_xfmin |
Definition at line 85 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::mipp_pC_k_ptmax |
Definition at line 82 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::mipp_pC_k_ptmin |
Definition at line 82 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::mipp_pC_k_pzmax |
Definition at line 82 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::mipp_pC_k_pzmin |
Definition at line 82 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::pC_k_ptmax |
Definition at line 81 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::pC_k_ptmin |
Definition at line 81 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::pC_k_xfmax |
Definition at line 81 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::pC_k_xfmin |
Definition at line 81 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::pC_n_xfmax |
Definition at line 78 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::pC_n_xfmin |
Definition at line 78 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::pC_p_ptmax |
Definition at line 75 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::pC_p_ptmin |
Definition at line 75 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::pC_p_xfmax |
Definition at line 75 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::pC_p_xfmin |
Definition at line 75 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::pC_pi_ptmax |
Definition at line 71 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::pC_pi_ptmin |
Definition at line 71 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::pC_pi_xfmax |
Definition at line 71 of file ThinTargetBins.h.
std::vector<double> NeutrinoFluxReweight::ThinTargetBins::pC_pi_xfmin |
Definition at line 71 of file ThinTargetBins.h.