test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
CaloSegment::inL0Segment Class Reference

#include <CaloSegment.h>

Public Member Functions

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

Private Attributes

double ref_
 

Detailed Description

Definition at line 109 of file CaloSegment.h.

Constructor & Destructor Documentation

CaloSegment::inL0Segment::inL0Segment ( double  depth)
inline

Definition at line 113 of file CaloSegment.h.

113  :ref_(depth)
114  {
115  //std::cout << "inSegment " << std::endl;
116  };
CaloSegment::inL0Segment::~inL0Segment ( )
inline

Definition at line 117 of file CaloSegment.h.

117 {;};

Member Function Documentation

bool CaloSegment::inL0Segment::operator() ( const CaloSegment segment) const
inline

Definition at line 123 of file CaloSegment.h.

References ref_, CaloSegment::sL0Entrance(), and CaloSegment::sL0Exit().

124  {
125  return (ref_>segment.sL0Entrance()&&ref_<segment.sL0Exit());
126  }
double sL0Exit() const
absciss of the exit (in L0)
Definition: CaloSegment.h:39
double sL0Entrance() const
absciss of the entrance (in L0)
Definition: CaloSegment.h:37

Member Data Documentation

double CaloSegment::inL0Segment::ref_
private

Definition at line 129 of file CaloSegment.h.

Referenced by operator()().