CMS 3D CMS Logo

ThirdHitCorrection.h
Go to the documentation of this file.
1 #ifndef RecoPixelVertexing_PixelTriplets_ThirdHitCorrection_H
2 #define RecoPixelVertexing_PixelTriplets_ThirdHitCorrection_H
3 
4 namespace edm {class EventSetup; }
7 
8 class DetLayer;
9 
13 
15 public:
16 
18 
20 
21  void init(
22  const edm::EventSetup &es,
23  float pt,
24  const DetLayer & layer1,
25  const DetLayer & layer2,
26  const DetLayer & layer3,
29  );
30 
31  void init(
32  const edm::EventSetup &es,
33  float pt,
34  const DetLayer & layer3,
35  bool useMultipleScattering,
36  bool useBendingCorrection
37  );
38 
39 
41  const edm::EventSetup &es,
42  float pt,
43  const DetLayer * layer,
44  const PixelRecoLineRZ & line,
45  const PixelRecoPointRZ & constraint, int ol,
46  bool useMultipleScattering,
47  bool useBendingCorrection)
48  {
49  init(es, pt, *layer, useMultipleScattering, useBendingCorrection);
50  init(line, constraint, ol);
51  }
52 
53  void init(
54  const PixelRecoLineRZ & line,
55  const PixelRecoPointRZ & constraint, int ol);
56 
57 
58  void correctRPhiRange( Range & range) const {
59  range.first -= theMultScattCorrRPhi;
60  range.second += theMultScattCorrRPhi;
61  }
62 
63  void correctRZRange( Range & range) const;
64 
65 private:
66  bool theBarrel;
67 
70 
72  float theMultScattCorrRPhi=0;
73  float theMScoeff=0;
74  float thePt;
75 
78 
79 };
80 
81 #endif
int init
Definition: HydjetWrapper.h:67
MultipleScatteringParametrisation sigmaRPhi
PixelRecoLineRZ theLine
PixelRecoRange< float > Range
void correctRPhiRange(Range &range) const
pixelrecoutilities::LongitudinalBendingCorrection theBendingCorrection
ThirdHitCorrection(const edm::EventSetup &es, float pt, const DetLayer *layer, const PixelRecoLineRZ &line, const PixelRecoPointRZ &constraint, int ol, bool useMultipleScattering, bool useBendingCorrection)
HLT enums.