CMS 3D CMS Logo

CaloSegment::inX0Segment Class Reference

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

#include <FastSimulation/CaloGeometryTools/interface/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.

00090                                :ref_(depth)
00091         {
00092           //std::cout << "inSegment " << std::endl;
00093         };

CaloSegment::inX0Segment::~inX0Segment (  )  [inline]

Definition at line 94 of file CaloSegment.h.

00094 {;};


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().

00101         {
00102           return (ref_>segment.sX0Entrance()&&ref_<segment.sX0Exit());
00103         }


Member Data Documentation

double CaloSegment::inX0Segment::ref_ [private]

Definition at line 106 of file CaloSegment.h.

Referenced by operator()().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:15:54 2009 for CMSSW by  doxygen 1.5.4