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 
23 
24  virtual CachingVertex<5> vertex(const std::vector<reco::TransientTrack> & tracks) const;
25 
26  virtual CachingVertex<5> vertex(const std::vector<RefCountedVertexTrack> & tracks) const;
27 
28  virtual CachingVertex<5> vertex(const std::vector<RefCountedVertexTrack> & tracks,
29  const reco::BeamSpot & spot ) const;
30 
31  virtual CachingVertex<5> vertex(const std::vector<reco::TransientTrack> & tracks,
32  const GlobalPoint& linPoint) const;
33 
34  virtual CachingVertex<5> vertex(const std::vector<reco::TransientTrack> & tracks,
35  const GlobalPoint& priorPos,
36  const GlobalError& priorError) const;
37 
38  virtual CachingVertex<5> vertex(const std::vector<RefCountedVertexTrack> & tracks,
39  const GlobalPoint& priorPos,
40  const GlobalError& priorError) const;
41 
42  virtual CachingVertex<5> vertex(const std::vector<reco::TransientTrack> & tracks,
43  const reco::BeamSpot& beamSpot) const;
44 
45 
46  // Clone method
47  TrimmedVertexFitter * clone() const;
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
virtual CachingVertex< 5 > vertex(const std::vector< reco::TransientTrack > &tracks) const
ReferenceCountingPointer< LinearizedTrackState< 5 > > RefCountedLinearizedTrackState
CachingVertex< 5 >::RefCountedVertexTrack RefCountedVertexTrack
TrimmedVertexFitter * clone() const
void setTrackCompatibilityCut(float cut)
void setVertexFitProbabilityCut(float cut)