CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
CTPPSTrackDistributionPlotter::RPPlots Struct Reference

Public Member Functions

void fill (double x, double y, double time)
 
void init (bool pixel, double pitch)
 
 RPPlots ()
 
void write () const
 

Public Attributes

std::unique_ptr< TH2D > h2_y_vs_x
 
std::unique_ptr< TH1D > h_time
 
std::unique_ptr< TH1D > h_x
 
std::unique_ptr< TH1D > h_y
 
bool initialized
 
std::unique_ptr< TProfile > p_y_vs_x
 

Detailed Description

Definition at line 56 of file CTPPSTrackDistributionPlotter.cc.

Constructor & Destructor Documentation

◆ RPPlots()

CTPPSTrackDistributionPlotter::RPPlots::RPPlots ( )
inline

Definition at line 65 of file CTPPSTrackDistributionPlotter.cc.

80 {

Member Function Documentation

◆ fill()

void CTPPSTrackDistributionPlotter::RPPlots::fill ( double  x,
double  y,
double  time 
)
inline

Definition at line 85 of file CTPPSTrackDistributionPlotter.cc.

88  {
89  h2_y_vs_x->Write("h2_y_vs_x");
90  p_y_vs_x->Write("p_y_vs_x");
91  h_x->Write("h_x");

◆ init()

void CTPPSTrackDistributionPlotter::RPPlots::init ( bool  pixel,
double  pitch 
)
inline

Definition at line 67 of file CTPPSTrackDistributionPlotter.cc.

80  {
81  h2_y_vs_x->Fill(x, y);
82  p_y_vs_x->Fill(x, y);
83  h_x->Fill(x);

◆ write()

void CTPPSTrackDistributionPlotter::RPPlots::write ( ) const
inline

Definition at line 93 of file CTPPSTrackDistributionPlotter.cc.

99  {

Member Data Documentation

◆ h2_y_vs_x

std::unique_ptr<TH2D> CTPPSTrackDistributionPlotter::RPPlots::h2_y_vs_x

Definition at line 59 of file CTPPSTrackDistributionPlotter.cc.

◆ h_time

std::unique_ptr<TH1D> CTPPSTrackDistributionPlotter::RPPlots::h_time

Definition at line 63 of file CTPPSTrackDistributionPlotter.cc.

◆ h_x

std::unique_ptr<TH1D> CTPPSTrackDistributionPlotter::RPPlots::h_x

Definition at line 61 of file CTPPSTrackDistributionPlotter.cc.

◆ h_y

std::unique_ptr<TH1D> CTPPSTrackDistributionPlotter::RPPlots::h_y

Definition at line 62 of file CTPPSTrackDistributionPlotter.cc.

◆ initialized

bool CTPPSTrackDistributionPlotter::RPPlots::initialized

Definition at line 57 of file CTPPSTrackDistributionPlotter.cc.

◆ p_y_vs_x

std::unique_ptr<TProfile> CTPPSTrackDistributionPlotter::RPPlots::p_y_vs_x

Definition at line 60 of file CTPPSTrackDistributionPlotter.cc.

DDAxes::y
DDAxes::x
CTPPSTrackDistributionPlotter::RPPlots::h_x
std::unique_ptr< TH1D > h_x
Definition: CTPPSTrackDistributionPlotter.cc:61
CTPPSTrackDistributionPlotter::RPPlots::p_y_vs_x
std::unique_ptr< TProfile > p_y_vs_x
Definition: CTPPSTrackDistributionPlotter.cc:60
CTPPSTrackDistributionPlotter::RPPlots::h2_y_vs_x
std::unique_ptr< TH2D > h2_y_vs_x
Definition: CTPPSTrackDistributionPlotter.cc:59