1 #ifndef TopObjects_TtSemiLeptonicEvent_h 2 #define TopObjects_TtSemiLeptonicEvent_h 33 return hadronicDecayTop(hypoClassKeyFromString(key), cmb);
41 return hadronicDecayB(hypoClassKeyFromString(key), cmb);
49 return hadronicDecayW(hypoClassKeyFromString(key), cmb);
57 return hadronicDecayQuark(hypoClassKeyFromString(key), cmb);
65 return hadronicDecayQuarkBar(hypoClassKeyFromString(key), cmb);
73 return leptonicDecayTop(hypoClassKeyFromString(key), cmb);
81 return leptonicDecayB(hypoClassKeyFromString(key), cmb);
89 return leptonicDecayW(hypoClassKeyFromString(key), cmb);
97 return singleNeutrino(hypoClassKeyFromString(key), cmb);
105 return singleLepton(hypoClassKeyFromString(key), cmb);
114 return (!genEvt_ ?
nullptr : this->
genEvent()->hadronicDecayTop());
122 return (!genEvt_ ?
nullptr : this->
genEvent()->hadronicDecayQuark());
126 return (!genEvt_ ?
nullptr : this->
genEvent()->hadronicDecayQuarkBar());
130 return (!genEvt_ ?
nullptr : this->
genEvent()->leptonicDecayTop());
147 return (numberOfRealNeutrinoSolutions_.find(key) == numberOfRealNeutrinoSolutions_.end()
149 : numberOfRealNeutrinoSolutions_.find(key)->second);
153 return numberOfRealNeutrinoSolutions(hypoClassKeyFromString(key));
158 numberOfRealNeutrinoSolutions_[
key] =
nr;
const reco::Candidate * leptonicDecayTop(const HypoClassKey &key, const unsigned &cmb=0) const
get leptonic top of the given hypothesis
static const std::string HadB
const reco::Candidate * leptonicDecayW(const std::string &key, const unsigned &cmb=0) const
get leptonic W of the given hypothesis
const reco::GenParticle * leptonicDecayTop() const
get leptonic top of the TtGenEvent
HypoClassKey
supported classes of event hypotheses
static const std::string LepTop
const reco::Candidate * hadronicDecayTop(const HypoClassKey &key, const unsigned &cmb=0) const
get hadronic top of the given hypothesis
const reco::Candidate * singleLepton(const std::string &key, const unsigned &cmb=0) const
get leptonic light quark of the given hypothesis
static const std::string Lep
static const std::string LepW
const reco::Candidate * hadronicDecayW(const std::string &key, const unsigned &cmb=0) const
get hadronic W of the given hypothesis
const reco::Candidate * hadronicDecayQuarkBar(const HypoClassKey &key, const unsigned &cmb=0) const
get hadronic light quark of the given hypothesis
virtual const Candidate * daughter(size_type i) const =0
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode) ...
const reco::Candidate * hadronicDecayW(const HypoClassKey &key, const unsigned &cmb=0) const
get hadronic W of the given hypothesis
const reco::GenParticle * leptonicDecayB() const
get leptonic b of the TtGenEvent
const reco::Candidate * hadronicDecayTop(const std::string &key, const unsigned &cmb=0) const
get hadronic top of the given hypothesis
void setNumberOfRealNeutrinoSolutions(const HypoClassKey &key, const int &nr)
set number of real neutrino solutions for a given hypo class
Class derived from the TtEvent for the semileptonic decay channel.
static const std::string HadP
const reco::Candidate * leptonicDecayW(const HypoClassKey &key, const unsigned &cmb=0) const
get leptonic W of the given hypothesis
S & print(S &os, JobReport::InputFile const &f)
const reco::Candidate * hadronicDecayB(const std::string &key, const unsigned &cmb=0) const
get hadronic b of the given hypothesis
const reco::GenParticle * hadronicDecayB() const
get hadronic b of the TtGenEvent
const reco::GenParticle * singleLepton() const
get lepton top of the TtGenEvent
const reco::Candidate * leptonicDecayB(const std::string &key, const unsigned &cmb=0) const
get leptonic b of the given hypothesis
const int numberOfRealNeutrinoSolutions(const std::string &key) const
get number of real neutrino solutions for a given hypo class
const reco::GenParticle * leptonicDecayW() const
get leptonic W of the TtGenEvent
const reco::GenParticle * hadronicDecayW() const
get hadronic W of the TtGenEvent
const reco::Candidate * hadronicDecayB(const HypoClassKey &key, const unsigned &cmb=0) const
get hadronic b of the given hypothesis
static const std::string HadTop
const reco::Candidate * hadronicDecayQuarkBar(const std::string &key, const unsigned &cmb=0) const
get hadronic light quark of the given hypothesis
TtSemiLeptonicEvent()
empty constructor
const reco::Candidate * leptonicDecayTop(const std::string &key, const unsigned &cmb=0) const
get leptonic top of the given hypothesis
const reco::GenParticle * hadronicDecayQuarkBar() const
get hadronic light quark of the TtGenEvent
const reco::Candidate * hadronicDecayQuark(const HypoClassKey &key, const unsigned &cmb=0) const
get hadronic light quark of the given hypothesis
const reco::Candidate * singleLepton(const HypoClassKey &key, const unsigned &cmb=0) const
get leptonic light quark of the given hypothesis
Base class to hold information for ttbar event interpretation.
static const std::string HadQ
static const std::string HadW
const reco::GenParticle * hadronicDecayTop() const
get hadronic top of the TtGenEvent
static const std::string Nu
const reco::Candidate * hadronicDecayQuark(const std::string &key, const unsigned &cmb=0) const
get hadronic light quark of the given hypothesis
~TtSemiLeptonicEvent() override
default destructor
static const std::string LepB
const reco::GenParticle * hadronicDecayQuark() const
get hadronic light quark of the TtGenEvent
const int numberOfRealNeutrinoSolutions(const HypoClassKey &key) const
get number of real neutrino solutions for a given hypo class
const reco::Candidate * leptonicDecayB(const HypoClassKey &key, const unsigned &cmb=0) const
get leptonic b of the given hypothesis
const reco::GenParticle * singleNeutrino() const
get neutrino of the TtGenEvent
std::map< HypoClassKey, int > numberOfRealNeutrinoSolutions_
number of real neutrino solutions for all hypo classes
const reco::Candidate * singleNeutrino(const std::string &key, const unsigned &cmb=0) const
get leptonic light quark of the given hypothesis
const reco::Candidate * singleNeutrino(const HypoClassKey &key, const unsigned &cmb=0) const
get leptonic light quark of the given hypothesis