1 #ifndef TopObjects_TtGenEvent_h 2 #define TopObjects_TtGenEvent_h 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
bool isSemiLeptonic(bool excludeTauLeptons=false) const
check if the event can be classified as semi-laptonic
bool fromQuarkAnnihilation() const
check if the tops were produced from qqbar
const reco::GenParticle * hadronicDecayQuarkBar() const
get light anti-quark of hadronic decay branch
const reco::GenParticle * lepton(bool excludeTauLeptons=false) const
get lepton for semi-leptonic or full leptonic decays
math::XYZTLorentzVector topPair_
combined 4-vector of top and topBar
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
const reco::GenParticle * top() const
return top if available; 0 else
bool isFullHadronic(bool excludeTauLeptons=false) const
check if the event can be classified as full hadronic
U second(std::pair< T, U > const &p)
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
bool isFullLeptonic(bool excludeTauLeptons=false) const
check if the event can be classified as full leptonic
Class derived from the TopGenEvent for ttbar events.
WDecay::LeptonType semiLeptonicChannel() const
return decay channel; all leptons including taus are allowed
bool fromGluonFusion() const
check if the tops were produced from a pair of gluons
std::vector< const reco::GenParticle * > hadronicDecayTopRadiation(bool excludeTauLeptons=false) const
gluons as radiated from the hadronicly decaying top quark
bool isNumberOfLeptons(bool excludeTauLeptons, int nlep) const
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
bool isSemiLeptonic(WDecay::LeptonType typeA) const
check if the event is semi-leptonic with the lepton being of typeA; all leptons including taus are al...
const reco::GenParticle * singleNeutrino(bool excludeTauLeptons=false) const
return single neutrino if available; 0 else
bool isSemiLeptonic(WDecay::LeptonType typeA, WDecay::LeptonType typeB) const
check if the event is semi-leptonic with the lepton being of typeA or typeB; all leptons including ta...
Base class to hold information for reduced top generator information.
const reco::GenParticle * leptonicDecayB(bool excludeTauLeptons=false) const
get b of leptonic decay branch
const reco::GenParticle * neutrino(bool excludeTauLeptons=false) const
get neutrino for semi-leptonic or full leptonic decays
const math::XYZTLorentzVector * topPair() const
return combined 4-vector of top and topBar
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
const reco::GenParticle * topBar() const
return anti-top if available; 0 else
~TtGenEvent() override
default destructor
bool isTtBar() const
check if the event can be classified as ttbar
const reco::GenParticle * leptonBar(bool excludeTauLeptons=false) const
get anti-lepton for semi-leptonic or full leptonic decays
int numberOfLeptons(bool fromWBoson=true) const
return number of leptons in the decay chain
const reco::GenParticle * singleLepton(bool excludeTauLeptons=false) const
return single lepton if available; 0 else