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