Public Member Functions | Public Attributes | List of all members
quad::Pt2D Struct Reference

Public Member Functions

 Pt2D (double _x, double _z, int _view, double _energy)
 
bool operator< (const Pt2D &p) const
 

Public Attributes

double x
 
double z
 
int view
 
double energy
 

Detailed Description

Definition at line 36 of file QuadVtx_module.cc.

Constructor & Destructor Documentation

quad::Pt2D::Pt2D ( double  _x,
double  _z,
int  _view,
double  _energy 
)
inline

Definition at line 37 of file QuadVtx_module.cc.

38  : x(_x), z(_z), view(_view), energy(_energy)
39  {}

Member Function Documentation

bool quad::Pt2D::operator< ( const Pt2D p) const
inline

Definition at line 42 of file QuadVtx_module.cc.

43  {
44  return z < p.z;
45  }
p
Definition: test.py:223

Member Data Documentation

double quad::Pt2D::energy

Definition at line 49 of file QuadVtx_module.cc.

int quad::Pt2D::view

Definition at line 48 of file QuadVtx_module.cc.

double quad::Pt2D::x

Definition at line 47 of file QuadVtx_module.cc.

double quad::Pt2D::z

Definition at line 47 of file QuadVtx_module.cc.


The documentation for this struct was generated from the following file: