CMS 3D CMS Logo

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

◆ Range

Definition at line 14 of file HitRZCompatibility.h.

Member Enumeration Documentation

◆ Algo

Enumerator
zAlgo 
rAlgo 
etaAlgo 

Definition at line 11 of file HitRZCompatibility.h.

Constructor & Destructor Documentation

◆ HitRZCompatibility()

HitRZCompatibility::HitRZCompatibility ( Algo  a)
inlineexplicit

Definition at line 16 of file HitRZCompatibility.h.

16 : m_algo(a) {}
double a
Definition: hdecay.h:121

◆ ~HitRZCompatibility()

virtual HitRZCompatibility::~HitRZCompatibility ( )
inlinevirtual

Definition at line 17 of file HitRZCompatibility.h.

17 {}

Member Function Documentation

◆ algo()

Algo HitRZCompatibility::algo ( ) const
inline

Definition at line 21 of file HitRZCompatibility.h.

References m_algo.

21 { return m_algo; }

◆ clone()

virtual HitRZCompatibility* HitRZCompatibility::clone ( ) const
pure virtual

Implemented in HitEtaCheck, HitRCheck, and HitZCheck.

◆ operator()()

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

Implemented in HitEtaCheck, HitRCheck, and HitZCheck.

◆ range()

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

Member Data Documentation

◆ m_algo

Algo HitRZCompatibility::m_algo

Definition at line 22 of file HitRZCompatibility.h.

Referenced by algo().