Main Page
Namespaces
Classes
Package Documentation
RecoTracker
TkTrackingRegions
src
OuterHitPhiPrediction.h
Go to the documentation of this file.
1
#ifndef OuterHitPhiPrediction_H
2
#define OuterHitPhiPrediction_H
3
6
#include "
RecoTracker/TkMSParametrization/interface/PixelRecoRange.h
"
7
8
#include "
FWCore/Utilities/interface/Visibility.h
"
9
10
#include <cassert>
11
12
class
dso_internal
OuterHitPhiPrediction
{
13
public
:
14
15
using
Range
=
PixelRecoRange<float>
;
16
17
OuterHitPhiPrediction
(
18
const
Range
& phiAtVertex,
19
const
Range
&
curvature
,
20
float
originRBound)
21
: thePhiAtVertex(phiAtVertex), theCurvature(curvature),
22
theOriginRBound (originRBound) {
23
// assert(theCurvature.max()>0);
24
assert(theCurvature.max() == -theCurvature.min());
25
}
26
27
void
setTolerance
(
float
tolerance
) { theTolerance =
tolerance
; }
28
29
Range
operator()
(
float
radius
)
const
{
return
sym(radius);}
30
31
private
:
32
33
Range
sym(
float
radius
)
const
;
34
Range
asym(
float
radius)
const
;
35
36
37
Range
thePhiAtVertex
;
38
Range
theCurvature
;
39
float
theOriginRBound
;
40
float
theTolerance = 0.f;
41
};
42
43
#endif
OuterHitPhiPrediction::theCurvature
Range theCurvature
Definition:
OuterHitPhiPrediction.h:38
OuterHitPhiPrediction::setTolerance
void setTolerance(float tolerance)
Definition:
OuterHitPhiPrediction.h:27
OuterHitPhiPrediction::operator()
Range operator()(float radius) const
Definition:
OuterHitPhiPrediction.h:29
tolerance
const double tolerance
Definition:
HGCalGeomParameters.cc:27
PixelRecoRange< float >
OuterHitPhiPrediction::theOriginRBound
float theOriginRBound
Definition:
OuterHitPhiPrediction.h:39
OuterHitPhiPrediction
Definition:
OuterHitPhiPrediction.h:12
OuterHitPhiPrediction::thePhiAtVertex
Range thePhiAtVertex
Definition:
OuterHitPhiPrediction.h:37
Visibility.h
PixelRecoUtilities::curvature
T curvature(T InversePt, const edm::EventSetup &iSetup)
Definition:
PixelRecoUtilities.h:41
dso_internal
#define dso_internal
Definition:
Visibility.h:13
TCMET_cfi.radius
radius
Definition:
TCMET_cfi.py:32
PixelRecoRange.h
OuterHitPhiPrediction::OuterHitPhiPrediction
OuterHitPhiPrediction(const Range &phiAtVertex, const Range &curvature, float originRBound)
Definition:
OuterHitPhiPrediction.h:17
Generated for CMSSW Reference Manual by
1.8.11