CMS 3D CMS Logo

TrimmedVertexFitter.h
Go to the documentation of this file.
1 #ifndef _TrimmedVertexFitter_H_
2 #define _TrimmedVertexFitter_H_
3 
8 /*
9  * Turn the TrimmedVertexFinder into a VertexFitter.
10  */
11 
12 class TrimmedVertexFitter : public VertexFitter<5> {
13 public:
16 
19 
20  ~TrimmedVertexFitter() override {}
21 
22  CachingVertex<5> vertex(const std::vector<reco::TransientTrack>& tracks) const override;
23 
24  CachingVertex<5> vertex(const std::vector<RefCountedVertexTrack>& tracks) const override;
25 
26  CachingVertex<5> vertex(const std::vector<RefCountedVertexTrack>& tracks, const reco::BeamSpot& spot) const override;
27 
28  CachingVertex<5> vertex(const std::vector<reco::TransientTrack>& tracks, const GlobalPoint& linPoint) const override;
29 
30  CachingVertex<5> vertex(const std::vector<reco::TransientTrack>& tracks,
31  const GlobalPoint& priorPos,
32  const GlobalError& priorError) const override;
33 
34  CachingVertex<5> vertex(const std::vector<RefCountedVertexTrack>& tracks,
35  const GlobalPoint& priorPos,
36  const GlobalError& priorError) const override;
37 
38  CachingVertex<5> vertex(const std::vector<reco::TransientTrack>& tracks,
39  const reco::BeamSpot& beamSpot) const override;
40 
41  // Clone method
42  TrimmedVertexFitter* clone() const override;
43 
44  void setPtCut(float cut);
45  void setTrackCompatibilityCut(float cut);
46  void setVertexFitProbabilityCut(float cut);
47 
48 private:
50  double ptcut;
51 };
52 
53 #endif
KalmanTrimmedVertexFinder theRector
TrimmedVertexFitter * clone() const override
ReferenceCountingPointer< LinearizedTrackState< 5 > > RefCountedLinearizedTrackState
CachingVertex< 5 >::RefCountedVertexTrack RefCountedVertexTrack
auto const & tracks
cannot be loose
void setTrackCompatibilityCut(float cut)
CachingVertex< 5 > vertex(const std::vector< reco::TransientTrack > &tracks) const override
void setVertexFitProbabilityCut(float cut)
void setPtCut(float cut)