CMS 3D CMS Logo

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

Public Member Functions

void fill (double de_x, double de_y)
 
 RPPlots ()
 
void write () const
 

Public Attributes

std::unique_ptr< TH1D > h_de_x
 
std::unique_ptr< TH1D > h_de_y
 

Detailed Description

Definition at line 45 of file CTPPSProtonReconstructionValidator.cc.

Constructor & Destructor Documentation

◆ RPPlots()

CTPPSProtonReconstructionValidator::RPPlots::RPPlots ( )
inline

Definition at line 47 of file CTPPSProtonReconstructionValidator.cc.

48  : h_de_x(new TH1D("", ";#Deltax (mm)", 1000, -1., +1.)),
49  h_de_y(new TH1D("", ";#Deltay (mm)", 1000, -1., +1.)) {}

Member Function Documentation

◆ fill()

void CTPPSProtonReconstructionValidator::RPPlots::fill ( double  de_x,
double  de_y 
)
inline

◆ write()

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

Definition at line 56 of file CTPPSProtonReconstructionValidator.cc.

References h_de_x, and h_de_y.

56  {
57  h_de_x->Write("h_de_x");
58  h_de_y->Write("h_de_y");
59  }

Member Data Documentation

◆ h_de_x

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

Definition at line 46 of file CTPPSProtonReconstructionValidator.cc.

Referenced by fill(), and write().

◆ h_de_y

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

Definition at line 46 of file CTPPSProtonReconstructionValidator.cc.

Referenced by fill(), and write().