Public Member Functions | Public Attributes | List of all members
sim::UniquePosition Class Reference

#include <MCRecoEdep.h>

Public Member Functions

 UniquePosition (double x=0, double y=0, double z=0)
 
bool operator< (const UniquePosition &rhs) const
 

Public Attributes

double _x
 
double _y
 
double _z
 

Detailed Description

Definition at line 51 of file MCRecoEdep.h.

Constructor & Destructor Documentation

sim::UniquePosition::UniquePosition ( double  x = 0,
double  y = 0,
double  z = 0 
)
inline

Definition at line 56 of file MCRecoEdep.h.

Member Function Documentation

bool sim::UniquePosition::operator< ( const UniquePosition rhs) const
inline

Definition at line 60 of file MCRecoEdep.h.

61  {
62  if(_x < rhs._x) return true;
63  if(rhs._x < _x) return false;
64  if(_y < rhs._y) return true;
65  if(rhs._y < _y) return false;
66  if(_z < rhs._z) return true;
67  if(rhs._z < _z) return false;
68  return false;
69  }

Member Data Documentation

double sim::UniquePosition::_x

Definition at line 53 of file MCRecoEdep.h.

double sim::UniquePosition::_y

Definition at line 53 of file MCRecoEdep.h.

double sim::UniquePosition::_z

Definition at line 53 of file MCRecoEdep.h.


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