CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GsfVertexUpdator.h
Go to the documentation of this file.
1 #ifndef GsfVertexUpdator_H
2 #define GsfVertexUpdator_H
3 
8 
14 class GsfVertexUpdator: public VertexUpdator<5> {
15 
16 public:
17 
20 
21  GsfVertexUpdator(bool limit = false, const GsfVertexMerger * merger = 0);
27  CachingVertex<5> add(const CachingVertex<5> & oldVertex,
28  const RefCountedVertexTrack track) const;
29 
35  CachingVertex<5> remove(const CachingVertex<5> & oldVertex,
36  const RefCountedVertexTrack track) const;
37 
43  {
44  return new GsfVertexUpdator(* this);
45  }
46 
47 
48 private:
49 
50  typedef std::vector<VertexState> VSC;
51  typedef std::vector<RefCountedLinearizedTrackState> LTC;
52  typedef std::pair<double, double> WeightChi2Pair;
53  typedef std::pair<VertexState, WeightChi2Pair> VertexComponent;
54  typedef std::pair<VertexState, double> VertexChi2Pair;
55 
57  const RefCountedLinearizedTrackState linTrack, float weight, int sign) const;
58 
60  const std::vector<VertexComponent> & newVertexComponents) const;
61 
66 };
67 
68 #endif
VertexUpdator< 5 > * clone() const
VertexTrack< 5 >::RefCountedLinearizedTrackState RefCountedLinearizedTrackState
GsfVertexWeightCalculator theWeightCalculator
std::vector< VertexState > VSC
double sign(double x)
KalmanVertexUpdator< 5 > kalmanVertexUpdator
CachingVertex< 5 >::RefCountedVertexTrack RefCountedVertexTrack
GsfVertexUpdator(bool limit=false, const GsfVertexMerger *merger=0)
VertexChi2Pair assembleVertexComponents(const std::vector< VertexComponent > &newVertexComponents) const
CachingVertex< 5 > add(const CachingVertex< 5 > &oldVertex, const RefCountedVertexTrack track) const
DeepCopyPointerByClone< GsfVertexMerger > theMerger
VertexComponent createNewComponent(const VertexState &oldVertex, const RefCountedLinearizedTrackState linTrack, float weight, int sign) const
std::pair< VertexState, double > VertexChi2Pair
std::pair< double, double > WeightChi2Pair
std::vector< RefCountedLinearizedTrackState > LTC
std::pair< VertexState, WeightChi2Pair > VertexComponent