#include <MultiRefittedTS.h>
Public Types | |
typedef ReferenceCountingPointer< LinearizedTrackState< 5 > > | RefCountedLinearizedTrackState |
typedef ReferenceCountingPointer< RefittedTrackState< 5 > > | RefCountedRefittedTrackState |
Public Types inherited from RefittedTrackState< 5 > | |
typedef ROOT::Math::SMatrix< double, N, N, ROOT::Math::MatRepSym< double, N > > | AlgebraicSymMatrixNN |
typedef ROOT::Math::SVector< double, N - 2 > | AlgebraicVectorM |
typedef ROOT::Math::SVector< double, N > | AlgebraicVectorN |
Private Types | |
typedef std::vector< RefCountedRefittedTrackState > | RTSvector |
Private Member Functions | |
void | computeFreeTrajectoryState () const |
Private Attributes | |
FreeTrajectoryState | fts |
bool | ftsAvailable |
const GlobalPoint | refPosition |
ConstReferenceCountingPointer< Surface > | refSurface |
const bool | surf |
RTSvector | theComponents |
double | totalWeight |
bool | totalWeightAvailable |
Definition at line 17 of file MultiRefittedTS.h.
typedef ReferenceCountingPointer<LinearizedTrackState<5> > MultiRefittedTS::RefCountedLinearizedTrackState |
Definition at line 20 of file MultiRefittedTS.h.
typedef ReferenceCountingPointer<RefittedTrackState<5> > MultiRefittedTS::RefCountedRefittedTrackState |
Definition at line 19 of file MultiRefittedTS.h.
|
private |
Definition at line 109 of file MultiRefittedTS.h.
MultiRefittedTS::MultiRefittedTS | ( | const std::vector< RefCountedRefittedTrackState > & | prtsComp, |
const Surface & | referenceSurface | ||
) |
Constructor with a reference surface, to be used to assemble the TSOS components on one identical surface.
Definition at line 11 of file MultiRefittedTS.cc.
Referenced by stateWithNewWeight().
MultiRefittedTS::MultiRefittedTS | ( | const std::vector< RefCountedRefittedTrackState > & | prtsComp, |
const GlobalPoint & | referencePosition | ||
) |
Constructor with a reference position. The surface which is going to be usedto assemble the TSOS components will be the surface perpendicular to the PCA of the state with the highest weight to the reference point.
Definition at line 15 of file MultiRefittedTS.cc.
|
inlineoverride |
Definition at line 35 of file MultiRefittedTS.h.
|
inlineoverridevirtual |
Implements RefittedTrackState< 5 >.
Definition at line 94 of file MultiRefittedTS.h.
References theComponents.
|
private |
Definition at line 29 of file MultiRefittedTS.cc.
References TransverseImpactPointExtrapolator::extrapolate(), freeTrajectoryState(), TrajectoryStateOnSurface::freeTrajectoryState(), fts, ftsAvailable, refPosition, surf, TrajectoryStateOnSurface::surface(), theComponents, and trajectoryStateOnSurface().
Referenced by freeTrajectoryState().
|
overridevirtual |
The covariance matrix. Not possible yet for a multi-state, throws an exception.
The covariance matrix
Implements RefittedTrackState< 5 >.
Definition at line 64 of file MultiRefittedTS.cc.
|
overridevirtual |
Returns a FreeTrajectoryState. It will be the FTS of the single, collapsed state.
Transformation into a FreeTrajectoryState
Implements RefittedTrackState< 5 >.
Definition at line 23 of file MultiRefittedTS.cc.
References computeFreeTrajectoryState(), fts, and ftsAvailable.
Referenced by computeFreeTrajectoryState(), and transientTrack().
|
overridevirtual |
Vector containing the parameters describing the momentum as the vertex. These are (signed transverse curvature, theta, phi). Not possible yet for a multi-state, throws an exception.
Vector containing the parameters describing the momentum as the vertex. These are (signed transverse curvature, theta, phi)
Implements RefittedTrackState< 5 >.
Definition at line 81 of file MultiRefittedTS.cc.
|
overridevirtual |
Vector containing the refitted track parameters. Not possible yet for a multi-state, throws an exception.
Vector containing the refitted track parameters.
These are (signed transverse curvature, theta, phi, (signed) transverse , longitudinal impact parameter)
Implements RefittedTrackState< 5 >.
Definition at line 56 of file MultiRefittedTS.cc.
|
overridevirtual |
Position at which the momentum is defined. Not possible yet for a multi-state, throws an exception.
Position at which the momentum is defined.
Implements RefittedTrackState< 5 >.
Definition at line 72 of file MultiRefittedTS.cc.
|
overridevirtual |
This method is meant to returns a new refitted state of the same type, but with another weight. As we can have several components, each component of the new multi-state will be reweighted so that the sum of all weights is equal to the specified weight. The current state is unchanged.
Implements RefittedTrackState< 5 >.
Definition at line 98 of file MultiRefittedTS.cc.
References DQMScaleToClient_cfi::factor, MultiRefittedTS(), refPosition, refSurface, surf, theComponents, and weight().
|
overridevirtual |
Returns a multi-state TSOS at a given surface
Transformation into a TSOS at a given surface
Implements RefittedTrackState< 5 >.
Definition at line 121 of file MultiRefittedTS.cc.
References theComponents.
Referenced by computeFreeTrajectoryState().
|
overridevirtual |
Returns a multi-state TSOS at a given surface, with a given propagator
Implements RefittedTrackState< 5 >.
Definition at line 130 of file MultiRefittedTS.cc.
References TrackCandidateProducer_cfi::propagator, and theComponents.
|
overridevirtual |
Returns a new reco::Track, which can then be made persistent. The parameters are taken from FTS described above.
Implements RefittedTrackState< 5 >.
Definition at line 140 of file MultiRefittedTS.cc.
References TransientTrackFromFTSFactory::build(), and freeTrajectoryState().
|
overridevirtual |
The weight of this component in a mixture
Implements RefittedTrackState< 5 >.
Definition at line 85 of file MultiRefittedTS.cc.
References gather_cfg::cout, theComponents, totalWeight, and totalWeightAvailable.
Referenced by stateWithNewWeight().
|
mutableprivate |
Definition at line 114 of file MultiRefittedTS.h.
Referenced by computeFreeTrajectoryState(), and freeTrajectoryState().
|
mutableprivate |
Definition at line 112 of file MultiRefittedTS.h.
Referenced by computeFreeTrajectoryState(), and freeTrajectoryState().
|
private |
Definition at line 115 of file MultiRefittedTS.h.
Referenced by computeFreeTrajectoryState(), and stateWithNewWeight().
|
private |
Definition at line 116 of file MultiRefittedTS.h.
Referenced by stateWithNewWeight().
|
private |
Definition at line 117 of file MultiRefittedTS.h.
Referenced by computeFreeTrajectoryState(), and stateWithNewWeight().
|
mutableprivate |
Definition at line 111 of file MultiRefittedTS.h.
Referenced by components(), computeFreeTrajectoryState(), stateWithNewWeight(), trajectoryStateOnSurface(), and weight().
|
mutableprivate |
Definition at line 113 of file MultiRefittedTS.h.
Referenced by weight().
|
mutableprivate |
Definition at line 112 of file MultiRefittedTS.h.
Referenced by weight().