LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
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 62 of file MCRecoEdep.h.

Constructor & Destructor Documentation

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

Definition at line 67 of file MCRecoEdep.h.

References x, y, and z.

68  { _x = x; _y = y; _z = z; }
Float_t x
Definition: compare.C:6
Float_t y
Definition: compare.C:6
Double_t z
Definition: plot.C:279

Member Function Documentation

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

Definition at line 71 of file MCRecoEdep.h.

References _x, _y, and _z.

72  {
73  if(_x < rhs._x) return true;
74  if(rhs._x < _x) return false;
75  if(_y < rhs._y) return true;
76  if(rhs._y < _y) return false;
77  if(_z < rhs._z) return true;
78  if(rhs._z < _z) return false;
79  return false;
80  }

Member Data Documentation

double sim::UniquePosition::_x

Definition at line 64 of file MCRecoEdep.h.

Referenced by operator<().

double sim::UniquePosition::_y

Definition at line 64 of file MCRecoEdep.h.

Referenced by operator<().

double sim::UniquePosition::_z

Definition at line 64 of file MCRecoEdep.h.

Referenced by operator<().


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