Definition at line 44 of file CTPPSAcceptancePlotter.cc.
◆ SingleArmPlots()
CTPPSAcceptancePlotter::SingleArmPlots::SingleArmPlots |
( |
| ) |
|
|
inline |
Definition at line 46 of file CTPPSAcceptancePlotter.cc.
46 :
h_xi_all(
new TH1D(
"",
";#xi", 100, 0., 0.25)),
h_xi_acc(
new TH1D(
"",
";#xi", 100, 0., 0.25)) {}
std::unique_ptr< TH1D > h_xi_acc
std::unique_ptr< TH1D > h_xi_all
◆ fill()
void CTPPSAcceptancePlotter::SingleArmPlots::fill |
( |
double |
xi, |
|
|
bool |
acc |
|
) |
| |
|
inline |
◆ write()
void CTPPSAcceptancePlotter::SingleArmPlots::write |
( |
| ) |
const |
|
inline |
Definition at line 54 of file CTPPSAcceptancePlotter.cc.
References h_xi_acc, and h_xi_all.
58 auto h_xi_rat = std::make_unique<TH1D>(*h_xi_acc);
60 h_xi_rat->Write(
"h_xi_rat");
std::unique_ptr< TH1D > h_xi_acc
std::unique_ptr< TH1D > h_xi_all
◆ h_xi_acc
std::unique_ptr<TH1D> CTPPSAcceptancePlotter::SingleArmPlots::h_xi_acc |
◆ h_xi_all
std::unique_ptr<TH1D> CTPPSAcceptancePlotter::SingleArmPlots::h_xi_all |