|
void | fill (double x, double y, double time) |
|
void | init (bool pixel, double pitch) |
|
| RPPlots () |
|
void | write () const |
|
CTPPSTrackDistributionPlotter::RPPlots::RPPlots |
( |
| ) |
|
|
inline |
void CTPPSTrackDistributionPlotter::RPPlots::fill |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
time |
|
) |
| |
|
inline |
Definition at line 80 of file CTPPSTrackDistributionPlotter.cc.
std::unique_ptr< TH1D > h_y
std::unique_ptr< TH1D > h_time
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 62 of file CTPPSTrackDistributionPlotter.cc.
References funct::cos(), M_PI, and digitizers_cfi::pixel.
63 const double bin_size_x = (
pixel) ? pitch *
cos(18.4 / 180. *
M_PI) : 100E-3;
65 h2_y_vs_x.reset(
new TH2D(
"",
"", 300, -10., +70., 600, -30., +30.));
66 p_y_vs_x.reset(
new TProfile(
"",
"", 300, -10., +70.));
68 int n_mi = ceil(10. / bin_size_x);
69 int n_pl = ceil(70. / bin_size_x);
71 h_x.reset(
new TH1D(
"",
"", n_mi + n_pl, -n_mi * bin_size_x, +n_pl * bin_size_x));
73 h_y.reset(
new TH1D(
"",
"", 300, -15., +15.));
75 h_time.reset(
new TH1D(
"",
";time", 500, -50., +50.));
std::unique_ptr< TH1D > h_y
std::unique_ptr< TH1D > h_time
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 88 of file CTPPSTrackDistributionPlotter.cc.
std::unique_ptr< TH1D > h_y
std::unique_ptr< TH1D > h_time
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_time |
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 |