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
PDWG_EXOHSCP_cff.tracks
tracks
Definition: PDWG_EXOHSCP_cff.py:28
pwdgSkimBPark_cfi.beamSpot
beamSpot
Definition: pwdgSkimBPark_cfi.py:5
TkAlMuonSelectors_cfi.cut
cut
Definition: TkAlMuonSelectors_cfi.py:5
CachingVertex
Definition: CachingVertex.h:22
VertexFitter.h
ReferenceCountingPointer
Definition: ReferenceCounted.h:60
TrimmedVertexFitter::setVertexFitProbabilityCut
void setVertexFitProbabilityCut(float cut)
Definition: TrimmedVertexFitter.cc:84
TrimmedVertexFitter
Definition: TrimmedVertexFitter.h:12
TrimmedVertexFitter::RefCountedLinearizedTrackState
ReferenceCountingPointer< LinearizedTrackState< 5 > > RefCountedLinearizedTrackState
Definition: TrimmedVertexFitter.h:15
VertexFitter
Definition: VertexFitter.h:20
TrimmedVertexFitter::vertex
CachingVertex< 5 > vertex(const std::vector< reco::TransientTrack > &tracks) const override
Definition: TrimmedVertexFitter.cc:18
TrimmedVertexFitter::setTrackCompatibilityCut
void setTrackCompatibilityCut(float cut)
Definition: TrimmedVertexFitter.cc:82
BeamSpot.h
TrimmedVertexFitter::RefCountedVertexTrack
CachingVertex< 5 >::RefCountedVertexTrack RefCountedVertexTrack
Definition: TrimmedVertexFitter.h:14
TrimmedVertexFitter::~TrimmedVertexFitter
~TrimmedVertexFitter() override
Definition: TrimmedVertexFitter.h:20
reco::BeamSpot
Definition: BeamSpot.h:21
TrimmedVertexFitter::theRector
KalmanTrimmedVertexFinder theRector
Definition: TrimmedVertexFitter.h:49
Point3DBase< float, GlobalTag >
edm::ParameterSet
Definition: ParameterSet.h:47
GlobalErrorBase< double, ErrorMatrixTag >
TrimmedVertexFitter::TrimmedVertexFitter
TrimmedVertexFitter()
Definition: TrimmedVertexFitter.cc:6
TrimmedVertexFitter::clone
TrimmedVertexFitter * clone() const override
Definition: TrimmedVertexFitter.cc:75
KalmanTrimmedVertexFinder.h
TrimmedVertexFitter::setPtCut
void setPtCut(float cut)
Definition: TrimmedVertexFitter.cc:77
ParameterSet.h
KalmanTrimmedVertexFinder
Definition: KalmanTrimmedVertexFinder.h:13
TrimmedVertexFitter::ptcut
double ptcut
Definition: TrimmedVertexFitter.h:50