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