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 | Static Public Attributes | Private Attributes
HitZCheck Class Referencefinal

#include <HitZCheck.h>

Inheritance diagram for HitZCheck:
HitRZCompatibility

Public Types

typedef
TkTrackingRegionsMargin< float > 
Margin
 
- Public Types inherited from HitRZCompatibility
enum  Algo { zAlgo =0, rAlgo =1, etaAlgo =2 }
 
typedef PixelRecoRange< float > Range
 

Public Member Functions

virtual HitZCheckclone () const
 
 HitZCheck ()
 
virtual bool operator() (const float &r, const float &z) const
 
Range range (const float &radius) const
 
void setTolerance (const Margin &tolerance)
 
 theRZ (rz)
 
 theTolerance (margin)
 
- Public Member Functions inherited from HitRZCompatibility
Algo algo () const
 
 HitRZCompatibility (Algo a)
 
virtual ~HitRZCompatibility ()
 

Public Attributes

 __pad0__: HitRZCompatibility(me)
 
- Public Attributes inherited from HitRZCompatibility
Algo m_algo
 

Static Public Attributes

static Algo me =zAlgo
 

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 15 of file HitZCheck.h.

Constructor & Destructor Documentation

HitZCheck::HitZCheck ( )
inline

Definition at line 17 of file HitZCheck.h.

Referenced by clone().

static Algo me
Definition: HitZCheck.h:13

Member Function Documentation

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

Implements HitRZCompatibility.

Definition at line 26 of file HitZCheck.h.

References HitZCheck().

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

Implements HitRZCompatibility.

Definition at line 21 of file HitZCheck.h.

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

22  { return range(r).inside(z); }
bool inside(const T &value) const
Range range(const float &radius) const
Definition: HitZCheck.h:35
HitZCheck::Range HitZCheck::range ( const float &  radius) const
inlinevirtual
void HitZCheck::setTolerance ( const Margin tolerance)
inline

Definition at line 28 of file HitZCheck.h.

References theTolerance.

Referenced by RectangularEtaPhiTrackingRegion::estimator().

28 { theTolerance = tolerance; }
Margin theTolerance
Definition: HitZCheck.h:32
HitZCheck::theRZ ( rz  )
HitZCheck::theTolerance ( margin  )
inline

Definition at line 19 of file HitZCheck.h.

Double_t margin
static Algo me
Definition: HitZCheck.h:13
Margin theTolerance
Definition: HitZCheck.h:32
HitRZConstraint theRZ
Definition: HitZCheck.h:31

Member Data Documentation

HitZCheck::__pad0__

Definition at line 19 of file HitZCheck.h.

Algo HitZCheck::me =zAlgo
static

Definition at line 13 of file HitZCheck.h.

HitRZConstraint HitZCheck::theRZ
private

Definition at line 31 of file HitZCheck.h.

Referenced by range().

Margin HitZCheck::theTolerance
private

Definition at line 32 of file HitZCheck.h.

Referenced by range(), and setTolerance().