30 for (
unsigned int i = 0;
i <
parts_->size(); ++
i) {
48 for (
unsigned int i = 0;
i <
parts_->size(); ++
i) {
64 for (
unsigned int i = 0;
i < partsColl.size(); ++
i) {
78 for (
unsigned int i = 0;
i < partsColl.size(); ++
i) {
94 for (
unsigned int i = 0;
i < partsColl.size(); ++
i) {
112 for (
unsigned int i = 0;
i < partsColl.size(); ++
i) {
115 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)
Abs< T >::type abs(const T &t)
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