All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 50 of file MCRecoEdep.h.

Constructor & Destructor Documentation

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

Definition at line 55 of file MCRecoEdep.h.

56  { _x = x; _y = y; _z = z; }
process_name opflash particleana ie ie ie z
process_name opflash particleana ie x
process_name opflash particleana ie ie y

Member Function Documentation

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

Definition at line 59 of file MCRecoEdep.h.

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

Member Data Documentation

double sim::UniquePosition::_x

Definition at line 52 of file MCRecoEdep.h.

double sim::UniquePosition::_y

Definition at line 52 of file MCRecoEdep.h.

double sim::UniquePosition::_z

Definition at line 52 of file MCRecoEdep.h.


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