#include <GsfVertexUpdator.h>
Public Types | |
typedef VertexTrack< 5 >::RefCountedLinearizedTrackState | RefCountedLinearizedTrackState |
typedef CachingVertex< 5 >::RefCountedVertexTrack | RefCountedVertexTrack |
Public Types inherited from VertexUpdator< 5 > | |
typedef CachingVertex< N >::RefCountedVertexTrack | RefCountedVertexTrack |
Public Member Functions | |
CachingVertex< 5 > | add (const CachingVertex< 5 > &oldVertex, const RefCountedVertexTrack track) const override |
VertexUpdator< 5 > * | clone () const override |
GsfVertexUpdator (bool limit=false, const GsfVertexMerger *merger=nullptr) | |
CachingVertex< 5 > | remove (const CachingVertex< 5 > &oldVertex, const RefCountedVertexTrack track) const override |
Public Member Functions inherited from VertexUpdator< 5 > | |
virtual CachingVertex< N > | add (const CachingVertex< N > &v, const typename CachingVertex< N >::RefCountedVertexTrack t) const=0 |
virtual CachingVertex< N > | remove (const CachingVertex< N > &v, const typename CachingVertex< N >::RefCountedVertexTrack t) const=0 |
VertexUpdator () | |
virtual | ~VertexUpdator () |
Private Types | |
typedef std::vector< RefCountedLinearizedTrackState > | LTC |
typedef std::pair< VertexState, double > | VertexChi2Pair |
typedef std::pair< VertexState, WeightChi2Pair > | VertexComponent |
typedef std::vector< VertexState > | VSC |
typedef std::pair< double, double > | WeightChi2Pair |
Private Member Functions | |
VertexChi2Pair | assembleVertexComponents (const std::vector< VertexComponent > &newVertexComponents) const |
VertexComponent | createNewComponent (const VertexState &oldVertex, const RefCountedLinearizedTrackState linTrack, float weight, int sign) const |
Private Attributes | |
KalmanVertexUpdator< 5 > | kalmanVertexUpdator |
bool | limitComponents |
DeepCopyPointerByClone< GsfVertexMerger > | theMerger |
GsfVertexWeightCalculator | theWeightCalculator |
Vertex updator for the Gaussian Sum vertex filter. (c.f. Th.Speer & R. Fruewirth, Comp.Phys.Comm 174, 935 (2006) )
Definition at line 14 of file GsfVertexUpdator.h.
|
private |
Definition at line 42 of file GsfVertexUpdator.h.
typedef VertexTrack<5>::RefCountedLinearizedTrackState GsfVertexUpdator::RefCountedLinearizedTrackState |
Definition at line 17 of file GsfVertexUpdator.h.
Definition at line 16 of file GsfVertexUpdator.h.
|
private |
Definition at line 45 of file GsfVertexUpdator.h.
|
private |
Definition at line 44 of file GsfVertexUpdator.h.
|
private |
Definition at line 41 of file GsfVertexUpdator.h.
|
private |
Definition at line 43 of file GsfVertexUpdator.h.
GsfVertexUpdator::GsfVertexUpdator | ( | bool | limit = false , |
const GsfVertexMerger * | merger = nullptr |
||
) |
Definition at line 6 of file GsfVertexUpdator.cc.
References GsfVertexMerger::clone(), limitComponents, and theMerger.
Referenced by clone().
|
override |
Method to add a track to an existing CachingVertex An invalid vertex is returned in case of problems during the update.
Definition at line 11 of file GsfVertexUpdator.cc.
References KalmanVertexUpdator< N >::add(), assembleVertexComponents(), hltPixelTracks_cff::chi2, VertexState::components(), createNewComponent(), CachingVertex< N >::hasPrior(), kalmanVertexUpdator, limitComponents, GsfVertexMerger::merge(), CachingVertex< N >::priorError(), CachingVertex< N >::priorPosition(), theMerger, CachingVertex< N >::totalChiSquared(), HLT_2018_cff::track, CachingVertex< N >::tracks(), trackWeight(), CachingVertex< N >::vertexState(), VertexState::weight(), and VertexState::weightTimesPosition().
Referenced by counter.Counter::register(), and GsfVertexSmoother::smooth().
|
private |
Definition at line 121 of file GsfVertexUpdator.cc.
References generateEDF::totalWeight, and mps_merge::weight.
Referenced by add().
|
inlineoverridevirtual |
Clone method
Implements VertexUpdator< 5 >.
Definition at line 38 of file GsfVertexUpdator.h.
References GsfVertexUpdator().
|
private |
Where one component of the previous vertex gets updated with one component of the track.
Definition at line 91 of file GsfVertexUpdator.cc.
References funct::abs(), GsfVertexWeightCalculator::calculate(), KalmanVertexUpdator< N >::chi2Increment(), VertexState::isValid(), kalmanVertexUpdator, KalmanVertexUpdator< N >::positionUpdate(), Validation_hcalonly_cfi::sign, and theWeightCalculator.
Referenced by add().
|
override |
Method removing already used VertexTrack from existing CachingVertex This method is not yet implemented.
Definition at line 81 of file GsfVertexUpdator.cc.
|
private |
Definition at line 56 of file GsfVertexUpdator.h.
Referenced by add(), and createNewComponent().
|
private |
Definition at line 54 of file GsfVertexUpdator.h.
Referenced by add(), and GsfVertexUpdator().
|
private |
Definition at line 55 of file GsfVertexUpdator.h.
Referenced by add(), and GsfVertexUpdator().
|
private |
Definition at line 57 of file GsfVertexUpdator.h.
Referenced by createNewComponent().