CTPPSTrackDistributionPlotter::RPPlots::RPPlots |
( |
| ) |
|
|
inline |
void CTPPSTrackDistributionPlotter::RPPlots::fill |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
|
inline |
Definition at line 73 of file CTPPSTrackDistributionPlotter.cc.
std::unique_ptr< TH1D > h_y
std::unique_ptr< TH1D > h_x
std::unique_ptr< TProfile > p_y_vs_x
std::unique_ptr< TH2D > h2_y_vs_x
void CTPPSTrackDistributionPlotter::RPPlots::init |
( |
bool |
pixel, |
|
|
double |
pitch |
|
) |
| |
|
inline |
Definition at line 57 of file CTPPSTrackDistributionPlotter.cc.
References funct::cos(), M_PI, and digitizers_cfi::pixel.
58 const double bin_size_x = (
pixel) ? pitch *
cos(18.4 / 180. *
M_PI) : 100E-3;
60 h2_y_vs_x.reset(
new TH2D(
"",
"", 300, -10., +70., 300, -30., +30.));
61 p_y_vs_x.reset(
new TProfile(
"",
"", 300, -10., +70.));
63 int n_mi = ceil(10. / bin_size_x);
64 int n_pl = ceil(70. / bin_size_x);
66 h_x.reset(
new TH1D(
"",
"", n_mi + n_pl, -n_mi * bin_size_x, +n_pl * bin_size_x));
68 h_y.reset(
new TH1D(
"",
"", 300, -15., +15.));
std::unique_ptr< TH1D > h_y
Cos< T >::type cos(const T &t)
std::unique_ptr< TH1D > h_x
std::unique_ptr< TProfile > p_y_vs_x
std::unique_ptr< TH2D > h2_y_vs_x
void CTPPSTrackDistributionPlotter::RPPlots::write |
( |
| ) |
const |
|
inline |
Definition at line 80 of file CTPPSTrackDistributionPlotter.cc.
std::unique_ptr< TH1D > h_y
std::unique_ptr< TH1D > h_x
std::unique_ptr< TProfile > p_y_vs_x
std::unique_ptr< TH2D > h2_y_vs_x
std::unique_ptr<TH2D> CTPPSTrackDistributionPlotter::RPPlots::h2_y_vs_x |
std::unique_ptr<TH1D> CTPPSTrackDistributionPlotter::RPPlots::h_x |
std::unique_ptr<TH1D> CTPPSTrackDistributionPlotter::RPPlots::h_y |
bool CTPPSTrackDistributionPlotter::RPPlots::initialized |
std::unique_ptr<TProfile> CTPPSTrackDistributionPlotter::RPPlots::p_y_vs_x |