100 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, unsigned int maxSimClusters, bool signalOnly, bool intimeOnly, bool chargedOnly, bool stableOnly, bool notConvertedOnly, const std::vector< int > &pdgId=std::vector< int >(), double minPhi=-3.2, double maxPhi=3.2)
unsigned int maxSimClusters_
static CaloParticleSelector make(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
bool operator()(const CaloParticle &cp, std::vector< SimVertex > const &simVertices) const
EncodedEventId eventId() const
Signal source, crossing number.
float charge() const
Electric charge. Note this is taken from the first SimTrack only.
const std::vector< SimTrack > & g4Tracks() const
genp_iterator genParticle_begin() const
iterators
const math::XYZTLorentzVectorF & p4() const
Four-momentum Lorentz vector. Note this is taken from the first SimTrack only.
const SimClusterRefVector & simClusters() const
static CaloParticleSelector make(const edm::ParameterSet &cfg)
std::vector< int > pdgId_
genp_iterator genParticle_end() const