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
KalmanVertexUpdator< 5 >
VertexUpdator
Definition: VertexUpdator.h:12
CachingVertex
Definition: CachingVertex.h:22
GsfVertexMerger.h
GsfVertexUpdator::GsfVertexUpdator
GsfVertexUpdator(bool limit=false, const GsfVertexMerger *merger=nullptr)
Definition: GsfVertexUpdator.cc:6
Validation_hcalonly_cfi.sign
sign
Definition: Validation_hcalonly_cfi.py:32
GsfVertexWeightCalculator
Definition: GsfVertexWeightCalculator.h:14
ReferenceCountingPointer< LinearizedTrackState< N > >
GsfVertexUpdator::VertexChi2Pair
std::pair< VertexState, double > VertexChi2Pair
Definition: GsfVertexUpdator.h:45
GsfVertexUpdator::WeightChi2Pair
std::pair< double, double > WeightChi2Pair
Definition: GsfVertexUpdator.h:43
DeepCopyPointerByClone< GsfVertexMerger >
GsfVertexUpdator::theMerger
DeepCopyPointerByClone< GsfVertexMerger > theMerger
Definition: GsfVertexUpdator.h:55
GsfVertexUpdator::LTC
std::vector< RefCountedLinearizedTrackState > LTC
Definition: GsfVertexUpdator.h:42
GsfVertexUpdator::RefCountedLinearizedTrackState
VertexTrack< 5 >::RefCountedLinearizedTrackState RefCountedLinearizedTrackState
Definition: GsfVertexUpdator.h:17
GsfVertexUpdator::createNewComponent
VertexComponent createNewComponent(const VertexState &oldVertex, const RefCountedLinearizedTrackState linTrack, float weight, int sign) const
Definition: GsfVertexUpdator.cc:91
GsfVertexUpdator::add
CachingVertex< 5 > add(const CachingVertex< 5 > &oldVertex, const RefCountedVertexTrack track) const override
Definition: GsfVertexUpdator.cc:11
GsfVertexUpdator::VSC
std::vector< VertexState > VSC
Definition: GsfVertexUpdator.h:41
GsfVertexUpdator::VertexComponent
std::pair< VertexState, WeightChi2Pair > VertexComponent
Definition: GsfVertexUpdator.h:44
GsfVertexUpdator::remove
CachingVertex< 5 > remove(const CachingVertex< 5 > &oldVertex, const RefCountedVertexTrack track) const override
Definition: GsfVertexUpdator.cc:81
GsfVertexUpdator::kalmanVertexUpdator
KalmanVertexUpdator< 5 > kalmanVertexUpdator
Definition: GsfVertexUpdator.h:56
KalmanVertexUpdator.h
GsfVertexMerger
Definition: GsfVertexMerger.h:15
GsfVertexUpdator::theWeightCalculator
GsfVertexWeightCalculator theWeightCalculator
Definition: GsfVertexUpdator.h:57
GsfVertexUpdator::assembleVertexComponents
VertexChi2Pair assembleVertexComponents(const std::vector< VertexComponent > &newVertexComponents) const
Definition: GsfVertexUpdator.cc:121
remoteMonitoring_LED_IterMethod_cfg.limit
limit
Definition: remoteMonitoring_LED_IterMethod_cfg.py:427
GsfVertexUpdator
Definition: GsfVertexUpdator.h:14
VertexUpdator.h
VertexState
Definition: VertexState.h:13
GsfVertexUpdator::RefCountedVertexTrack
CachingVertex< 5 >::RefCountedVertexTrack RefCountedVertexTrack
Definition: GsfVertexUpdator.h:16
GsfVertexWeightCalculator.h
GsfVertexUpdator::clone
VertexUpdator< 5 > * clone() const override
Definition: GsfVertexUpdator.h:38
GsfVertexUpdator::limitComponents
bool limitComponents
Definition: GsfVertexUpdator.h:54
HLT_2018_cff.track
track
Definition: HLT_2018_cff.py:10352
weight
Definition: weight.py:1