CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Public Attributes | Private Attributes
HitZCheck Class Reference

#include <HitZCheck.h>

Inheritance diagram for HitZCheck:
HitRZCompatibility

Public Types

typedef
TkTrackingRegionsMargin< float > 
Margin
 
- Public Types inherited from HitRZCompatibility
typedef PixelRecoRange< float > Range
 

Public Member Functions

virtual HitZCheckclone () const
 
 HitZCheck ()
 
virtual bool operator() (const float &r, const float &z) const
 
virtual Range range (const float &radius) const
 
void setTolerance (const Margin &tolerance)
 
 theTolerance (margin)
 

Public Attributes

 __pad0__: theRZ(rz)
 

Private Attributes

HitRZConstraint theRZ
 
Margin theTolerance
 

Detailed Description

provides allowed range of Z coordinate from HitRZConstraint at a given radius R

Definition at line 11 of file HitZCheck.h.

Member Typedef Documentation

Definition at line 14 of file HitZCheck.h.

Constructor & Destructor Documentation

HitZCheck::HitZCheck ( )
inline

Definition at line 16 of file HitZCheck.h.

Referenced by clone().

16 { }

Member Function Documentation

virtual HitZCheck* HitZCheck::clone ( void  ) const
inlinevirtual

Implements HitRZCompatibility.

Definition at line 25 of file HitZCheck.h.

References HitZCheck().

25 { return new HitZCheck(*this); }
HitZCheck()
Definition: HitZCheck.h:16
virtual bool HitZCheck::operator() ( const float &  r,
const float &  z 
) const
inlinevirtual

Implements HitRZCompatibility.

Definition at line 20 of file HitZCheck.h.

References PixelRecoRange< T >::inside(), and range().

21  { return range(r).inside(z); }
double double double z
bool inside(const T &value) const
virtual Range range(const float &radius) const
Definition: HitZCheck.cc:5
HitZCheck::Range HitZCheck::range ( const float &  radius) const
virtual
void HitZCheck::setTolerance ( const Margin tolerance)
inline

Definition at line 27 of file HitZCheck.h.

References theTolerance.

Referenced by RectangularEtaPhiTrackingRegion::estimator().

27 { theTolerance = tolerance; }
Margin theTolerance
Definition: HitZCheck.h:31
HitZCheck::theTolerance ( margin  )
inline

Definition at line 18 of file HitZCheck.h.

18 : theRZ(rz), theTolerance(margin) { }
Margin theTolerance
Definition: HitZCheck.h:31
HitRZConstraint theRZ
Definition: HitZCheck.h:30

Member Data Documentation

HitZCheck::__pad0__

Definition at line 18 of file HitZCheck.h.

HitRZConstraint HitZCheck::theRZ
private

Definition at line 30 of file HitZCheck.h.

Referenced by range().

Margin HitZCheck::theTolerance
private

Definition at line 31 of file HitZCheck.h.

Referenced by range(), and setTolerance().