65 std::vector<int>
pdgids {11,13,211,321,2212,3112,3222,3312,3334};
CaloParticleSelector(double ptMin, double ptMax, double minRapidity, double maxRapidity, double lip, double tip, int minHit, bool signalOnly, bool intimeOnly, bool chargedOnly, bool stableOnly, const std::vector< int > &pdgId=std::vector< int >(), double minPhi=-3.2, double maxPhi=3.2)
static CaloParticleSelector make(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
EncodedEventId eventId() const
Signal source, crossing number.
float charge() const
Electric charge. Note this is taken from the first SimTrack only.
genp_iterator genParticle_begin() const
iterators
const math::XYZTLorentzVectorF & p4() const
Four-momentum Lorentz vector. Note this is taken from the first SimTrack only.
static CaloParticleSelector make(const edm::ParameterSet &cfg)
std::vector< int > pdgId_
bool operator()(const CaloParticle &tp, std::vector< SimVertex > const &simVertices) const
genp_iterator genParticle_end() const