Go to the documentation of this file. 1 #ifndef TopObjects_TtFullHadronicEvent_h
2 #define TopObjects_TtFullHadronicEvent_h
140 return (!
genEvt_ ?
nullptr : this->
genEvent()->daughterQuarkBarOfWPlus());
144 return (!
genEvt_ ?
nullptr : this->
genEvent()->daughterQuarkBarOfWMinus());
TtFullHadronicEvent()
empty constructor
edm::RefProd< TtGenEvent > genEvt_
reference to TtGenEvent (has to be kept in the event!)
const reco::Candidate * lightPBar(const std::string &key, const unsigned &cmb=0) const
get light P bar of the given hypothesis
const reco::Candidate * lightP(const std::string &key, const unsigned &cmb=0) const
get light P of the given hypothesis
const reco::Candidate * b(const HypoClassKey &key, const unsigned &cmb=0) const
get b of the given hypothesis
bool isHypoValid(const std::string &key, const unsigned &cmb=0) const
check if hypothesis 'cmb' within the hypothesis class was valid; if not it lead to an empty Composite...
const reco::Candidate * wMinus(const HypoClassKey &key, const unsigned &cmb=0) const
get Wminus of the given hypothesis
const reco::Candidate * lightQ(const std::string &key, const unsigned &cmb=0) const
get light Q of the given hypothesis
const reco::Candidate * lightPBar(const HypoClassKey &key, const unsigned &cmb=0) const
get light P bar of the given hypothesis
const reco::GenParticle * lightQ() const
get light Q of the TtGenEvent
Class derived from the TtEvent for the full hadronic decay channel.
const reco::GenParticle * topBar() const
get anti-top of the TtGenEvent
const reco::GenParticle * bBar() const
get anti-b of the TtGenEvent
const reco::GenParticle * b() const
get b of the TtGenEvent
const reco::Candidate * top(const HypoClassKey &key, const unsigned &cmb=0) const
get top of the given hypothesis
static const std::string WMinus
void print(const int verbosity=1) const
const reco::Candidate * wPlus(const HypoClassKey &key, const unsigned &cmb=0) const
get Wplus of the given hypothesis
const reco::Candidate * lightQBar(const std::string &key, const unsigned &cmb=0) const
get light Q bar of the given hypothesis
const reco::CompositeCandidate & eventHypo(const HypoClassKey &key, const unsigned &cmb=0) const
const reco::Candidate * lightQBar(const HypoClassKey &key, const unsigned &cmb=0) const
get light Q bar of the given hypothesis
const reco::Candidate * lightQ(const HypoClassKey &key, const unsigned &cmb=0) const
get light Q of the given hypothesis
Base class to hold information for ttbar event interpretation.
const edm::RefProd< TtGenEvent > & genEvent() const
get TtGenEvent
static const std::string LightQ
const reco::GenParticle * lightP() const
get light P of the TtGenEvent
HypoClassKey hypoClassKeyFromString(const std::string &label) const
return the corresponding enum value from a string
static const std::string Top
const reco::Candidate * topBar(const HypoClassKey &key, const unsigned &cmb=0) const
get anti-top of the given hypothesis
const reco::Candidate * b(const std::string &key, const unsigned &cmb=0) const
get b of the given hypothesis
const reco::Candidate * wPlus(const std::string &key, const unsigned &cmb=0) const
get Wplus of the given hypothesis
const reco::Candidate * top(const std::string &key, const unsigned &cmb=0) const
get top of the given hypothesis
HypoClassKey
supported classes of event hypotheses
const reco::Candidate * topBar(const std::string &key, const unsigned &cmb=0) const
get anti-top of the given hypothesis
static const std::string LightP
static const std::string WPlus
static const std::string BBar
const reco::Candidate * bBar(const HypoClassKey &key, const unsigned &cmb=0) const
get anti-b of the given hypothesis
const reco::GenParticle * top() const
get top of the TtGenEvent
const reco::GenParticle * lightQBar() const
get light Q bar of the TtGenEvent
const reco::Candidate * wMinus(const std::string &key, const unsigned &cmb=0) const
get Wminus of the given hypothesis
static const std::string B
static const std::string TopBar
const reco::GenParticle * wPlus() const
get Wplus of the TtGenEvent
const reco::GenParticle * wMinus() const
get Wminus of the TtGenEvent
const Candidate * daughter(size_type) const override
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode)
const reco::Candidate * lightP(const HypoClassKey &key, const unsigned &cmb=0) const
get light P of the given hypothesis
const reco::GenParticle * lightPBar() const
get light P bar of the TtGenEvent
const Candidate * daughter(size_type) const override
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode)
static const std::string LightQBar
const reco::Candidate * bBar(const std::string &key, const unsigned &cmb=0) const
get anti-b of the given hypothesis
static const std::string LightPBar
~TtFullHadronicEvent() override
default destructor