CMS 3D CMS Logo

Public Member Functions | Private Attributes

CaloSegment::inX0Segment Class Reference

This class is used to determine if a point lies in the segment. More...

#include <CaloSegment.h>

List of all members.

Public Member Functions

 inX0Segment (double depth)
bool operator() (const CaloSegment &segment) const
 ~inX0Segment ()

Private Attributes

double ref_

Detailed Description

This class is used to determine if a point lies in the segment.

Definition at line 86 of file CaloSegment.h.


Constructor & Destructor Documentation

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.

{;};

Member Function Documentation

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());
        }

Member Data Documentation

Definition at line 106 of file CaloSegment.h.

Referenced by operator()().