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