CMS 3D CMS Logo

SimpleCylinderBounds.cc
Go to the documentation of this file.
3 
4 SimpleCylinderBounds::SimpleCylinderBounds(float rmin, float rmax, float zmin, float zmax)
5  : theRmin(rmin), theRmax(rmax), theZmin(zmin), theZmax(zmax) {
6  if (theRmin > theRmax)
8  if (theZmin > theZmax)
10 }
11 
13  return p.z() > theZmin && p.z() < theZmax && p.perp() > theRmin && p.perp() < theRmax;
14 }
15 
16 bool SimpleCylinderBounds::inside(const Local3DPoint& p, const LocalError& err, float scale) const {
18 
19  return tmp.inside(p);
20 }
21 
22 bool SimpleCylinderBounds::inside(const Local2DPoint& p, const LocalError& err) const { return Bounds::inside(p, err); }
23 
Point2DBase< float, LocalTag >
L1EGammaCrystalsEmulatorProducer_cfi.scale
scale
Definition: L1EGammaCrystalsEmulatorProducer_cfi.py:10
SimpleCylinderBounds.h
Bounds
Definition: Bounds.h:18
SimpleCylinderBounds::inside
bool inside(const Local3DPoint &p) const override
Determine if the point is inside the bounds.
Definition: SimpleCylinderBounds.cc:12
SimpleCylinderBounds::clone
Bounds * clone() const override
Definition: SimpleCylinderBounds.cc:24
createJobs.tmp
tmp
align.sh
Definition: createJobs.py:716
SiStripMonitorCluster_cfi.zmin
zmin
Definition: SiStripMonitorCluster_cfi.py:200
SimpleCylinderBounds
Definition: SimpleCylinderBounds.h:19
std::swap
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
Definition: DataFrameContainer.h:209
SiStripMonitorCluster_cfi.zmax
zmax
Definition: SiStripMonitorCluster_cfi.py:201
Bounds::inside
virtual bool inside(const Local3DPoint &) const =0
Determine if the point is inside the bounds.
LocalError.h
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
SimpleCylinderBounds::SimpleCylinderBounds
SimpleCylinderBounds(float rmin, float rmax, float zmin, float zmax)
Definition: SimpleCylinderBounds.cc:4
Point3DBase< float, LocalTag >
SimpleCylinderBounds::theZmin
float theZmin
Definition: SimpleCylinderBounds.h:42
SimpleCylinderBounds::theRmin
float theRmin
Definition: SimpleCylinderBounds.h:40
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
LocalError
Definition: LocalError.h:12
SimpleCylinderBounds::theZmax
float theZmax
Definition: SimpleCylinderBounds.h:43
submitPVResolutionJobs.err
err
Definition: submitPVResolutionJobs.py:85
SimpleCylinderBounds::theRmax
float theRmax
Definition: SimpleCylinderBounds.h:41