CMS 3D CMS Logo

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 public:
18 
19  GsfVertexUpdator(bool limit = false, const GsfVertexMerger* merger = nullptr);
25  CachingVertex<5> add(const CachingVertex<5>& oldVertex, const RefCountedVertexTrack track) const override;
26 
32  CachingVertex<5> remove(const CachingVertex<5>& oldVertex, const RefCountedVertexTrack track) const override;
33 
38  VertexUpdator<5>* clone() const override { return new GsfVertexUpdator(*this); }
39 
40 private:
41  typedef std::vector<VertexState> VSC;
42  typedef std::vector<RefCountedLinearizedTrackState> LTC;
43  typedef std::pair<double, double> WeightChi2Pair;
44  typedef std::pair<VertexState, WeightChi2Pair> VertexComponent;
45  typedef std::pair<VertexState, double> VertexChi2Pair;
46 
48  const RefCountedLinearizedTrackState linTrack,
49  float weight,
50  int sign) const;
51 
52  VertexChi2Pair assembleVertexComponents(const std::vector<VertexComponent>& newVertexComponents) const;
53 
58 };
59 
60 #endif
CachingVertex< 5 > add(const CachingVertex< 5 > &oldVertex, const RefCountedVertexTrack track) const override
VertexTrack< 5 >::RefCountedLinearizedTrackState RefCountedLinearizedTrackState
VertexComponent createNewComponent(const VertexState &oldVertex, const RefCountedLinearizedTrackState linTrack, float weight, int sign) const
GsfVertexWeightCalculator theWeightCalculator
std::vector< VertexState > VSC
VertexChi2Pair assembleVertexComponents(const std::vector< VertexComponent > &newVertexComponents) const
Definition: weight.py:1
KalmanVertexUpdator< 5 > kalmanVertexUpdator
CachingVertex< 5 >::RefCountedVertexTrack RefCountedVertexTrack
VertexUpdator< 5 > * clone() const override
GsfVertexUpdator(bool limit=false, const GsfVertexMerger *merger=nullptr)
DeepCopyPointerByClone< GsfVertexMerger > theMerger
std::pair< VertexState, double > VertexChi2Pair
std::pair< double, double > WeightChi2Pair
std::vector< RefCountedLinearizedTrackState > LTC
std::pair< VertexState, WeightChi2Pair > VertexComponent