CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GsfVertexSmoother.h
Go to the documentation of this file.
1 #ifndef _GsfVertexSmoother_H_
2 #define _GsfVertexSmoother_H_
3 
4 
15 
16 
23 class GsfVertexSmoother : public VertexSmoother<5> {
24 
25 public:
26 
33  GsfVertexSmoother(bool limit, const GsfVertexMerger * merger);
34 
35  virtual ~GsfVertexSmoother() {}
36 
44  virtual CachingVertex<5> smooth(const CachingVertex<5> & vertex) const;
45 
51  {return &theUpdator;}
52 
56  virtual VertexSmoother<5> * clone() const
57  {
58  return new GsfVertexSmoother(* this);
59  }
60 
61 private:
62 
68 
69  typedef std::vector<VertexState> VSC;
70  typedef std::vector<RefCountedLinearizedTrackState> LTC;
71  typedef std::pair<double, double> VtxTrkChi2Pair;
72  typedef std::pair<RefCountedRefittedTrackState, double> TrackWeightPair;
73  typedef std::pair<RefCountedRefittedTrackState, VtxTrkChi2Pair> TrackChi2Pair;
74  typedef std::pair<TrackWeightPair, VtxTrkChi2Pair> RefittedTrackComponent;
75 
76  VertexState meanVertex(const VertexState & vertexA,
77  const VertexState & vertexB) const;
78 
80  const RefCountedVertexTrack track, const GlobalPoint & referencePosition) const;
81 
83  const RefCountedLinearizedTrackState linTrack, float weight) const;
84 
86  const std::vector<RefittedTrackComponent> & trackComponents,
87  const GlobalPoint & referencePosition) const;
88 
96  double priorVertexChi2(const VertexState priorVertex,
97  const VertexState fittedVertex) const;
98 
108 };
109 
110 #endif
VertexTrackFactory< 5 > theVTFactory
VertexTrack< 5 >::RefCountedRefittedTrackState RefCountedRefittedTrackState
std::vector< RefCountedLinearizedTrackState > LTC
const VertexUpdator< 5 > * vertexUpdator() const
TrackChi2Pair vertexAndTrackUpdate(const VertexState &oldVertex, const RefCountedVertexTrack track, const GlobalPoint &referencePosition) const
CachingVertex< 5 >::RefCountedVertexTrack RefCountedVertexTrack
GsfVertexSmoother(bool limit, const GsfVertexMerger *merger)
ROOT::Math::SMatrix< double, N+1, N+1, ROOT::Math::MatRepSym< double, N+1 > > AlgebraicSymMatrixOO
Definition: VertexTrack.h:23
std::pair< double, double > VtxTrkChi2Pair
KVFHelper< 5 > helper
TrackChi2Pair assembleTrackComponents(const std::vector< RefittedTrackComponent > &trackComponents, const GlobalPoint &referencePosition) const
std::pair< RefCountedRefittedTrackState, double > TrackWeightPair
GsfVertexUpdator theUpdator
virtual VertexSmoother< 5 > * clone() const
virtual CachingVertex< 5 > smooth(const CachingVertex< 5 > &vertex) const
GsfVertexWeightCalculator theWeightCalculator
KalmanVertexUpdator< 5 > kalmanVertexUpdator
std::pair< RefCountedRefittedTrackState, VtxTrkChi2Pair > TrackChi2Pair
VertexTrack< 5 >::AlgebraicMatrix3M AlgebraicMatrix3M
KalmanVertexTrackUpdator< 5 > theVertexTrackUpdator
VertexState meanVertex(const VertexState &vertexA, const VertexState &vertexB) const
std::vector< VertexState > VSC
RefittedTrackComponent createNewComponent(const VertexState &oldVertex, const RefCountedLinearizedTrackState linTrack, float weight) const
VertexTrack< 5 >::RefCountedLinearizedTrackState RefCountedLinearizedTrackState
std::pair< TrackWeightPair, VtxTrkChi2Pair > RefittedTrackComponent
KalmanSmoothedVertexChi2Estimator< 5 > smoothedChi2Estimator
DeepCopyPointerByClone< GsfVertexMerger > theMerger
double priorVertexChi2(const VertexState priorVertex, const VertexState fittedVertex) const
VertexTrack< 5 >::AlgebraicSymMatrixOO AlgebraicSymMatrixOO
virtual ~GsfVertexSmoother()
ROOT::Math::SMatrix< double, 3, N-2, ROOT::Math::MatRepStd< double, 3, N-2 > > AlgebraicMatrix3M
Definition: VertexTrack.h:22