CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
TrimmedVertexFinder.h
Go to the documentation of this file.
1 #ifndef _RecoVertex_TrimmedVertexFinder_H_
2 #define _RecoVertex_TrimmedVertexFinder_H_
3 
10 #include <vector>
11 
29 public:
32 
34  const VertexUpdator<5>* vu,
36 
41 
45  std::vector<TransientVertex> vertices(std::vector<reco::TransientTrack>& remain) const;
46 
51  std::vector<TransientVertex> vertices(std::vector<reco::TransientTrack>& remain,
52  const reco::BeamSpot& s,
53  bool use_beamspot = true) const;
54 
57  float trackCompatibilityCut() const { return theMinProb; }
58 
62 
65  TrimmedVertexFinder* clone() const { return new TrimmedVertexFinder(*this); }
66 
67 private:
68  // finds least compatible track
69  // returns vtxTracks.end() if all tracks are compatible
70  //
71  std::vector<RefCountedVertexTrack>::iterator theWorst(const CachingVertex<5>& vtx,
72  std::vector<RefCountedVertexTrack>& vtxTracks,
73  float cut) const;
74 
78  float theMinProb;
79 };
80 
81 #endif
TrimmedVertexFinder::theMinProb
float theMinProb
Definition: TrimmedVertexFinder.h:78
VertexUpdator< 5 >
TrimmedVertexFinder::~TrimmedVertexFinder
~TrimmedVertexFinder()
Definition: TrimmedVertexFinder.cc:20
TrimmedVertexFinder
Definition: TrimmedVertexFinder.h:28
TkAlMuonSelectors_cfi.cut
cut
Definition: TkAlMuonSelectors_cfi.py:5
CachingVertex< 5 >
VertexTrackCompatibilityEstimator.h
TrimmedVertexFinder::RefCountedVertexTrack
ReferenceCountingPointer< VertexTrack< 5 > > RefCountedVertexTrack
Definition: TrimmedVertexFinder.h:30
VertexFitter.h
ReferenceCountingPointer
Definition: ReferenceCounted.h:60
TransientTrack.h
VertexFitter< 5 >
CachingVertex.h
alignCSCRings.s
s
Definition: alignCSCRings.py:92
TrimmedVertexFinder::clone
TrimmedVertexFinder * clone() const
Definition: TrimmedVertexFinder.h:65
TrimmedVertexFinder::theFitter
VertexFitter< 5 > * theFitter
Definition: TrimmedVertexFinder.h:75
TrimmedVertexFinder::theEstimator
VertexTrackCompatibilityEstimator< 5 > * theEstimator
Definition: TrimmedVertexFinder.h:77
reco::BeamSpot
Definition: BeamSpot.h:21
trackingPlots.other
other
Definition: trackingPlots.py:1460
TrimmedVertexFinder::trackCompatibilityCut
float trackCompatibilityCut() const
Definition: TrimmedVertexFinder.h:57
TrimmedVertexFinder::vertices
std::vector< TransientVertex > vertices(std::vector< reco::TransientTrack > &remain) const
Definition: TrimmedVertexFinder.cc:26
TrimmedVertexFinder::theWorst
std::vector< RefCountedVertexTrack >::iterator theWorst(const CachingVertex< 5 > &vtx, std::vector< RefCountedVertexTrack > &vtxTracks, float cut) const
Definition: TrimmedVertexFinder.cc:131
TransientVertex.h
VertexTrackCompatibilityEstimator< 5 >
extraflags_cff.vtx
vtx
Definition: extraflags_cff.py:18
VertexUpdator.h
TrimmedVertexFinder::theUpdator
VertexUpdator< 5 > * theUpdator
Definition: TrimmedVertexFinder.h:76
TrimmedVertexFinder::TrimmedVertexFinder
TrimmedVertexFinder(const VertexFitter< 5 > *vf, const VertexUpdator< 5 > *vu, const VertexTrackCompatibilityEstimator< 5 > *ve)
Definition: TrimmedVertexFinder.cc:9
TrimmedVertexFinder::RefCountedLinearizedTrackState
ReferenceCountingPointer< LinearizedTrackState< 5 > > RefCountedLinearizedTrackState
Definition: TrimmedVertexFinder.h:31
TrimmedVertexFinder::setTrackCompatibilityCut
void setTrackCompatibilityCut(float cut)
Definition: TrimmedVertexFinder.h:61