CMS 3D CMS Logo

GsfVertexSmoother.h
Go to the documentation of this file.
1 #ifndef _GsfVertexSmoother_H_
2 #define _GsfVertexSmoother_H_
3 
14 
21 class GsfVertexSmoother : public VertexSmoother<5> {
22 public:
29  GsfVertexSmoother(bool limit, const GsfVertexMerger* merger);
30 
31  ~GsfVertexSmoother() override {}
32 
40  CachingVertex<5> smooth(const CachingVertex<5>& vertex) const override;
41 
46  const VertexUpdator<5>* vertexUpdator() const { return &theUpdator; }
47 
51  VertexSmoother<5>* clone() const override { return new GsfVertexSmoother(*this); }
52 
53 private:
59 
60  typedef std::vector<VertexState> VSC;
61  typedef std::vector<RefCountedLinearizedTrackState> LTC;
62  typedef std::pair<double, double> VtxTrkChi2Pair;
63  typedef std::pair<RefCountedRefittedTrackState, double> TrackWeightPair;
64  typedef std::pair<RefCountedRefittedTrackState, VtxTrkChi2Pair> TrackChi2Pair;
65  typedef std::pair<TrackWeightPair, VtxTrkChi2Pair> RefittedTrackComponent;
66 
67  VertexState meanVertex(const VertexState& vertexA, const VertexState& vertexB) const;
68 
71  const GlobalPoint& referencePosition) const;
72 
74  const RefCountedLinearizedTrackState linTrack,
75  float weight) const;
76 
77  TrackChi2Pair assembleTrackComponents(const std::vector<RefittedTrackComponent>& trackComponents,
78  const GlobalPoint& referencePosition) const;
79 
87  double priorVertexChi2(const VertexState priorVertex, const VertexState fittedVertex) const;
88 
98 };
99 
100 #endif
KalmanVertexUpdator< 5 >
GsfVertexSmoother::theVTFactory
VertexTrackFactory< 5 > theVTFactory
Definition: GsfVertexSmoother.h:96
VertexUpdator< 5 >
HLT_FULL_cff.track
track
Definition: HLT_FULL_cff.py:11713
GsfVertexSmoother::RefCountedRefittedTrackState
VertexTrack< 5 >::RefCountedRefittedTrackState RefCountedRefittedTrackState
Definition: GsfVertexSmoother.h:56
KalmanVertexTrackUpdator< 5 >
GsfVertexSmoother::RefCountedVertexTrack
CachingVertex< 5 >::RefCountedVertexTrack RefCountedVertexTrack
Definition: GsfVertexSmoother.h:54
GsfVertexSmoother::GsfVertexSmoother
GsfVertexSmoother(bool limit, const GsfVertexMerger *merger)
Definition: GsfVertexSmoother.cc:6
CachingVertex< 5 >
GsfVertexSmoother::limitComponents
bool limitComponents
Definition: GsfVertexSmoother.h:89
GsfVertexUpdator.h
GsfVertexSmoother::~GsfVertexSmoother
~GsfVertexSmoother() override
Definition: GsfVertexSmoother.h:31
GsfVertexSmoother::helper
KVFHelper< 5 > helper
Definition: GsfVertexSmoother.h:97
GsfVertexMerger.h
GsfVertexSmoother::TrackWeightPair
std::pair< RefCountedRefittedTrackState, double > TrackWeightPair
Definition: GsfVertexSmoother.h:63
GsfVertexSmoother::theUpdator
GsfVertexUpdator theUpdator
Definition: GsfVertexSmoother.h:91
GsfVertexWeightCalculator
Definition: GsfVertexWeightCalculator.h:14
DeepCopyPointerByClone.h
GsfVertexSmoother
Definition: GsfVertexSmoother.h:21
GsfVertexSmoother::VtxTrkChi2Pair
std::pair< double, double > VtxTrkChi2Pair
Definition: GsfVertexSmoother.h:62
ReferenceCountingPointer< LinearizedTrackState< N > >
GsfVertexSmoother::vertexAndTrackUpdate
TrackChi2Pair vertexAndTrackUpdate(const VertexState &oldVertex, const RefCountedVertexTrack track, const GlobalPoint &referencePosition) const
Definition: GsfVertexSmoother.cc:91
VertexTrackFactory.h
DeepCopyPointerByClone< GsfVertexMerger >
GsfVertexSmoother::TrackChi2Pair
std::pair< RefCountedRefittedTrackState, VtxTrkChi2Pair > TrackChi2Pair
Definition: GsfVertexSmoother.h:64
VertexTrack::AlgebraicSymMatrixOO
ROOT::Math::SMatrix< double, N+1, N+1, ROOT::Math::MatRepSym< double, N+1 > > AlgebraicSymMatrixOO
Definition: VertexTrack.h:23
GsfVertexSmoother::AlgebraicMatrix3M
VertexTrack< 5 >::AlgebraicMatrix3M AlgebraicMatrix3M
Definition: GsfVertexSmoother.h:57
KVFHelper< 5 >
KalmanSmoothedVertexChi2Estimator< 5 >
GsfVertexSmoother::theWeightCalculator
GsfVertexWeightCalculator theWeightCalculator
Definition: GsfVertexSmoother.h:95
GsfVertexSmoother::kalmanVertexUpdator
KalmanVertexUpdator< 5 > kalmanVertexUpdator
Definition: GsfVertexSmoother.h:92
GsfVertexSmoother::vertexUpdator
const VertexUpdator< 5 > * vertexUpdator() const
Definition: GsfVertexSmoother.h:46
Point3DBase< float, GlobalTag >
GsfVertexSmoother::VSC
std::vector< VertexState > VSC
Definition: GsfVertexSmoother.h:60
bphysicsOniaDQM_cfi.vertex
vertex
Definition: bphysicsOniaDQM_cfi.py:7
KVFHelper.h
VertexTrackFactory< 5 >
GsfVertexSmoother::theVertexTrackUpdator
KalmanVertexTrackUpdator< 5 > theVertexTrackUpdator
Definition: GsfVertexSmoother.h:94
GsfVertexSmoother::priorVertexChi2
double priorVertexChi2(const VertexState priorVertex, const VertexState fittedVertex) const
Definition: GsfVertexSmoother.cc:206
GsfVertexSmoother::smoothedChi2Estimator
KalmanSmoothedVertexChi2Estimator< 5 > smoothedChi2Estimator
Definition: GsfVertexSmoother.h:93
GsfVertexSmoother::meanVertex
VertexState meanVertex(const VertexState &vertexA, const VertexState &vertexB) const
Definition: GsfVertexSmoother.cc:185
GsfVertexSmoother::assembleTrackComponents
TrackChi2Pair assembleTrackComponents(const std::vector< RefittedTrackComponent > &trackComponents, const GlobalPoint &referencePosition) const
Definition: GsfVertexSmoother.cc:124
KalmanVertexTrackUpdator.h
KalmanVertexUpdator.h
GsfVertexSmoother::RefCountedLinearizedTrackState
VertexTrack< 5 >::RefCountedLinearizedTrackState RefCountedLinearizedTrackState
Definition: GsfVertexSmoother.h:55
GsfVertexMerger
Definition: GsfVertexMerger.h:15
GsfVertexSmoother::RefittedTrackComponent
std::pair< TrackWeightPair, VtxTrkChi2Pair > RefittedTrackComponent
Definition: GsfVertexSmoother.h:65
GsfVertexSmoother::createNewComponent
RefittedTrackComponent createNewComponent(const VertexState &oldVertex, const RefCountedLinearizedTrackState linTrack, float weight) const
Definition: GsfVertexSmoother.cc:164
GsfVertexSmoother::clone
VertexSmoother< 5 > * clone() const override
Definition: GsfVertexSmoother.h:51
GsfVertexSmoother::theMerger
DeepCopyPointerByClone< GsfVertexMerger > theMerger
Definition: GsfVertexSmoother.h:90
GsfVertexSmoother::smooth
CachingVertex< 5 > smooth(const CachingVertex< 5 > &vertex) const override
Definition: GsfVertexSmoother.cc:11
remoteMonitoring_LED_IterMethod_cfg.limit
limit
Definition: remoteMonitoring_LED_IterMethod_cfg.py:427
GsfVertexUpdator
Definition: GsfVertexUpdator.h:14
VertexState
Definition: VertexState.h:13
GsfVertexWeightCalculator.h
VertexSmoother.h
GsfVertexSmoother::AlgebraicSymMatrixOO
VertexTrack< 5 >::AlgebraicSymMatrixOO AlgebraicSymMatrixOO
Definition: GsfVertexSmoother.h:58
KalmanSmoothedVertexChi2Estimator.h
VertexTrack::AlgebraicMatrix3M
ROOT::Math::SMatrix< double, 3, N - 2, ROOT::Math::MatRepStd< double, 3, N - 2 > > AlgebraicMatrix3M
Definition: VertexTrack.h:22
weight
Definition: weight.py:1
GsfVertexSmoother::LTC
std::vector< RefCountedLinearizedTrackState > LTC
Definition: GsfVertexSmoother.h:61
VertexSmoother
Definition: VertexSmoother.h:13