#include <HitEtaCheck.h>
Public Member Functions | |
virtual HitEtaCheck * | clone () const |
HitEtaCheck (bool inbarrel, const PixelRecoLineRZ::LineOrigin &point, float cotLeftLine, float cotRightLine) | |
virtual bool | operator() (const float &r, const float &z) const |
virtual Range | range (const float &rORz) const |
Private Attributes | |
bool | isBarrel |
HitRZConstraint | theRZ |
Fast Implementation of HitRZCompatibility. The RZConstraint is defined by two lines and their crossing point. The r-z compatibility is tested by comparistion of cotangent given by r-z and lines crossing point with cotangents of two lines.
Definition at line 15 of file HitEtaCheck.h.
HitEtaCheck::HitEtaCheck | ( | bool | inbarrel, |
const PixelRecoLineRZ::LineOrigin & | point, | ||
float | cotLeftLine, | ||
float | cotRightLine | ||
) | [inline] |
Definition at line 17 of file HitEtaCheck.h.
Referenced by clone().
: isBarrel(inbarrel), theRZ(HitRZConstraint(point, cotLeftLine, point, cotRightLine)) { }
virtual HitEtaCheck* HitEtaCheck::clone | ( | void | ) | const [inline, virtual] |
Implements HitRZCompatibility.
Definition at line 34 of file HitEtaCheck.h.
References HitEtaCheck().
{ return new HitEtaCheck(*this); }
virtual bool HitEtaCheck::operator() | ( | const float & | r, |
const float & | z | ||
) | const [inline, virtual] |
Implements HitRZCompatibility.
Definition at line 23 of file HitEtaCheck.h.
References PixelRecoLineRZ::cotLine(), HitRZConstraint::lineLeft(), HitRZConstraint::lineRight(), PixelRecoLineRZ::origin(), alignCSCRings::r, theRZ, and z.
virtual Range HitEtaCheck::range | ( | const float & | rORz | ) | const [inline, virtual] |
Implements HitRZCompatibility.
Definition at line 30 of file HitEtaCheck.h.
References isBarrel, HitRCheck::range(), HitZCheck::range(), and theRZ.
bool HitEtaCheck::isBarrel [private] |
Definition at line 36 of file HitEtaCheck.h.
Referenced by range().
HitRZConstraint HitEtaCheck::theRZ [private] |
Definition at line 37 of file HitEtaCheck.h.
Referenced by operator()(), and range().