31 for (
unsigned int i = 0;
i <
parts_->size(); ++
i) {
49 for (
unsigned int i = 0;
i <
parts_->size(); ++
i) {
65 for (
unsigned int i = 0;
i < partsColl.size(); ++
i) {
79 for (
unsigned int i = 0;
i < partsColl.size(); ++
i) {
95 for (
unsigned int i = 0;
i < partsColl.size(); ++
i) {
113 for (
unsigned int i = 0;
i < partsColl.size(); ++
i) {
116 cand = &partsColl[
i];
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
const reco::GenParticle * singleNeutrino() const
return single neutrino if available; 0 else
reco::GenParticleRefProd parts_
reference to the top decay chain (has to be kept in the event!)
StGenEvent()
empty constructor
const reco::GenParticle * singleLepton() const
return single lepton if available; 0 else
const reco::GenParticle * associatedB() const
return associated b
bool isLepton(const Candidate &part)
reco::GenParticleRefProd initPartons_
reference to the list of initial partons (has to be kept in the event!)
virtual ~StGenEvent()
default destructor
bool isNeutrino(const Candidate &part)
const reco::GenParticle * singleTop() const
return single Top
const reco::GenParticle * decayB() const
return decay b
int flavour(const Candidate &part)
const reco::GenParticle * singleW() const
return single W