CMS 3D CMS Logo

TrackFitter.h
Go to the documentation of this file.
1 #ifndef TrackFitter_H
2 #define TrackFitter_H
3 
10 
11 #include <vector>
12 
14 class TrackerGeometry;
15 class MagneticField;
16 
17 class TrackFitter : public PixelFitterBase {
18 public:
20  const MagneticField* field,
21  const TransientTrackingRecHitBuilder* ttrhBuilder)
22  : theTracker(tracker), theField(field), theTTRecHitBuilder(ttrhBuilder) {}
23  ~TrackFitter() override {}
24 
25  std::unique_ptr<reco::Track> run(const std::vector<const TrackingRecHit*>& hits,
26  const TrackingRegion& region,
27  const edm::EventSetup& setup) const override;
28 
29 private:
31  const GlobalPoint& inner, const GlobalPoint& outer, float radius, float phi, float d0, float& zip) const;
32  float getPhi(float xC, float yC, int charge) const;
33  float getZip(float d0, float curv, const GlobalPoint& inner, const GlobalPoint& outer) const;
34  void getErrTipAndErrZip(float pt, float eta, float& errZip, float& errTip) const;
35 
39 };
40 #endif
PixelFitterBase
Definition: PixelFitterBase.h:15
TrackFitter::theField
const MagneticField * theField
Definition: TrackFitter.h:37
TrackFitter::run
std::unique_ptr< reco::Track > run(const std::vector< const TrackingRecHit * > &hits, const TrackingRegion &region, const edm::EventSetup &setup) const override
Definition: TrackFitter.cc:41
hfClusterShapes_cfi.hits
hits
Definition: hfClusterShapes_cfi.py:5
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
TrackFitter
Definition: TrackFitter.h:17
TrackFitter::theTracker
const TrackerGeometry * theTracker
Definition: TrackFitter.h:36
TrackFitter::getPhi
float getPhi(float xC, float yC, int charge) const
Definition: TrackFitter.cc:129
TrackFitter::getZip
float getZip(float d0, float curv, const GlobalPoint &inner, const GlobalPoint &outer) const
Definition: TrackFitter.cc:141
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
TrackingRecHit.h
Track.h
PVValHelper::eta
Definition: PVValidationHelpers.h:70
PixelFitterBase.h
SurfaceOrientation::inner
Definition: Surface.h:19
TrackFitter::~TrackFitter
~TrackFitter() override
Definition: TrackFitter.h:23
Point3DBase< float, GlobalTag >
PbPb_ZMuSkimMuonDPG_cff.tracker
tracker
Definition: PbPb_ZMuSkimMuonDPG_cff.py:60
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
TrackFitter::getErrTipAndErrZip
void getErrTipAndErrZip(float pt, float eta, float &errZip, float &errTip) const
Definition: TrackFitter.cc:158
HLT_FULL_cff.region
region
Definition: HLT_FULL_cff.py:88286
edm::EventSetup
Definition: EventSetup.h:58
ComparisonHelper::zip
OutputIterator zip(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, OutputIterator result, Compare comp)
Definition: L1TStage2CaloLayer1.h:41
DDAxes::phi
TrackFitter::TrackFitter
TrackFitter(const TrackerGeometry *tracker, const MagneticField *field, const TransientTrackingRecHitBuilder *ttrhBuilder)
Definition: TrackFitter.h:19
CosmicsPD_Skims.radius
radius
Definition: CosmicsPD_Skims.py:135
EventSetup.h
TrackingRegion
Definition: TrackingRegion.h:41
TrackFitter::getCotThetaAndUpdateZip
float getCotThetaAndUpdateZip(const GlobalPoint &inner, const GlobalPoint &outer, float radius, float phi, float d0, float &zip) const
Definition: TrackFitter.cc:111
TrackingRegion.h
ParameterSet.h
SurfaceOrientation::outer
Definition: Surface.h:19
MagneticField
Definition: MagneticField.h:19
d0
static constexpr float d0
Definition: L1EGammaCrystalsEmulatorProducer.cc:85
TransientTrackingRecHitBuilder
Definition: TransientTrackingRecHitBuilder.h:6
TrackFitter::theTTRecHitBuilder
const TransientTrackingRecHitBuilder * theTTRecHitBuilder
Definition: TrackFitter.h:38
TrackerGeometry
Definition: TrackerGeometry.h:14