Definition at line 74 of file CTPPSAcceptancePlotter.cc.
CTPPSAcceptancePlotter::DoubleArmPlots::DoubleArmPlots |
( |
| ) |
|
|
inline |
Definition at line 80 of file CTPPSAcceptancePlotter.cc.
81 h_m_all(
new TH1D(
"",
";m (GeV)", 100, 0., 2500.)),
82 h_m_acc(
new TH1D(
"",
";m (GeV)", 100, 0., 2500.)),
85 h2_y_vs_m_all(
new TH2D(
"",
";m (GeV);y", 25, 0., 2500., 25, -1.5, +1.5)),
86 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 |
Definition at line 89 of file CTPPSAcceptancePlotter.cc.
References cmsBatch::log, funct::m, mathSSE::sqrt(), and y.
91 const double p_nom = 6500.;
92 const double m = 2. * p_nom *
sqrt(xi_45 * xi_56);
93 const double y =
log(xi_45 / xi_56) / 2.;
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::write |
( |
| ) |
const |
|
inline |
Definition at line 106 of file CTPPSAcceptancePlotter.cc.
111 auto h_m_rat = std::make_unique<TH1D>(*h_m_acc);
112 h_m_rat->Divide(
h_m_all.get());
113 h_m_rat->Write(
"h_m_rat");
118 auto h2_xi_45_vs_xi_56_rat = std::make_unique<TH2D>(*h2_xi_45_vs_xi_56_acc);
120 h2_xi_45_vs_xi_56_rat->Write(
"h2_xi_45_vs_xi_56_rat");
125 auto h2_y_vs_m_rat = std::make_unique<TH2D>(*h2_y_vs_m_acc);
127 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 |