Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoTracker
TkMSParametrization
src
LongitudinalBendingCorrection.cc
Go to the documentation of this file.
1
#include "
RecoTracker/TkMSParametrization/interface/LongitudinalBendingCorrection.h
"
2
#include "
FWCore/Framework/interface/ESHandle.h
"
3
#include "
FWCore/Framework/interface/EventSetup.h
"
4
#include "
MagneticField/Engine/interface/MagneticField.h
"
5
#include "
MagneticField/Records/interface/IdealMagneticFieldRecord.h
"
6
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
7
8
#include "
RecoTracker/TkMSParametrization/interface/PixelRecoUtilities.h
"
9
10
namespace
pixelrecoutilities {
11
void
LongitudinalBendingCorrection::init
(
float
pt,
const
edm::EventSetup
& es)
12
{
13
theInvCurv
= pt*
PixelRecoUtilities::fieldInInvGev
(es);
14
coeff
= 1.f/(4.f*6.f*
theInvCurv
*
theInvCurv
);
15
}
16
17
}
PixelRecoUtilities.h
EventSetup.h
MagneticField.h
pixelrecoutilities::LongitudinalBendingCorrection::coeff
float coeff
Definition:
LongitudinalBendingCorrection.h:20
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:44
PixelRecoUtilities::fieldInInvGev
float fieldInInvGev(const edm::EventSetup &iSetup)
Definition:
PixelRecoUtilities.h:26
pixelrecoutilities::LongitudinalBendingCorrection::init
void init(float pt, const edm::EventSetup &es)
Definition:
LongitudinalBendingCorrection.cc:11
IdealMagneticFieldRecord.h
LongitudinalBendingCorrection.h
pixelrecoutilities::LongitudinalBendingCorrection::theInvCurv
float theInvCurv
Definition:
LongitudinalBendingCorrection.h:19
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.5