5 SimpleCylinderBounds::SimpleCylinderBounds(
float rmin,
float rmax,
float zmin,
float zmax) :
6 theRmin(rmin), theRmax(rmax), theZmin(zmin), theZmax(zmax) {
7 if ( theRmin > theRmax)
std::swap( theRmin, theRmax);
8 if ( theZmin > theZmax)
std::swap( theZmin, theZmax);
11 bool SimpleCylinderBounds::inside(
const Local3DPoint&
p)
const {
12 return p.
z() > theZmin && p.
z() < theZmax &&
13 p.
perp() > theRmin && p.
perp() < theRmax;
19 theZmin -
sqrt(err.
yy())*scale,
20 theZmax +
sqrt(err.
yy())*scale);
virtual bool inside(const Local3DPoint &) const =0
Determine if the point is inside the bounds.
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
std::vector< std::vector< double > > tmp