#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 |
VertexUpdator< 5 > * | clone () const |
GsfVertexUpdator (bool limit=false, const GsfVertexMerger *merger=0) | |
CachingVertex< 5 > | remove (const CachingVertex< 5 > &oldVertex, const RefCountedVertexTrack track) const |
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 51 of file GsfVertexUpdator.h.
typedef VertexTrack<5>::RefCountedLinearizedTrackState GsfVertexUpdator::RefCountedLinearizedTrackState |
Definition at line 19 of file GsfVertexUpdator.h.
Definition at line 18 of file GsfVertexUpdator.h.
|
private |
Definition at line 54 of file GsfVertexUpdator.h.
|
private |
Definition at line 53 of file GsfVertexUpdator.h.
|
private |
Definition at line 50 of file GsfVertexUpdator.h.
|
private |
Definition at line 52 of file GsfVertexUpdator.h.
GsfVertexUpdator::GsfVertexUpdator | ( | bool | limit = false , |
const GsfVertexMerger * | merger = 0 |
||
) |
Definition at line 6 of file GsfVertexUpdator.cc.
References GsfVertexMerger::clone(), limitComponents, and theMerger.
Referenced by clone().
CachingVertex< 5 > GsfVertexUpdator::add | ( | const CachingVertex< 5 > & | oldVertex, |
const RefCountedVertexTrack | track | ||
) | const |
Method to add a track to an existing CachingVertex An invalid vertex is returned in case of problems during the update.
Definition at line 13 of file GsfVertexUpdator.cc.
References KalmanVertexUpdator< N >::add(), assembleVertexComponents(), VertexState::components(), createNewComponent(), CachingVertex< N >::hasPrior(), kalmanVertexUpdator, limitComponents, GsfVertexMerger::merge(), CachingVertex< N >::priorError(), CachingVertex< N >::priorPosition(), theMerger, CachingVertex< N >::totalChiSquared(), CachingVertex< N >::tracks(), trackWeight(), CachingVertex< N >::vertexState(), VertexState::weight(), and VertexState::weightTimesPosition().
Referenced by counter.Counter::register(), and GsfVertexSmoother::smooth().
|
private |
Definition at line 134 of file GsfVertexUpdator.cc.
References puppiForMET_cff::weight.
Referenced by add().
|
inlinevirtual |
Clone method
Implements VertexUpdator< 5 >.
Definition at line 42 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 104 of file GsfVertexUpdator.cc.
References funct::abs(), GsfVertexWeightCalculator::calculate(), KalmanVertexUpdator< N >::chi2Increment(), VertexState::isValid(), kalmanVertexUpdator, KalmanVertexUpdator< N >::positionUpdate(), and theWeightCalculator.
Referenced by add().
CachingVertex< 5 > GsfVertexUpdator::remove | ( | const CachingVertex< 5 > & | oldVertex, |
const RefCountedVertexTrack | track | ||
) | const |
Method removing already used VertexTrack from existing CachingVertex This method is not yet implemented.
Definition at line 90 of file GsfVertexUpdator.cc.
|
private |
Definition at line 64 of file GsfVertexUpdator.h.
Referenced by add(), and createNewComponent().
|
private |
Definition at line 62 of file GsfVertexUpdator.h.
Referenced by add(), and GsfVertexUpdator().
|
private |
Definition at line 63 of file GsfVertexUpdator.h.
Referenced by add(), and GsfVertexUpdator().
|
private |
Definition at line 65 of file GsfVertexUpdator.h.
Referenced by createNewComponent().