CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
CTPPSBeamSmearingValidator::SectorPlots Struct Reference

Public Member Functions

 SectorPlots ()
 
void write () const
 

Public Attributes

std::unique_ptr< TH1D > h_de_p
 
std::unique_ptr< TH1D > h_de_th_x
 
std::unique_ptr< TH1D > h_de_th_y
 

Detailed Description

Definition at line 39 of file CTPPSBeamSmearingValidator.cc.

Constructor & Destructor Documentation

◆ SectorPlots()

CTPPSBeamSmearingValidator::SectorPlots::SectorPlots ( )
inline

Definition at line 42 of file CTPPSBeamSmearingValidator.cc.

43  : h_de_th_x(new TH1D("", ";#Delta#theta_{x} (rad)", 100, 0., 0.)),
44  h_de_th_y(new TH1D("", ";#Delta#theta_{y} (rad)", 100, 0., 0.)),
45  h_de_p(new TH1D("", ";#Deltap (GeV)", 100, 0., 0.)) {}

Member Function Documentation

◆ write()

void CTPPSBeamSmearingValidator::SectorPlots::write ( ) const
inline

Definition at line 47 of file CTPPSBeamSmearingValidator.cc.

References h_de_p, h_de_th_x, and h_de_th_y.

47  {
48  h_de_th_x->Write("h_de_th_x");
49  h_de_th_y->Write("h_de_th_y");
50  h_de_p->Write("h_de_p");
51  }

Member Data Documentation

◆ h_de_p

std::unique_ptr<TH1D> CTPPSBeamSmearingValidator::SectorPlots::h_de_p

Definition at line 40 of file CTPPSBeamSmearingValidator.cc.

Referenced by write().

◆ h_de_th_x

std::unique_ptr<TH1D> CTPPSBeamSmearingValidator::SectorPlots::h_de_th_x

Definition at line 40 of file CTPPSBeamSmearingValidator.cc.

Referenced by write().

◆ h_de_th_y

std::unique_ptr<TH1D> CTPPSBeamSmearingValidator::SectorPlots::h_de_th_y

Definition at line 40 of file CTPPSBeamSmearingValidator.cc.

Referenced by write().