CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

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

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

Definition at line 51 of file CTPPSProtonReconstructionValidator.cc.

References h_de_x, and h_de_y.

51  {
52  h_de_x->Fill(de_x);
53  h_de_y->Fill(de_y);
54  }
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

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

Definition at line 46 of file CTPPSProtonReconstructionValidator.cc.

Referenced by fill(), and write().

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

Definition at line 46 of file CTPPSProtonReconstructionValidator.cc.

Referenced by fill(), and write().