CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Public Attributes
HitRZCompatibility Class Referenceabstract

#include <HitRZCompatibility.h>

Inheritance diagram for HitRZCompatibility:
HitEtaCheck HitRCheck HitZCheck

Public Types

enum  Algo { zAlgo = 0, rAlgo = 1, etaAlgo = 2 }
 
typedef PixelRecoRange< float > Range
 

Public Member Functions

Algo algo () const
 
virtual HitRZCompatibilityclone () const =0
 
 HitRZCompatibility (Algo a)
 
virtual bool operator() (const float &r, const float &z) const =0
 
virtual Range range (const float &rORz) const =0
 
virtual ~HitRZCompatibility ()
 

Public Attributes

Algo m_algo
 

Detailed Description

abstract class to check if r-z coordinates or comptible with the region

Definition at line 8 of file HitRZCompatibility.h.

Member Typedef Documentation

Definition at line 14 of file HitRZCompatibility.h.

Member Enumeration Documentation

Enumerator
zAlgo 
rAlgo 
etaAlgo 

Definition at line 11 of file HitRZCompatibility.h.

Constructor & Destructor Documentation

HitRZCompatibility::HitRZCompatibility ( Algo  a)
inlineexplicit

Definition at line 16 of file HitRZCompatibility.h.

16 : m_algo(a) {}
virtual HitRZCompatibility::~HitRZCompatibility ( )
inlinevirtual

Definition at line 17 of file HitRZCompatibility.h.

17 {}

Member Function Documentation

Algo HitRZCompatibility::algo ( ) const
inline

Definition at line 21 of file HitRZCompatibility.h.

References m_algo.

21 { return m_algo; }
virtual HitRZCompatibility* HitRZCompatibility::clone ( ) const
pure virtual

Implemented in HitEtaCheck, HitRCheck, and HitZCheck.

virtual bool HitRZCompatibility::operator() ( const float &  r,
const float &  z 
) const
pure virtual

Implemented in HitEtaCheck, HitRCheck, and HitZCheck.

virtual Range HitRZCompatibility::range ( const float &  rORz) const
pure virtual

Member Data Documentation

Algo HitRZCompatibility::m_algo

Definition at line 22 of file HitRZCompatibility.h.

Referenced by algo().