genp_iterator genParticle_begin() const
iterators
TrackingParticleSelector(double ptMin, double minRapidity, double maxRapidity, double tip, double lip, int minHit, bool signalOnly, bool chargedOnly, bool stableOnly, std::vector< int > pdgId=std::vector< int >())
TrackingParticleSelector()
int pdgId() const
PDG id, signal source, crossing number.
std::vector< int > pdgId_
bool operator()(const TrackingParticle &tp) const
Operator() performs the selection: e.g. if (tPSelector(tp)) {...}.
genp_iterator genParticle_end() const
EncodedEventId eventId() const
static TrackingParticleSelector make(const edm::ParameterSet &cfg)
const Point & vertex() const
vertex position