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 57 of file CTPPSTrackDistributionPlotter.cc.

Constructor & Destructor Documentation

◆ RPPlots()

CTPPSTrackDistributionPlotter::RPPlots::RPPlots ( )
inline

Definition at line 66 of file CTPPSTrackDistributionPlotter.cc.

Member Function Documentation

◆ fill()

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

Definition at line 86 of file CTPPSTrackDistributionPlotter.cc.

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

◆ init()

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

Definition at line 68 of file CTPPSTrackDistributionPlotter.cc.

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

◆ write()

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

Definition at line 94 of file CTPPSTrackDistributionPlotter.cc.

100  {

Member Data Documentation

◆ h2_y_vs_x

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

Definition at line 60 of file CTPPSTrackDistributionPlotter.cc.

◆ h_time

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

Definition at line 64 of file CTPPSTrackDistributionPlotter.cc.

◆ h_x

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

Definition at line 62 of file CTPPSTrackDistributionPlotter.cc.

◆ h_y

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

Definition at line 63 of file CTPPSTrackDistributionPlotter.cc.

◆ initialized

bool CTPPSTrackDistributionPlotter::RPPlots::initialized

Definition at line 58 of file CTPPSTrackDistributionPlotter.cc.

◆ p_y_vs_x

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

Definition at line 61 of file CTPPSTrackDistributionPlotter.cc.

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