CMS 3D CMS Logo

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

Public Member Functions

void fill (double simu_x, double simu_y, double reco_x, double reco_y)
 
 RPPlots ()
 
void write () const
 

Public Attributes

std::unique_ptr< TH2D > h2_xr_vs_xs
 
std::unique_ptr< TH2D > h2_yr_vs_ys
 
std::unique_ptr< TH1D > h_de_x
 
std::unique_ptr< TH1D > h_de_y
 

Detailed Description

Definition at line 49 of file CTPPSDirectProtonSimulationValidator.cc.

Constructor & Destructor Documentation

◆ RPPlots()

CTPPSDirectProtonSimulationValidator::RPPlots::RPPlots ( )
inline

Definition at line 53 of file CTPPSDirectProtonSimulationValidator.cc.

54  {
55  h2_xr_vs_xs->Fill(simu_x, reco_x);
56  h2_yr_vs_ys->Fill(simu_y, reco_y);
57 

References h2_xr_vs_xs, h2_yr_vs_ys, and h_de_x.

Member Function Documentation

◆ fill()

void CTPPSDirectProtonSimulationValidator::RPPlots::fill ( double  simu_x,
double  simu_y,
double  reco_x,
double  reco_y 
)
inline

Definition at line 59 of file CTPPSDirectProtonSimulationValidator.cc.

62  {
63  h2_xr_vs_xs->Write("h2_xr_vs_xs");
64  h2_yr_vs_ys->Write("h2_yr_vs_ys");
65  h_de_x->Write("h_de_x");

◆ write()

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

Definition at line 67 of file CTPPSDirectProtonSimulationValidator.cc.

Member Data Documentation

◆ h2_xr_vs_xs

std::unique_ptr<TH2D> CTPPSDirectProtonSimulationValidator::RPPlots::h2_xr_vs_xs

Definition at line 50 of file CTPPSDirectProtonSimulationValidator.cc.

Referenced by RPPlots().

◆ h2_yr_vs_ys

std::unique_ptr<TH2D> CTPPSDirectProtonSimulationValidator::RPPlots::h2_yr_vs_ys

Definition at line 50 of file CTPPSDirectProtonSimulationValidator.cc.

Referenced by RPPlots().

◆ h_de_x

std::unique_ptr<TH1D> CTPPSDirectProtonSimulationValidator::RPPlots::h_de_x

Definition at line 51 of file CTPPSDirectProtonSimulationValidator.cc.

Referenced by RPPlots().

◆ h_de_y

std::unique_ptr<TH1D> CTPPSDirectProtonSimulationValidator::RPPlots::h_de_y

Definition at line 51 of file CTPPSDirectProtonSimulationValidator.cc.

CTPPSDirectProtonSimulationValidator::RPPlots::h2_yr_vs_ys
std::unique_ptr< TH2D > h2_yr_vs_ys
Definition: CTPPSDirectProtonSimulationValidator.cc:50
CTPPSDirectProtonSimulationValidator::RPPlots::h2_xr_vs_xs
std::unique_ptr< TH2D > h2_xr_vs_xs
Definition: CTPPSDirectProtonSimulationValidator.cc:50
CTPPSDirectProtonSimulationValidator::RPPlots::h_de_x
std::unique_ptr< TH1D > h_de_x
Definition: CTPPSDirectProtonSimulationValidator.cc:51