Go to the documentation of this file. 1 #ifndef TopObjects_TtFullLeptonicEvent_h
2 #define TopObjects_TtFullLeptonicEvent_h
const reco::Candidate * lepton(const std::string &key, const unsigned &cmb=0) const
get lepton 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)
edm::RefProd< TtGenEvent > genEvt_
reference to TtGenEvent (has to be kept in the event!)
const reco::GenParticle * genB() const
get b of the TtGenEvent
Class derived from the TtEvent for the full leptonic decay channel.
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...
std::vector< double > solWeight_
result of kinematic solution
const reco::GenParticle * genTopBar() const
get anti-top of the TtGenEvent
TtFullLeptonicEvent()
empty constructor
const reco::Candidate * neutrino(const HypoClassKey &key, const unsigned &cmb=0) const
get neutrino of the given hypothesis
static const std::string B
const reco::Candidate * neutrino(const std::string &key, const unsigned &cmb=0) const
get neutrino of the given hypothesis
bool wrongCharge_
right/wrong charge booleans
static const std::string LepBar
const reco::Candidate * top(const std::string &key, const unsigned &cmb=0) const
get 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::GenParticle * genTop() const
get top of the TtGenEvent
void setWrongCharge(const bool &val)
set right or wrong charge combination of kKinSolution hypothesis
const reco::CompositeCandidate & eventHypo(const HypoClassKey &key, const unsigned &cmb=0) const
double solWeight(const unsigned &cmb=0) const
return the weight of the kinematic solution of hypothesis 'cmb' if available; -1 else
void setSolWeight(const std::vector< double > &val)
set weight of kKinSolution hypothesis
const reco::Candidate * neutrinoBar(const HypoClassKey &key, const unsigned &cmb=0) const
get anti-neutrino of the given hypothesis
Base class to hold information for ttbar event interpretation.
const reco::Candidate * lepton(const HypoClassKey &key, const unsigned &cmb=0) const
get lepton of the given hypothesis
const edm::RefProd< TtGenEvent > & genEvent() const
get TtGenEvent
void print(const int verbosity=1) const
const reco::Candidate * topBar(const std::string &key, const unsigned &cmb=0) const
get anti-top of the given hypothesis
const reco::Candidate * wPlus(const HypoClassKey &key, const unsigned &cmb=0) const
get Wplus of the given hypothesis
HypoClassKey hypoClassKeyFromString(const std::string &label) const
return the corresponding enum value from a string
const reco::Candidate * leptonBar(const std::string &key, const unsigned &cmb=0) const
get anti-lepton of the given hypothesis
static const std::string NuBar
const reco::Candidate * wPlus(const std::string &key, const unsigned &cmb=0) const
get Wplus of the given hypothesis
static const std::string WPlus
~TtFullLeptonicEvent() override
default destructor
const reco::GenParticle * genWMinus() const
get Wminus of the TtGenEvent
HypoClassKey
supported classes of event hypotheses
static const std::string WMinus
const reco::Candidate * topBar(const HypoClassKey &key, const unsigned &cmb=0) const
get anti-top of the given hypothesis
const reco::GenParticle * genLeptonBar() const
get anti-lepton of the TtGenEvent
const reco::Candidate * wMinus(const HypoClassKey &key, const unsigned &cmb=0) const
get Wminus of the given hypothesis
static const std::string Lep
static const std::string BBar
const reco::Candidate * b(const HypoClassKey &key, const unsigned &cmb=0) const
get b 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::GenParticle * genNeutrino() const
get neutrino of the TtGenEvent
const reco::Candidate * bBar(const std::string &key, const unsigned &cmb=0) const
get anti-b 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 * genWPlus() const
get Wplus of the TtGenEvent
const reco::GenParticle * genNeutrinoBar() const
get anti-neutrino of the TtGenEvent
static const std::string Nu
const reco::Candidate * b(const std::string &key, const unsigned &cmb=0) const
get b of the given hypothesis
const reco::GenParticle * genBBar() const
get anti-b of the TtGenEvent
const reco::GenParticle * genLepton() const
get lepton of the TtGenEvent
bool isWrongCharge() const
return if the kinematic solution of hypothesis 'cmb' is right or wrong charge if available; -1 else
static const std::string TopBar
const Candidate * daughter(size_type) const override
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode)
const reco::Candidate * neutrinoBar(const std::string &key, const unsigned &cmb=0) const
get anti-neutrino of the given hypothesis
const reco::Candidate * top(const HypoClassKey &key, const unsigned &cmb=0) const
get top of the given hypothesis
static const std::string Top