Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoTracker
TkMSParametrization
interface
LongitudinalBendingCorrection.h
Go to the documentation of this file.
1
#ifndef PixelRecoUtilities_LongitudinalBendingCorrection_H
2
#define PixelRecoUtilities_LongitudinalBendingCorrection_H
3
#include "
RecoTracker/TkMSParametrization/interface/PixelRecoUtilities.h
"
4
5
6
namespace
pixelrecoutilities {
7
class
LongitudinalBendingCorrection
{
8
public
:
9
LongitudinalBendingCorrection
():
coeff
(0){}
10
LongitudinalBendingCorrection
(
float
pt
,
const
edm::EventSetup
& es) {
11
init
(pt,es);
12
}
13
void
init
(
float
pt
,
const
edm::EventSetup
& es) {
14
auto
theInvCurv = pt*
PixelRecoUtilities::fieldInInvGev
(es);
15
coeff
= 1.f/(4.f*6.f*theInvCurv*theInvCurv);
16
}
17
18
inline
float
operator()
(
float
radius
)
const
{
19
return
radius*radius*radius*
coeff
;
20
}
21
private
:
22
float
coeff
;
23
};
24
}
25
26
#endif
pixelrecoutilities::LongitudinalBendingCorrection::LongitudinalBendingCorrection
LongitudinalBendingCorrection()
Definition:
LongitudinalBendingCorrection.h:9
pixelrecoutilities::LongitudinalBendingCorrection::LongitudinalBendingCorrection
LongitudinalBendingCorrection(float pt, const edm::EventSetup &es)
Definition:
LongitudinalBendingCorrection.h:10
PixelRecoUtilities.h
pixelrecoutilities::LongitudinalBendingCorrection::coeff
float coeff
Definition:
LongitudinalBendingCorrection.h:22
edm::EventSetup
Definition:
EventSetup.h:45
EnergyCorrector.pt
int pt
Definition:
EnergyCorrector.py:45
pixelrecoutilities::LongitudinalBendingCorrection::operator()
float operator()(float radius) const
Definition:
LongitudinalBendingCorrection.h:18
pixelrecoutilities::LongitudinalBendingCorrection
Definition:
LongitudinalBendingCorrection.h:7
PixelRecoUtilities::fieldInInvGev
float fieldInInvGev(const edm::EventSetup &iSetup)
Definition:
PixelRecoUtilities.h:26
CosmicsPD_Skims.radius
tuple radius
Definition:
CosmicsPD_Skims.py:135
pixelrecoutilities::LongitudinalBendingCorrection::init
void init(float pt, const edm::EventSetup &es)
Definition:
LongitudinalBendingCorrection.h:13
Generated for CMSSW Reference Manual by
1.8.5