#include <RectangularPlaneBounds.h>
Public Member Functions | |
Bounds * | clone () const override |
std::pair< bool, bool > | inout (const Local3DPoint &p, const LocalError &err, float scale=1.f) const |
virtual bool | inside (const Local2DPoint &p, float tollerance) const |
Determine if a point is inside the bounds, taking a tollerance into account. More... | |
virtual bool | inside (const Local3DPoint &, const LocalError &, float scale=1.f) const=0 |
Determine if a point is inside the bounds, taking error into account. More... | |
virtual bool | inside (const Local2DPoint &p, const LocalError &err, float scale=1.f) const |
Determine if a 2D point is inside the bounds, taking error into account. More... | |
virtual bool | inside (const Local3DPoint &) const=0 |
Determine if the point is inside the bounds. More... | |
virtual bool | inside (const Local2DPoint &p) const |
bool | inside (const Local2DPoint &p) const override |
bool | inside (const Local3DPoint &p) const override |
Determine if the point is inside the bounds. More... | |
bool | inside (const Local2DPoint &p, float tollerance) const override |
Determine if a point is inside the bounds, taking a tollerance into account. More... | |
bool | inside (const Local3DPoint &p, const LocalError &err, float scale=1.f) const override |
Determine if a point is inside the bounds, taking error into account. More... | |
bool | inside (const Local2DPoint &p, const LocalError &err, float scale=1.f) const override |
Determine if a 2D point is inside the bounds, taking error into account. More... | |
float | length () const override |
Lenght along local Y. More... | |
RectangularPlaneBounds (float w, float h, float t) | |
float | significanceInside (const Local3DPoint &, const LocalError &) const override |
float | thickness () const override |
Thickness of the volume in local Z. More... | |
float | width () const override |
Width along local X. More... | |
~RectangularPlaneBounds () override | |
Public Member Functions inherited from Bounds | |
void | computeSpan (Surface const &plane) |
std::pair< float, float > const & | phiSpan () const |
std::pair< float, float > const & | rSpan () const |
virtual float | widthAtHalfLength () const |
Width at half length. Useful for e.g. pitch definition. More... | |
std::pair< float, float > const & | zSpan () const |
virtual | ~Bounds () |
Private Attributes | |
float | halfLength |
float | halfThickness |
float | halfWidth |
Rectangular plane bounds. Local Coordinate system coincides with center of the box with X axis along the width and Y axis along the lenght.
Definition at line 12 of file RectangularPlaneBounds.h.
RectangularPlaneBounds::RectangularPlaneBounds | ( | float | w, |
float | h, | ||
float | t | ||
) |
Construct from half width (extension in local X), half length (Y) and half thickness (Z)
Definition at line 5 of file RectangularPlaneBounds.cc.
Referenced by clone().
|
override |
Definition at line 8 of file RectangularPlaneBounds.cc.
|
overridevirtual |
Implements Bounds.
Definition at line 43 of file RectangularPlaneBounds.cc.
References RectangularPlaneBounds().
std::pair< bool, bool > RectangularPlaneBounds::inout | ( | const Local3DPoint & | p, |
const LocalError & | err, | ||
float | scale = 1.f |
||
) | const |
Definition at line 29 of file RectangularPlaneBounds.cc.
References funct::abs(), submitPVResolutionJobs::err, halfLength, halfWidth, AlCaHLTBitMon_ParallelJobs::p, isotrackNtupler::scale, and mathSSE::sqrt().
virtual bool Bounds::inside |
Determine if a point is inside the bounds, taking error into account.
|
inline |
Determine if a 2D point is inside the bounds, taking error into account.
Definition at line 57 of file Bounds.h.
virtual bool Bounds::inside |
Determine if the point is inside the bounds.
|
inline |
Definition at line 39 of file Bounds.h.
|
inline |
Determine if a point is inside the bounds, taking a tollerance into account.
Definition at line 42 of file Bounds.h.
|
inlineoverridevirtual |
Reimplemented from Bounds.
Definition at line 29 of file RectangularPlaneBounds.h.
References funct::abs(), halfLength, halfWidth, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by TrackerValidationVariables::fillHitQuantities(), and inside().
|
inlineoverridevirtual |
Determine if the point is inside the bounds.
Implements Bounds.
Definition at line 33 of file RectangularPlaneBounds.h.
References funct::abs(), halfLength, halfThickness, halfWidth, and AlCaHLTBitMon_ParallelJobs::p.
|
inlineoverridevirtual |
Determine if a point is inside the bounds, taking a tollerance into account.
Reimplemented from Bounds.
Definition at line 37 of file RectangularPlaneBounds.h.
References funct::abs(), halfLength, halfWidth, and AlCaHLTBitMon_ParallelJobs::p.
|
overridevirtual |
Determine if a point is inside the bounds, taking error into account.
Implements Bounds.
Definition at line 10 of file RectangularPlaneBounds.cc.
References funct::abs(), submitPVResolutionJobs::err, halfLength, halfThickness, halfWidth, inside(), AlCaHLTBitMon_ParallelJobs::p, isotrackNtupler::scale, and mathSSE::sqrt().
|
overridevirtual |
Determine if a 2D point is inside the bounds, taking error into account.
Reimplemented from Bounds.
Definition at line 17 of file RectangularPlaneBounds.cc.
References funct::abs(), submitPVResolutionJobs::err, halfLength, halfWidth, inside(), AlCaHLTBitMon_ParallelJobs::p, isotrackNtupler::scale, and mathSSE::sqrt().
|
inlineoverridevirtual |
Lenght along local Y.
Implements Bounds.
Definition at line 20 of file RectangularPlaneBounds.h.
References halfLength.
Referenced by TrackerValidationVariables::fillHitQuantities().
|
overridevirtual |
Reimplemented from Bounds.
Definition at line 24 of file RectangularPlaneBounds.cc.
References funct::abs(), submitPVResolutionJobs::err, halfLength, halfWidth, WZElectronSkims53X_cff::max, AlCaHLTBitMon_ParallelJobs::p, and mathSSE::sqrt().
|
inlineoverridevirtual |
Thickness of the volume in local Z.
Implements Bounds.
Definition at line 24 of file RectangularPlaneBounds.h.
References halfThickness.
|
inlineoverridevirtual |
Width along local X.
Implements Bounds.
Definition at line 22 of file RectangularPlaneBounds.h.
References halfWidth.
Referenced by TrackerValidationVariables::fillHitQuantities().
|
private |
Definition at line 54 of file RectangularPlaneBounds.h.
Referenced by inout(), inside(), length(), and significanceInside().
|
private |
Definition at line 55 of file RectangularPlaneBounds.h.
Referenced by inside(), and thickness().
|
private |
Definition at line 53 of file RectangularPlaneBounds.h.
Referenced by inout(), inside(), significanceInside(), and width().