CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
CTPPSAcceptancePlotter::DoubleArmPlots Struct Reference

Public Member Functions

 DoubleArmPlots ()
 
void fill (double xi_45, double xi_56, bool acc)
 
void write () const
 

Public Attributes

std::unique_ptr< TH2D > h2_xi_45_vs_xi_56_acc
 
std::unique_ptr< TH2D > h2_xi_45_vs_xi_56_all
 
std::unique_ptr< TH2D > h2_y_vs_m_acc
 
std::unique_ptr< TH2D > h2_y_vs_m_all
 
std::unique_ptr< TH1D > h_m_acc
 
std::unique_ptr< TH1D > h_m_all
 

Detailed Description

Definition at line 68 of file CTPPSAcceptancePlotter.cc.

Constructor & Destructor Documentation

◆ DoubleArmPlots()

CTPPSAcceptancePlotter::DoubleArmPlots::DoubleArmPlots ( )
inline

Definition at line 73 of file CTPPSAcceptancePlotter.cc.

73  : h_m_all(new TH1D("", ";m (GeV)", 100, 0., 2500.)),
74  h_m_acc(new TH1D("", ";m (GeV)", 100, 0., 2500.)),
75  h2_xi_45_vs_xi_56_all(new TH2D("", ";xi_56;xi_45", 25, 0., 0.25, 25, 0., 0.25)),
76  h2_xi_45_vs_xi_56_acc(new TH2D("", ";xi_56;xi_45", 25, 0., 0.25, 25, 0., 0.25)),
77  h2_y_vs_m_all(new TH2D("", ";m (GeV);y", 25, 0., 2500., 25, -1.5, +1.5)),
78  h2_y_vs_m_acc(new TH2D("", ";m (GeV);y", 25, 0., 2500., 25, -1.5, +1.5)) {}
79 

Member Function Documentation

◆ fill()

void CTPPSAcceptancePlotter::DoubleArmPlots::fill ( double  xi_45,
double  xi_56,
bool  acc 
)
inline

Definition at line 81 of file CTPPSAcceptancePlotter.cc.

89  {
90  h_m_acc->Fill(m);
91  h2_xi_45_vs_xi_56_acc->Fill(xi_56, xi_45);
92  h2_y_vs_m_acc->Fill(m, y);
93  }
94  }
95 

◆ write()

void CTPPSAcceptancePlotter::DoubleArmPlots::write ( ) const
inline

Definition at line 97 of file CTPPSAcceptancePlotter.cc.

Member Data Documentation

◆ h2_xi_45_vs_xi_56_acc

std::unique_ptr<TH2D> CTPPSAcceptancePlotter::DoubleArmPlots::h2_xi_45_vs_xi_56_acc

Definition at line 70 of file CTPPSAcceptancePlotter.cc.

◆ h2_xi_45_vs_xi_56_all

std::unique_ptr<TH2D> CTPPSAcceptancePlotter::DoubleArmPlots::h2_xi_45_vs_xi_56_all

Definition at line 70 of file CTPPSAcceptancePlotter.cc.

◆ h2_y_vs_m_acc

std::unique_ptr<TH2D> CTPPSAcceptancePlotter::DoubleArmPlots::h2_y_vs_m_acc

Definition at line 71 of file CTPPSAcceptancePlotter.cc.

◆ h2_y_vs_m_all

std::unique_ptr<TH2D> CTPPSAcceptancePlotter::DoubleArmPlots::h2_y_vs_m_all

Definition at line 71 of file CTPPSAcceptancePlotter.cc.

◆ h_m_acc

std::unique_ptr<TH1D> CTPPSAcceptancePlotter::DoubleArmPlots::h_m_acc

Definition at line 69 of file CTPPSAcceptancePlotter.cc.

◆ h_m_all

std::unique_ptr<TH1D> CTPPSAcceptancePlotter::DoubleArmPlots::h_m_all

Definition at line 69 of file CTPPSAcceptancePlotter.cc.

CTPPSAcceptancePlotter::DoubleArmPlots::h_m_acc
std::unique_ptr< TH1D > h_m_acc
Definition: CTPPSAcceptancePlotter.cc:69
DDAxes::y
CTPPSAcceptancePlotter::DoubleArmPlots::h2_y_vs_m_all
std::unique_ptr< TH2D > h2_y_vs_m_all
Definition: CTPPSAcceptancePlotter.cc:71
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
CTPPSAcceptancePlotter::DoubleArmPlots::h2_xi_45_vs_xi_56_acc
std::unique_ptr< TH2D > h2_xi_45_vs_xi_56_acc
Definition: CTPPSAcceptancePlotter.cc:70
CTPPSAcceptancePlotter::DoubleArmPlots::h_m_all
std::unique_ptr< TH1D > h_m_all
Definition: CTPPSAcceptancePlotter.cc:69
CTPPSAcceptancePlotter::DoubleArmPlots::h2_y_vs_m_acc
std::unique_ptr< TH2D > h2_y_vs_m_acc
Definition: CTPPSAcceptancePlotter.cc:71
CTPPSAcceptancePlotter::DoubleArmPlots::h2_xi_45_vs_xi_56_all
std::unique_ptr< TH2D > h2_xi_45_vs_xi_56_all
Definition: CTPPSAcceptancePlotter.cc:70