Definition at line 67 of file CTPPSAcceptancePlotter.cc.
CTPPSAcceptancePlotter::DoubleArmPlots::DoubleArmPlots |
( |
| ) |
|
|
inline |
Definition at line 72 of file CTPPSAcceptancePlotter.cc.
73 :
h_m_all(
new TH1D(
"",
";m (GeV)", 100, 0., 2500.)),
74 h_m_acc(
new TH1D(
"",
";m (GeV)", 100, 0., 2500.)),
77 h2_y_vs_m_all(
new TH2D(
"",
";m (GeV);y", 25, 0., 2500., 25, -1.5, +1.5)),
78 h2_y_vs_m_acc(
new TH2D(
"",
";m (GeV);y", 25, 0., 2500., 25, -1.5, +1.5)) {}
std::unique_ptr< TH1D > h_m_acc
std::unique_ptr< TH1D > h_m_all
std::unique_ptr< TH2D > h2_y_vs_m_all
std::unique_ptr< TH2D > h2_xi_45_vs_xi_56_acc
std::unique_ptr< TH2D > h2_xi_45_vs_xi_56_all
std::unique_ptr< TH2D > h2_y_vs_m_acc
void CTPPSAcceptancePlotter::DoubleArmPlots::fill |
( |
double |
xi_45, |
|
|
double |
xi_56, |
|
|
bool |
acc |
|
) |
| |
|
inline |
void CTPPSAcceptancePlotter::DoubleArmPlots::write |
( |
| ) |
const |
|
inline |
Definition at line 96 of file CTPPSAcceptancePlotter.cc.
References h2_xi_45_vs_xi_56_acc, h2_xi_45_vs_xi_56_all, h2_y_vs_m_acc, h2_y_vs_m_all, h_m_acc, and h_m_all.
100 auto h_m_rat = std::make_unique<TH1D>(*h_m_acc);
101 h_m_rat->Divide(
h_m_all.get());
102 h_m_rat->Write(
"h_m_rat");
107 auto h2_xi_45_vs_xi_56_rat = std::make_unique<TH2D>(*h2_xi_45_vs_xi_56_acc);
109 h2_xi_45_vs_xi_56_rat->Write(
"h2_xi_45_vs_xi_56_rat");
114 auto h2_y_vs_m_rat = std::make_unique<TH2D>(*h2_y_vs_m_acc);
116 h2_y_vs_m_rat->Write(
"h2_y_vs_m_rat");
std::unique_ptr< TH1D > h_m_acc
std::unique_ptr< TH1D > h_m_all
std::unique_ptr< TH2D > h2_y_vs_m_all
std::unique_ptr< TH2D > h2_xi_45_vs_xi_56_acc
std::unique_ptr< TH2D > h2_xi_45_vs_xi_56_all
std::unique_ptr< TH2D > h2_y_vs_m_acc
std::unique_ptr<TH2D> CTPPSAcceptancePlotter::DoubleArmPlots::h2_xi_45_vs_xi_56_acc |
std::unique_ptr<TH2D> CTPPSAcceptancePlotter::DoubleArmPlots::h2_xi_45_vs_xi_56_all |
std::unique_ptr<TH2D> CTPPSAcceptancePlotter::DoubleArmPlots::h2_y_vs_m_acc |
std::unique_ptr<TH2D> CTPPSAcceptancePlotter::DoubleArmPlots::h2_y_vs_m_all |
std::unique_ptr<TH1D> CTPPSAcceptancePlotter::DoubleArmPlots::h_m_acc |
std::unique_ptr<TH1D> CTPPSAcceptancePlotter::DoubleArmPlots::h_m_all |