30 std::pair<WDecay::LeptonType, WDecay::LeptonType>
46 return ( std::pair<WDecay::LeptonType,WDecay::LeptonType>(typeA, typeB) );
54 for (
unsigned int i = 0;
i < partsColl.size(); ++
i) {
70 for (
unsigned int i = 0;
i < partsColl.size(); ++
i) {
87 for (
unsigned int i = 0;
i < partsColl.size(); ++
i) {
102 for (
unsigned int i = 0;
i < partsColl.size(); ++
i) {
106 cand = &partsColl[
i];
118 for (
unsigned int i = 0;
i < partsColl.size(); ++
i) {
122 cand = &partsColl[
i];
135 for (
unsigned int i = 0;
i < partsColl.size(); ++
i) {
138 cand = &partsColl[
i];
154 for(reco::GenParticleCollection::const_iterator w=
parts_->begin(); w!=
parts_->end(); ++w){
182 for (
unsigned int i = 0;
i < partsColl.size(); ++
i) {
185 cand = &partsColl[
i];
199 for (
unsigned int i = 0;
i < partsColl.size(); ++
i) {
203 cand = &partsColl[
i];
217 for (
unsigned int i = 0;
i < partsColl.size(); ++
i) {
220 cand = &partsColl[
i];
234 for (
unsigned int i = 0;
i < partsColl.size(); ++
i) {
237 cand = &partsColl[
i];
251 for (
unsigned int i = 0;
i < partsColl.size(); ++
i) {
255 cand = &partsColl[
i];
269 for(
unsigned int i = 0;
i < partsColl.size(); ++
i ){
272 cand = &partsColl[
i];
283 std::vector<const reco::GenParticle*> rad;
291 std::vector<const reco::GenParticle*> rad;
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
const reco::GenParticle * leptonicDecayTop(bool excludeTauLeptons=false) const
get top of leptonic decay branch
const reco::GenParticle * hadronicDecayB(bool excludeTauLeptons=false) const
get b of hadronic decay branch
reco::GenParticleRefProd parts_
reference to the top decay chain (has to be kept in the event!)
bool isSemiLeptonic(bool excludeTauLeptons=false) const
check if the event can be classified as semi-laptonic
const reco::GenParticle * lepton(bool excludeTauLeptons=false) const
get lepton for semi-leptonic or full leptonic decays
bool isLepton(const Candidate &part)
std::vector< const reco::GenParticle * > leptonicDecayTopRadiation(bool excludeTauLeptons=false) const
gluons as radiated from the leptonicly decaying top quark
const reco::GenParticle * hadronicDecayW(bool excludeTauLeptons=false) const
get W of hadronic decay branch
reco::GenParticleRefProd initPartons_
reference to the list of initial partons (has to be kept in the event!)
bool isFullLeptonic(bool excludeTauLeptons=false) const
check if the event can be classified as full leptonic
bool isNeutrino(const Candidate &part)
WDecay::LeptonType semiLeptonicChannel() const
return decay channel; all leptons including taus are allowed
virtual const_iterator end() const =0
last daughter const_iterator
std::vector< const reco::GenParticle * > hadronicDecayTopRadiation(bool excludeTauLeptons=false) const
gluons as radiated from the hadronicly decaying top quark
TtGenEvent()
empty constructor
const reco::GenParticle * hadronicDecayTop(bool excludeTauLeptons=false) const
get top of hadronic decay branch
const reco::GenParticle * hadronicDecayQuark(bool invertFlavor=false) const
get light quark of hadronic decay branch
std::pair< WDecay::LeptonType, WDecay::LeptonType > fullLeptonicChannel() const
const reco::GenParticle * singleNeutrino(bool excludeTauLeptons=false) const
return single neutrino if available; 0 else
const reco::GenParticle * leptonicDecayB(bool excludeTauLeptons=false) const
get b of leptonic decay branch
std::vector< const reco::GenParticle * > radiatedGluons(int pdgId) const
return radiated gluons from particle with pdgId
virtual const_iterator begin() const =0
first daughter const_iterator
const reco::GenParticle * neutrino(bool excludeTauLeptons=false) const
get neutrino for semi-leptonic or full leptonic decays
const reco::GenParticle * neutrinoBar(bool excludeTauLeptons=false) const
get anti-neutrino for semi-leptonic or full leptonic decays
const reco::GenParticle * leptonicDecayW(bool excludeTauLeptons=false) const
get W of leptonic decay branch
int flavour(const Candidate &part)
const reco::GenParticle * leptonBar(bool excludeTauLeptons=false) const
get anti-lepton for semi-leptonic or full leptonic decays
const reco::GenParticle * singleLepton(bool excludeTauLeptons=false) const
return single lepton if available; 0 else