20 std::vector<TrackingParticle>
result;
22 if(
TP().parentVertex().isNonnull())
24 if(
TP().parentVertex()->nSourceTracks() > 0)
34 result.push_back(**si);
38 if(!result.empty())
break;
void SetTrackingParticleMomentumPCA(const GlobalVector &p)
Global3DPoint GlobalPoint
void SetTrackingParticlePCA(const GlobalPoint &v)
TrackingParticle TP() const
const TrackingVertexRef & parentVertex() const
TrackingParticle TPMother() const
XYZPointD XYZPoint
point in space with cartesian internal representation
void SetBeamSpot(const math::XYZPoint &bs)
Monte Carlo truth information used for tracking validation.
Global3DVector GlobalVector