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
using
Range
=
PixelRecoRange<float>
;
15
16
OuterHitPhiPrediction
(
const
Range
& phiAtVertex,
const
Range
&
curvature
,
float
originRBound)
17
: thePhiAtVertex(phiAtVertex), theCurvature(curvature), theOriginRBound(originRBound) {
18
// assert(theCurvature.max()>0);
19
assert(theCurvature.max() == -theCurvature.min());
20
}
21
22
void
setTolerance
(
float
tolerance
) { theTolerance =
tolerance
; }
23
24
Range
operator()
(
float
radius
)
const
{
return
sym(radius); }
25
26
private
:
27
Range
sym(
float
radius
)
const
;
28
Range
asym(
float
radius)
const
;
29
30
Range
thePhiAtVertex
;
31
Range
theCurvature
;
32
float
theOriginRBound
;
33
float
theTolerance = 0.f;
34
};
35
36
#endif
OuterHitPhiPrediction::theCurvature
Range theCurvature
Definition:
OuterHitPhiPrediction.h:31
OuterHitPhiPrediction::setTolerance
void setTolerance(float tolerance)
Definition:
OuterHitPhiPrediction.h:22
OuterHitPhiPrediction::operator()
Range operator()(float radius) const
Definition:
OuterHitPhiPrediction.h:24
tolerance
const double tolerance
Definition:
HGCalGeomParameters.cc:25
PixelRecoRange< float >
OuterHitPhiPrediction::theOriginRBound
float theOriginRBound
Definition:
OuterHitPhiPrediction.h:32
OuterHitPhiPrediction
Definition:
OuterHitPhiPrediction.h:12
OuterHitPhiPrediction::thePhiAtVertex
Range thePhiAtVertex
Definition:
OuterHitPhiPrediction.h:30
Visibility.h
PixelRecoUtilities::curvature
T curvature(T InversePt, const edm::EventSetup &iSetup)
Definition:
PixelRecoUtilities.h:42
CosmicsPD_Skims.radius
radius
Definition:
CosmicsPD_Skims.py:135
dso_internal
#define dso_internal
Definition:
Visibility.h:13
PixelRecoRange.h
OuterHitPhiPrediction::OuterHitPhiPrediction
OuterHitPhiPrediction(const Range &phiAtVertex, const Range &curvature, float originRBound)
Definition:
OuterHitPhiPrediction.h:16
Generated for CMSSW Reference Manual by
1.8.11