#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 22 of file MultiRefittedTS.h.
typedef ReferenceCountingPointer<RefittedTrackState<5> > MultiRefittedTS::RefCountedRefittedTrackState |
Definition at line 21 of file MultiRefittedTS.h.
|
private |
Definition at line 121 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 12 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 18 of file MultiRefittedTS.cc.
|
inlinevirtual |
Definition at line 39 of file MultiRefittedTS.h.
References covariance(), freeTrajectoryState(), momentumVector(), parameters(), position(), PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::propagator, trajectoryStateOnSurface(), transientTrack(), and weight().
|
inlinevirtual |
Implements RefittedTrackState< 5 >.
Definition at line 99 of file MultiRefittedTS.h.
References computeFreeTrajectoryState(), stateWithNewWeight(), and theComponents.
|
private |
Definition at line 33 of file MultiRefittedTS.cc.
References TransverseImpactPointExtrapolator::extrapolate(), freeTrajectoryState(), TrajectoryStateOnSurface::freeTrajectoryState(), fts, ftsAvailable, refPosition, surf, TrajectoryStateOnSurface::surface(), theComponents, and trajectoryStateOnSurface().
Referenced by components(), and freeTrajectoryState().
|
virtual |
The covariance matrix. Not possible yet for a multi-state, throws an exception.
The covariance matrix
Implements RefittedTrackState< 5 >.
Definition at line 72 of file MultiRefittedTS.cc.
Referenced by ~MultiRefittedTS().
|
virtual |
Returns a FreeTrajectoryState. It will be the FTS of the single, collapsed state.
Transformation into a FreeTrajectoryState
Implements RefittedTrackState< 5 >.
Definition at line 27 of file MultiRefittedTS.cc.
References computeFreeTrajectoryState(), fts, and ftsAvailable.
Referenced by computeFreeTrajectoryState(), transientTrack(), and ~MultiRefittedTS().
|
virtual |
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 93 of file MultiRefittedTS.cc.
Referenced by ~MultiRefittedTS().
|
virtual |
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 62 of file MultiRefittedTS.cc.
Referenced by ~MultiRefittedTS().
|
virtual |
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 82 of file MultiRefittedTS.cc.
Referenced by ~MultiRefittedTS().
|
virtual |
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 117 of file MultiRefittedTS.cc.
References MultiRefittedTS(), refPosition, refSurface, surf, theComponents, and weight().
Referenced by components().
|
virtual |
Returns a multi-state TSOS at a given surface
Transformation into a TSOS at a given surface
Implements RefittedTrackState< 5 >.
Definition at line 142 of file MultiRefittedTS.cc.
References theComponents.
Referenced by computeFreeTrajectoryState(), and ~MultiRefittedTS().
|
virtual |
Returns a multi-state TSOS at a given surface, with a given propagator
Implements RefittedTrackState< 5 >.
Definition at line 154 of file MultiRefittedTS.cc.
References theComponents.
|
virtual |
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 166 of file MultiRefittedTS.cc.
References TransientTrackFromFTSFactory::build(), and freeTrajectoryState().
Referenced by ~MultiRefittedTS().
|
virtual |
The weight of this component in a mixture
Implements RefittedTrackState< 5 >.
Definition at line 99 of file MultiRefittedTS.cc.
References gather_cfg::cout, theComponents, totalWeight, and totalWeightAvailable.
Referenced by stateWithNewWeight(), and ~MultiRefittedTS().
|
mutableprivate |
Definition at line 126 of file MultiRefittedTS.h.
Referenced by computeFreeTrajectoryState(), and freeTrajectoryState().
|
mutableprivate |
Definition at line 124 of file MultiRefittedTS.h.
Referenced by computeFreeTrajectoryState(), and freeTrajectoryState().
|
private |
Definition at line 127 of file MultiRefittedTS.h.
Referenced by computeFreeTrajectoryState(), and stateWithNewWeight().
|
private |
Definition at line 128 of file MultiRefittedTS.h.
Referenced by stateWithNewWeight().
|
private |
Definition at line 129 of file MultiRefittedTS.h.
Referenced by computeFreeTrajectoryState(), and stateWithNewWeight().
|
mutableprivate |
Definition at line 123 of file MultiRefittedTS.h.
Referenced by components(), computeFreeTrajectoryState(), stateWithNewWeight(), trajectoryStateOnSurface(), and weight().
|
mutableprivate |
Definition at line 125 of file MultiRefittedTS.h.
Referenced by weight().
|
mutableprivate |
Definition at line 124 of file MultiRefittedTS.h.
Referenced by weight().