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 
14 public:
15 
18 
21 
22  ~TrimmedVertexFitter() override{}
23 
24  CachingVertex<5> vertex(const std::vector<reco::TransientTrack> & tracks) const override;
25 
26  CachingVertex<5> vertex(const std::vector<RefCountedVertexTrack> & tracks) const override;
27 
28  CachingVertex<5> vertex(const std::vector<RefCountedVertexTrack> & tracks,
29  const reco::BeamSpot & spot ) const override;
30 
31  CachingVertex<5> vertex(const std::vector<reco::TransientTrack> & tracks,
32  const GlobalPoint& linPoint) const override;
33 
34  CachingVertex<5> vertex(const std::vector<reco::TransientTrack> & tracks,
35  const GlobalPoint& priorPos,
36  const GlobalError& priorError) const override;
37 
38  CachingVertex<5> vertex(const std::vector<RefCountedVertexTrack> & tracks,
39  const GlobalPoint& priorPos,
40  const GlobalError& priorError) const override;
41 
42  CachingVertex<5> vertex(const std::vector<reco::TransientTrack> & tracks,
43  const reco::BeamSpot& beamSpot) const override;
44 
45 
46  // Clone method
47  TrimmedVertexFitter * clone() const override;
48 
49 
50  void setPtCut ( float cut );
51  void setTrackCompatibilityCut ( float cut );
52  void setVertexFitProbabilityCut ( float cut );
53 
54 private:
56  double ptcut;
57 };
58 
59 #endif
KalmanTrimmedVertexFinder theRector
ReferenceCountingPointer< LinearizedTrackState< 5 > > RefCountedLinearizedTrackState
CachingVertex< 5 >::RefCountedVertexTrack RefCountedVertexTrack
void setTrackCompatibilityCut(float cut)
TrimmedVertexFitter * clone() const override
void setVertexFitProbabilityCut(float cut)
CachingVertex< 5 > vertex(const std::vector< reco::TransientTrack > &tracks) const override