CMS 3D CMS Logo

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

Public Member Functions

 ArmPlots ()
 
void fill (double x_N, double y_N, double x_F, double y_F)
 
void write () const
 

Public Attributes

std::unique_ptr< TProfile2D > p2_de_x_vs_x_y
 
std::unique_ptr< TProfile2D > p2_de_y_vs_x_y
 

Detailed Description

Definition at line 77 of file CTPPSTrackDistributionPlotter.cc.

Constructor & Destructor Documentation

CTPPSTrackDistributionPlotter::ArmPlots::ArmPlots ( )
inline

Definition at line 81 of file CTPPSTrackDistributionPlotter.cc.

81  :
82  p2_de_x_vs_x_y(new TProfile2D("", ";x;y", 40, 0., 40., 40, -20., +20.)),
83  p2_de_y_vs_x_y(new TProfile2D("", ";x;y", 40, 0., 40., 40, -20., +20.))
84  {}

Member Function Documentation

void CTPPSTrackDistributionPlotter::ArmPlots::fill ( double  x_N,
double  y_N,
double  x_F,
double  y_F 
)
inline

Definition at line 86 of file CTPPSTrackDistributionPlotter.cc.

87  {
88  p2_de_x_vs_x_y->Fill(x_N, y_N, x_F - x_N);
89  p2_de_y_vs_x_y->Fill(x_N, y_N, y_F - y_N);
90  }
void CTPPSTrackDistributionPlotter::ArmPlots::write ( ) const
inline

Definition at line 92 of file CTPPSTrackDistributionPlotter.cc.

93  {
94  p2_de_x_vs_x_y->Write("p2_de_x_vs_x_y");
95  p2_de_y_vs_x_y->Write("p2_de_y_vs_x_y");
96  }

Member Data Documentation

std::unique_ptr<TProfile2D> CTPPSTrackDistributionPlotter::ArmPlots::p2_de_x_vs_x_y

Definition at line 79 of file CTPPSTrackDistributionPlotter.cc.

std::unique_ptr<TProfile2D> CTPPSTrackDistributionPlotter::ArmPlots::p2_de_y_vs_x_y

Definition at line 79 of file CTPPSTrackDistributionPlotter.cc.