CMS 3D CMS Logo

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

◆ inL0Segment()

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

Definition at line 112 of file CaloSegment.h.

113  : ref_(depth){
114  //std::cout << "inSegment " << std::endl;
115  };

◆ ~inL0Segment()

CaloSegment::inL0Segment::~inL0Segment ( )
inline

Definition at line 116 of file CaloSegment.h.

116 { ; };

Member Function Documentation

◆ operator()()

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

Definition at line 122 of file CaloSegment.h.

122  {
123  return (ref_ > segment.sL0Entrance() && ref_ < segment.sL0Exit());
124  }

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

Member Data Documentation

◆ ref_

double CaloSegment::inL0Segment::ref_
private

Definition at line 128 of file CaloSegment.h.

Referenced by operator()().

LEDCalibrationChannels.depth
depth
Definition: LEDCalibrationChannels.py:65
CaloSegment::inL0Segment::ref_
double ref_
Definition: CaloSegment.h:128
CaloSegment::sL0Exit
double sL0Exit() const
absciss of the exit (in L0)
Definition: CaloSegment.h:41
CaloSegment::sL0Entrance
double sL0Entrance() const
absciss of the entrance (in L0)
Definition: CaloSegment.h:39