1 #ifndef TopObjects_TtFullLeptonicEvent_h 2 #define TopObjects_TtFullLeptonicEvent_h 33 return top(hypoClassKeyFromString(key), cmb);
41 return b(hypoClassKeyFromString(key), cmb);
49 return wPlus(hypoClassKeyFromString(key), cmb);
57 return leptonBar(hypoClassKeyFromString(key), cmb);
65 return neutrino(hypoClassKeyFromString(key), cmb);
73 return topBar(hypoClassKeyFromString(key), cmb);
81 return bBar(hypoClassKeyFromString(key), cmb);
89 return wMinus(hypoClassKeyFromString(key), cmb);
97 return lepton(hypoClassKeyFromString(key), cmb);
105 return neutrinoBar(hypoClassKeyFromString(key), cmb);
134 double solWeight(
const unsigned& cmb = 0)
const {
return (cmb < solWeight_.size() ? solWeight_[cmb] : -1.); }
void setWrongCharge(const bool &val)
set right or wrong charge combination of kKinSolution hypothesis
HypoClassKey
supported classes of event hypotheses
const reco::Candidate * wPlus(const HypoClassKey &key, const unsigned &cmb=0) const
get Wplus of the given hypothesis
const reco::Candidate * bBar(const std::string &key, const unsigned &cmb=0) const
get anti-b of the given hypothesis
static const std::string WMinus
static const std::string Nu
const reco::GenParticle * genTopBar() const
get anti-top of the TtGenEvent
std::vector< double > solWeight_
result of kinematic solution
virtual const Candidate * daughter(size_type i) const =0
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode) ...
static const std::string WPlus
const reco::Candidate * bBar(const HypoClassKey &key, const unsigned &cmb=0) const
get anti-b of the given hypothesis
const reco::Candidate * b(const HypoClassKey &key, const unsigned &cmb=0) const
get b of the given hypothesis
const reco::Candidate * top(const std::string &key, const unsigned &cmb=0) const
get top of the given hypothesis
static const std::string B
const reco::GenParticle * genNeutrinoBar() const
get anti-neutrino of the TtGenEvent
static const std::string Top
S & print(S &os, JobReport::InputFile const &f)
const reco::Candidate * lepton(const std::string &key, const unsigned &cmb=0) const
get lepton of the given hypothesis
const reco::GenParticle * genBBar() const
get anti-b of the TtGenEvent
static const std::string TopBar
const reco::Candidate * neutrino(const std::string &key, const unsigned &cmb=0) const
get neutrino of the given hypothesis
const reco::Candidate * lepton(const HypoClassKey &key, const unsigned &cmb=0) const
get lepton of the given hypothesis
static const std::string LepBar
bool isWrongCharge() const
return if the kinematic solution of hypothesis 'cmb' is right or wrong charge if available; -1 else ...
const reco::GenParticle * genLepton() const
get lepton of the TtGenEvent
Class derived from the TtEvent for the full leptonic decay channel.
const reco::Candidate * neutrinoBar(const std::string &key, const unsigned &cmb=0) const
get anti-neutrino of the given hypothesis
void setSolWeight(const std::vector< double > &val)
set weight of kKinSolution hypothesis
const reco::Candidate * wMinus(const HypoClassKey &key, const unsigned &cmb=0) const
get Wminus of the given hypothesis
const reco::GenParticle * genTop() const
get top of the TtGenEvent
const reco::Candidate * b(const std::string &key, const unsigned &cmb=0) const
get b of the given hypothesis
bool wrongCharge_
right/wrong charge booleans
Base class to hold information for ttbar event interpretation.
const reco::Candidate * topBar(const std::string &key, const unsigned &cmb=0) const
get anti-top of the given hypothesis
const reco::Candidate * neutrinoBar(const HypoClassKey &key, const unsigned &cmb=0) const
get anti-neutrino of the given hypothesis
double solWeight(const unsigned &cmb=0) const
return the weight of the kinematic solution of hypothesis 'cmb' if available; -1 else ...
const reco::Candidate * wPlus(const std::string &key, const unsigned &cmb=0) const
get Wplus of the given hypothesis
const reco::GenParticle * genNeutrino() const
get neutrino of the TtGenEvent
static const std::string BBar
TtFullLeptonicEvent()
empty constructor
const reco::GenParticle * genB() const
get b of the TtGenEvent
const reco::Candidate * neutrino(const HypoClassKey &key, const unsigned &cmb=0) const
get neutrino of the given hypothesis
const reco::Candidate * wMinus(const std::string &key, const unsigned &cmb=0) const
get Wminus of the given hypothesis
const reco::GenParticle * genLeptonBar() const
get anti-lepton 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 NuBar
const reco::GenParticle * genWMinus() const
get Wminus of the TtGenEvent
static const std::string Lep
~TtFullLeptonicEvent() override
default destructor
const reco::GenParticle * genWPlus() const
get Wplus of the TtGenEvent
const reco::Candidate * topBar(const HypoClassKey &key, const unsigned &cmb=0) const
get anti-top of the given hypothesis
const reco::Candidate * leptonBar(const HypoClassKey &key, const unsigned &cmb=0) const
get anti-lepton of the given hypothesis
const reco::Candidate * leptonBar(const std::string &key, const unsigned &cmb=0) const
get anti-lepton of the given hypothesis