Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoTracker
TkTrackingRegions
interface
HitRZCompatibility.h
Go to the documentation of this file.
1
#ifndef HitRZCompatibility_H
2
#define HitRZCompatibility_H
3
5
#include "
RecoTracker/TkMSParametrization/interface/PixelRecoRange.h
"
6
#include "
RecoTracker/TkTrackingRegions/interface/TkTrackingRegionsMargin.h
"
7
8
#include "
FWCore/Utilities/interface/GCC11Compatibility.h
"
9
10
class
HitRZCompatibility
{
11
public
:
12
// only three algos are implemented..
13
enum
Algo
{
zAlgo
=0,
rAlgo
=1,
etaAlgo
=2};
14
public
:
15
typedef
PixelRecoRange<float>
Range
;
16
17
explicit
HitRZCompatibility
(
Algo
a
) :
m_algo
(a){}
18
virtual
~HitRZCompatibility
() {}
19
virtual
bool
operator()
(
const
float
&
r
,
const
float
&
z
)
const
= 0;
20
virtual
Range
range
(
const
float
& rORz)
const
= 0;
21
virtual
HitRZCompatibility
*
clone
()
const
= 0;
22
Algo
algo
()
const
{
return
m_algo
;}
23
Algo
m_algo
;
24
};
25
#endif
HitRZCompatibility::HitRZCompatibility
HitRZCompatibility(Algo a)
Definition:
HitRZCompatibility.h:17
HitRZCompatibility::range
virtual Range range(const float &rORz) const =0
PixelRecoRange< float >
HitRZCompatibility::rAlgo
Definition:
HitRZCompatibility.h:13
HitRZCompatibility::zAlgo
Definition:
HitRZCompatibility.h:13
HitRZCompatibility::algo
Algo algo() const
Definition:
HitRZCompatibility.h:22
HitRZCompatibility::clone
virtual HitRZCompatibility * clone() const =0
HitRZCompatibility::~HitRZCompatibility
virtual ~HitRZCompatibility()
Definition:
HitRZCompatibility.h:18
HitRZCompatibility
Definition:
HitRZCompatibility.h:10
HitRZCompatibility::Range
PixelRecoRange< float > Range
Definition:
HitRZCompatibility.h:15
HitRZCompatibility::m_algo
Algo m_algo
Definition:
HitRZCompatibility.h:23
GCC11Compatibility.h
HitRZCompatibility::etaAlgo
Definition:
HitRZCompatibility.h:13
PixelRecoRange.h
a
double a
Definition:
hdecay.h:121
alignCSCRings.r
list r
Definition:
alignCSCRings.py:92
DDAxes::z
Algo
Definition:
fakeMenu.h:6
TkTrackingRegionsMargin.h
HitRZCompatibility::operator()
virtual bool operator()(const float &r, const float &z) const =0
Generated for CMSSW Reference Manual by
1.8.5