This class is used to determine if a point lies in the segment. More...
#include <CaloSegment.h>
Public Member Functions | |
inX0Segment (double depth) | |
bool | operator() (const CaloSegment &segment) const |
~inX0Segment () | |
Private Attributes | |
double | ref_ |
This class is used to determine if a point lies in the segment.
Definition at line 86 of file CaloSegment.h.
CaloSegment::inX0Segment::inX0Segment | ( | double | depth | ) | [inline] |
Definition at line 90 of file CaloSegment.h.
:ref_(depth) { //std::cout << "inSegment " << std::endl; };
CaloSegment::inX0Segment::~inX0Segment | ( | ) | [inline] |
Definition at line 94 of file CaloSegment.h.
{;};
bool CaloSegment::inX0Segment::operator() | ( | const CaloSegment & | segment | ) | const [inline] |
Definition at line 100 of file CaloSegment.h.
References ref_, CaloSegment::sX0Entrance(), and CaloSegment::sX0Exit().
{ return (ref_>segment.sX0Entrance()&&ref_<segment.sX0Exit()); }
double CaloSegment::inX0Segment::ref_ [private] |
Definition at line 106 of file CaloSegment.h.
Referenced by operator()().