CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 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
GsfVertexWeightCalculator theWeightCalculator
std::vector< VertexState > VSC
double sign(double x)
KalmanVertexUpdator< 5 > kalmanVertexUpdator
CachingVertex< 5 >::RefCountedVertexTrack RefCountedVertexTrack
VertexUpdator< 5 > * clone() const override
VertexChi2Pair assembleVertexComponents(const std::vector< VertexComponent > &newVertexComponents) const
GsfVertexUpdator(bool limit=false, const GsfVertexMerger *merger=nullptr)
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
int weight
Definition: histoStyle.py:51
std::vector< RefCountedLinearizedTrackState > LTC
std::pair< VertexState, WeightChi2Pair > VertexComponent