Class derived from the TtEvent for the full leptonic decay channel. More...
#include <AnalysisDataFormats/TopObjects/interface/TtFullLeptonicEvent.h>
Public Member Functions | |
const reco::Candidate * | b (const std::string &key, const unsigned &cmb=0) const |
get 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 * | bBar (const HypoClassKey &key, const unsigned &cmb=0) const |
get anti-b of the given hypothesis | |
const reco::Candidate * | bBar (const std::string &key, const unsigned &cmb=0) const |
get anti-b of the given hypothesis | |
const reco::GenParticle * | genB () const |
get b of the TtGenEvent | |
const reco::GenParticle * | genBBar () const |
get anti-b of the TtGenEvent | |
const reco::GenParticle * | genLepton () const |
get lepton of the TtGenEvent | |
const reco::GenParticle * | genLeptonBar () const |
get anti-lepton of the TtGenEvent | |
const reco::GenParticle * | genNeutrino () const |
get neutrino of the TtGenEvent | |
const reco::GenParticle * | genNeutrinoBar () const |
get anti-neutrino of the TtGenEvent | |
const reco::GenParticle * | genTop () const |
get top of the TtGenEvent | |
const reco::GenParticle * | genTopBar () const |
get anti-top of the TtGenEvent | |
const reco::GenParticle * | genWMinus () const |
get Wminus of the TtGenEvent | |
const reco::GenParticle * | genWPlus () const |
get Wplus of the TtGenEvent | |
bool | isWrongCharge () const |
return if the kinematic solution of hypothesis 'cmb' is right or wrong charge if available; -1 else | |
const reco::Candidate * | lepton (const std::string &key, const unsigned &cmb=0) const |
get lepton of the given hypothesis | |
const reco::Candidate * | lepton (const HypoClassKey &key, const unsigned &cmb=0) const |
get 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 | |
const reco::Candidate * | leptonBar (const HypoClassKey &key, const unsigned &cmb=0) const |
get anti-lepton of the given hypothesis | |
const reco::Candidate * | neutrino (const std::string &key, const unsigned &cmb=0) const |
get neutrino of the given hypothesis | |
const reco::Candidate * | neutrino (const HypoClassKey &key, const unsigned &cmb=0) const |
get neutrino of the given hypothesis | |
const reco::Candidate * | neutrinoBar (const HypoClassKey &key, const unsigned &cmb=0) const |
get anti-neutrino of the given hypothesis | |
const reco::Candidate * | neutrinoBar (const std::string &key, const unsigned &cmb=0) const |
get anti-neutrino of the given hypothesis | |
void | print (const int verbosity=1) const |
void | setSolWeight (const std::vector< double > &val) |
set weight of kKinSolution hypothesis | |
void | setWrongCharge (const bool &val) |
set right or wrong charge combination of kKinSolution 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 * | top (const HypoClassKey &key, const unsigned &cmb=0) const |
get top of the given hypothesis | |
const reco::Candidate * | top (const std::string &key, const unsigned &cmb=0) const |
get top of the given hypothesis | |
const reco::Candidate * | topBar (const std::string &key, const unsigned &cmb=0) const |
get anti-top of the given hypothesis | |
const reco::Candidate * | topBar (const HypoClassKey &key, const unsigned &cmb=0) const |
get anti-top of the given hypothesis | |
TtFullLeptonicEvent () | |
empty constructor | |
const reco::Candidate * | wMinus (const HypoClassKey &key, const unsigned &cmb=0) const |
get Wminus 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::Candidate * | wPlus (const std::string &key, const unsigned &cmb=0) const |
get Wplus of the given hypothesis | |
const reco::Candidate * | wPlus (const HypoClassKey &key, const unsigned &cmb=0) const |
get Wplus of the given hypothesis | |
virtual | ~TtFullLeptonicEvent () |
default destructor | |
Protected Attributes | |
std::vector< double > | solWeight_ |
result of kinematic solution | |
bool | wrongCharge_ |
right/wrong charge booleans |
Class derived from the TtEvent for the full leptonic decay channel.
The structure holds information on the leptonic decay channels, all event hypotheses of different classes (user defined during production) and a reference to the TtGenEvent (if available). It provides access and administration.
Definition at line 24 of file TtFullLeptonicEvent.h.
TtFullLeptonicEvent::TtFullLeptonicEvent | ( | ) | [inline] |
virtual TtFullLeptonicEvent::~TtFullLeptonicEvent | ( | ) | [inline, virtual] |
const reco::Candidate* TtFullLeptonicEvent::b | ( | const std::string & | key, |
const unsigned & | cmb = 0 |
||
) | const [inline] |
get b of the given hypothesis
Definition at line 37 of file TtFullLeptonicEvent.h.
References b(), and TtEvent::hypoClassKeyFromString().
Referenced by b(), genB(), and print().
{ return b(hypoClassKeyFromString(key), cmb); };
const reco::Candidate* TtFullLeptonicEvent::b | ( | const HypoClassKey & | key, |
const unsigned & | cmb = 0 |
||
) | const [inline] |
get b of the given hypothesis
Definition at line 39 of file TtFullLeptonicEvent.h.
References TtFullLepDaughter::B, reco::Candidate::daughter(), TtEvent::isHypoValid(), and top().
{ return !isHypoValid(key,cmb) ? 0 : top(key,cmb)->daughter(TtFullLepDaughter::B); };
const reco::Candidate* TtFullLeptonicEvent::bBar | ( | const std::string & | key, |
const unsigned & | cmb = 0 |
||
) | const [inline] |
get anti-b of the given hypothesis
Definition at line 57 of file TtFullLeptonicEvent.h.
References bBar(), and TtEvent::hypoClassKeyFromString().
Referenced by bBar(), genBBar(), and print().
{ return bBar(hypoClassKeyFromString(key), cmb); };
const reco::Candidate* TtFullLeptonicEvent::bBar | ( | const HypoClassKey & | key, |
const unsigned & | cmb = 0 |
||
) | const [inline] |
get anti-b of the given hypothesis
Definition at line 59 of file TtFullLeptonicEvent.h.
References TtFullLepDaughter::BBar, reco::Candidate::daughter(), TtEvent::isHypoValid(), and topBar().
{ return !isHypoValid(key,cmb) ? 0 : topBar(key,cmb)->daughter(TtFullLepDaughter::BBar ); };
const reco::GenParticle* TtFullLeptonicEvent::genB | ( | ) | const [inline] |
get b of the TtGenEvent
Definition at line 76 of file TtFullLeptonicEvent.h.
References b(), TtEvent::genEvent(), and TtEvent::genEvt_.
const reco::GenParticle* TtFullLeptonicEvent::genBBar | ( | ) | const [inline] |
get anti-b of the TtGenEvent
Definition at line 86 of file TtFullLeptonicEvent.h.
References bBar(), TtEvent::genEvent(), and TtEvent::genEvt_.
const reco::GenParticle* TtFullLeptonicEvent::genLepton | ( | ) | const [inline] |
get lepton of the TtGenEvent
Definition at line 90 of file TtFullLeptonicEvent.h.
References TtEvent::genEvent(), TtEvent::genEvt_, and lepton().
const reco::GenParticle* TtFullLeptonicEvent::genLeptonBar | ( | ) | const [inline] |
get anti-lepton of the TtGenEvent
Definition at line 80 of file TtFullLeptonicEvent.h.
References TtEvent::genEvent(), TtEvent::genEvt_, and leptonBar().
const reco::GenParticle* TtFullLeptonicEvent::genNeutrino | ( | ) | const [inline] |
get neutrino of the TtGenEvent
Definition at line 82 of file TtFullLeptonicEvent.h.
References TtEvent::genEvent(), TtEvent::genEvt_, and neutrino().
const reco::GenParticle* TtFullLeptonicEvent::genNeutrinoBar | ( | ) | const [inline] |
get anti-neutrino of the TtGenEvent
Definition at line 92 of file TtFullLeptonicEvent.h.
References TtEvent::genEvent(), TtEvent::genEvt_, and neutrinoBar().
{ return (!genEvt_ ? 0 : this->genEvent()->neutrinoBar()); };
const reco::GenParticle* TtFullLeptonicEvent::genTop | ( | ) | const [inline] |
get top of the TtGenEvent
Definition at line 74 of file TtFullLeptonicEvent.h.
References TtEvent::genEvent(), TtEvent::genEvt_, and top().
const reco::GenParticle* TtFullLeptonicEvent::genTopBar | ( | ) | const [inline] |
get anti-top of the TtGenEvent
Definition at line 84 of file TtFullLeptonicEvent.h.
References TtEvent::genEvent(), TtEvent::genEvt_, and topBar().
const reco::GenParticle* TtFullLeptonicEvent::genWMinus | ( | ) | const [inline] |
get Wminus of the TtGenEvent
Definition at line 88 of file TtFullLeptonicEvent.h.
References TtEvent::genEvent(), TtEvent::genEvt_, and wMinus().
const reco::GenParticle* TtFullLeptonicEvent::genWPlus | ( | ) | const [inline] |
get Wplus of the TtGenEvent
Definition at line 78 of file TtFullLeptonicEvent.h.
References TtEvent::genEvent(), TtEvent::genEvt_, and wPlus().
bool TtFullLeptonicEvent::isWrongCharge | ( | ) | const [inline] |
return if the kinematic solution of hypothesis 'cmb' is right or wrong charge if available; -1 else
Definition at line 97 of file TtFullLeptonicEvent.h.
References wrongCharge_.
Referenced by print().
{ return wrongCharge_; }
const reco::Candidate* TtFullLeptonicEvent::lepton | ( | const std::string & | key, |
const unsigned & | cmb = 0 |
||
) | const [inline] |
get lepton of the given hypothesis
Definition at line 65 of file TtFullLeptonicEvent.h.
References TtEvent::hypoClassKeyFromString(), and lepton().
Referenced by genLepton(), lepton(), and print().
{ return lepton(hypoClassKeyFromString(key), cmb); };
const reco::Candidate* TtFullLeptonicEvent::lepton | ( | const HypoClassKey & | key, |
const unsigned & | cmb = 0 |
||
) | const [inline] |
get lepton of the given hypothesis
Definition at line 67 of file TtFullLeptonicEvent.h.
References reco::Candidate::daughter(), TtEvent::isHypoValid(), TtFullLepDaughter::Lep, and wMinus().
{ return !isHypoValid(key,cmb) ? 0 : wMinus(key,cmb)->daughter(TtFullLepDaughter::Lep ); };
const reco::Candidate* TtFullLeptonicEvent::leptonBar | ( | const HypoClassKey & | key, |
const unsigned & | cmb = 0 |
||
) | const [inline] |
get anti-lepton of the given hypothesis
Definition at line 47 of file TtFullLeptonicEvent.h.
References reco::Candidate::daughter(), TtEvent::isHypoValid(), TtFullLepDaughter::LepBar, and wPlus().
{ return !isHypoValid(key,cmb) ? 0 : wPlus(key,cmb)->daughter(TtFullLepDaughter::LepBar); };
const reco::Candidate* TtFullLeptonicEvent::leptonBar | ( | const std::string & | key, |
const unsigned & | cmb = 0 |
||
) | const [inline] |
get anti-lepton of the given hypothesis
Definition at line 45 of file TtFullLeptonicEvent.h.
References TtEvent::hypoClassKeyFromString(), and leptonBar().
Referenced by genLeptonBar(), leptonBar(), and print().
{ return leptonBar(hypoClassKeyFromString(key), cmb); };
const reco::Candidate* TtFullLeptonicEvent::neutrino | ( | const std::string & | key, |
const unsigned & | cmb = 0 |
||
) | const [inline] |
get neutrino of the given hypothesis
Definition at line 49 of file TtFullLeptonicEvent.h.
References TtEvent::hypoClassKeyFromString(), and neutrino().
Referenced by genNeutrino(), neutrino(), and print().
{ return neutrino(hypoClassKeyFromString(key), cmb); };
const reco::Candidate* TtFullLeptonicEvent::neutrino | ( | const HypoClassKey & | key, |
const unsigned & | cmb = 0 |
||
) | const [inline] |
get neutrino of the given hypothesis
Definition at line 51 of file TtFullLeptonicEvent.h.
References reco::Candidate::daughter(), TtEvent::isHypoValid(), TtFullLepDaughter::Nu, and wPlus().
{ return !isHypoValid(key,cmb) ? 0 : wPlus(key,cmb)->daughter(TtFullLepDaughter::Nu ); };
const reco::Candidate* TtFullLeptonicEvent::neutrinoBar | ( | const std::string & | key, |
const unsigned & | cmb = 0 |
||
) | const [inline] |
get anti-neutrino of the given hypothesis
Definition at line 69 of file TtFullLeptonicEvent.h.
References TtEvent::hypoClassKeyFromString(), and neutrinoBar().
Referenced by genNeutrinoBar(), neutrinoBar(), and print().
{ return neutrinoBar(hypoClassKeyFromString(key), cmb); };
const reco::Candidate* TtFullLeptonicEvent::neutrinoBar | ( | const HypoClassKey & | key, |
const unsigned & | cmb = 0 |
||
) | const [inline] |
get anti-neutrino of the given hypothesis
Definition at line 71 of file TtFullLeptonicEvent.h.
References reco::Candidate::daughter(), TtEvent::isHypoValid(), TtFullLepDaughter::NuBar, and wMinus().
{ return !isHypoValid(key,cmb) ? 0 : wMinus (key,cmb)->daughter(TtFullLepDaughter::NuBar ); };
void TtFullLeptonicEvent::print | ( | const int | verbosity = 1 | ) | const |
print full content of the structure as formated LogInfo to the MessageLogger output for debugging
Definition at line 7 of file TtFullLeptonicEvent.cc.
References b(), bBar(), TtEvent::evtHyp_, first, TtEvent::genEvent(), TtEvent::genMatchSumDR(), TtEvent::genMatchSumPt(), TtEvent::isHypoValid(), isWrongCharge(), TtEvent::jetLeptonCombination(), fwrapper::jets, WDecay::kElec, TtEvent::kGenMatch, TtEvent::kGeom, TtEvent::kHitFit, TtEvent::kKinFit, TtEvent::kKinSolution, TtEvent::kMaxSumPtWMass, WDecay::kMuon, TtEvent::kMVADisc, WDecay::kTau, TtEvent::kWMassDeltaTopMass, TtEvent::kWMassMaxSumPt, lepton(), leptonBar(), create_public_lumi_plots::log, neutrino(), neutrinoBar(), TtEvent::numberOfAvailableHypoClasses(), TtEvent::numberOfAvailableHypos(), TtEvent::printParticle(), edm::second(), solWeight(), top(), topBar(), TtEvent::topPair(), wMinus(), and wPlus().
{ if(verbosity%10 <= 0) return; edm::LogInfo log("TtFullLeptonicEvent"); log << "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \n"; // get some information from the genEvent log << " TtGenEvent says: "; if( !this->genEvent()->isTtBar() ) log << "Not TtBar"; else if( this->genEvent()->isFullHadronic() ) log << "Fully Hadronic TtBar"; else if( this->genEvent()->isSemiLeptonic() ) log << "Semi-leptonic TtBar"; else if( this->genEvent()->isFullLeptonic() ) { log << "Fully Leptonic TtBar, "; switch( this->genEvent()->fullLeptonicChannel().first ) { case WDecay::kElec : log << "Electron-"; break; case WDecay::kMuon : log << "Muon-" ; break; case WDecay::kTau : log << "Tau-" ; break; default : log << "Unknown-" ; break; } switch( this->genEvent()->fullLeptonicChannel().second ) { case WDecay::kElec : log << "Electron-"; break; case WDecay::kMuon : log << "Muon-" ; break; case WDecay::kTau : log << "Tau-" ; break; default : log << "Unknown-" ; break; } log << "Channel"; } log << "\n"; // get number of available hypothesis classes log << " Number of available event hypothesis classes: " << this->numberOfAvailableHypoClasses() << " \n"; // create a legend for the jetLepComb log << " - JetLepComb: "; log << " b "; log << " bbar "; log << " e1(+) "; log << " e2(-) "; log << " mu1(+)"; log << " mu2(-)"; log << "\n"; // get details from the hypotheses typedef std::map<HypoClassKey, std::vector<HypoCombPair> >::const_iterator EventHypo; for(EventHypo hyp = evtHyp_.begin(); hyp != evtHyp_.end(); ++hyp) { HypoClassKey hypKey = (*hyp).first; // header for each hypothesis log << "------------------------------------------------------------ \n"; switch(hypKey) { case kGeom : log << " Geom not (yet) applicable to TtFullLeptonicEvent --> skipping" ; continue; case kWMassMaxSumPt : log << " WMassMaxSumPt not (yet) applicable to TtFullLeptonicEvent --> skipping" ; continue; case kMaxSumPtWMass : log << " MaxSumPtWMass not (yet) applicable to TtFullLeptonicEvent --> skipping" ; continue; case kGenMatch : log << " GenMatch" ; break; case kMVADisc : log << " MVADisc not (yet) applicable to TtFullLeptonicEvent --> skipping" ; continue; case kKinFit : log << " KinFit not (yet) applicable to TtFullLeptonicEvent --> skipping" ; continue; case kKinSolution : log << " KinSolution" ; break; case kWMassDeltaTopMass : log << " WMassDeltaTopMass not (yet) applicable to TtFullLeptonicEvent --> skipping"; continue; case kHitFit : log << " HitFit not (yet) applicable to TtFullLeptonicEvent --> skipping" ; continue; default : log << " Unknown TtEvent::HypoClassKey provided --> skipping" ; continue; } log << "-Hypothesis: \n"; unsigned nOfHyp = this->numberOfAvailableHypos(hypKey); if(nOfHyp > 1) { log << " * Number of available jet combinations: " << nOfHyp << "\n"; if(verbosity < 10) log << " The following was found to be the best one:\n"; } // if verbosity level is smaller than 10, never show more than the best jet combination if(verbosity < 10) nOfHyp = 1; for(unsigned cmb=0; cmb<nOfHyp; cmb++) { // check if hypothesis is valid if( !this->isHypoValid(hypKey, cmb) ) log << " * Not valid! \n"; // get meta information for valid hypothesis else { // jetLepComb log << " * JetLepComb:"; std::vector<int> jets = this->jetLeptonCombination(hypKey, cmb); for(unsigned int iJet = 0; iJet < jets.size(); iJet++) { log << " " << jets[iJet] << " "; } log << "\n"; // specialties for some hypotheses switch(hypKey) { case kGenMatch : log << " * Sum(DeltaR) : " << this->genMatchSumDR(cmb) << " \n" << " * Sum(DeltaPt): " << this->genMatchSumPt(cmb) << " \n"; break; case kKinSolution : log << " * Weight : " << this->solWeight(cmb) << " \n" << " * isWrongCharge: " << this->isWrongCharge() << " \n"; break; default : break; } // kinematic quantities of particles (if last digit of verbosity level > 1) if(verbosity%10 >= 2) { log << " * Candidates (pt; eta; phi; mass):\n"; if(verbosity%10 >= 3) printParticle(log, "top pair", this->topPair(hypKey, cmb)); printParticle(log, "top ", this->top (hypKey, cmb)); printParticle(log, "W plus ", this->wPlus(hypKey, cmb)); if(verbosity%10 >= 3) { printParticle(log, "b ", this->b (hypKey, cmb)); printParticle(log, "leptonBar ", this->leptonBar(hypKey, cmb)); printParticle(log, "neutrino ", this->neutrino (hypKey, cmb)); } printParticle(log, "topBar ", this->topBar(hypKey, cmb)); printParticle(log, "W minus ", this->wMinus(hypKey, cmb)); if(verbosity%10 >= 3) { printParticle(log, "bBar ", this->bBar (hypKey, cmb)); printParticle(log, "lepton ", this->lepton (hypKey, cmb)); printParticle(log, "neutrinoBar ", this->neutrinoBar(hypKey, cmb)); } } } } } log << "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"; }
void TtFullLeptonicEvent::setSolWeight | ( | const std::vector< double > & | val | ) | [inline] |
set weight of kKinSolution hypothesis
Definition at line 100 of file TtFullLeptonicEvent.h.
References solWeight_.
Referenced by TtEvtBuilder< C >::fillSpecific().
{ solWeight_=val; };
void TtFullLeptonicEvent::setWrongCharge | ( | const bool & | val | ) | [inline] |
set right or wrong charge combination of kKinSolution hypothesis
Definition at line 102 of file TtFullLeptonicEvent.h.
References wrongCharge_.
Referenced by TtEvtBuilder< C >::fillSpecific().
{ wrongCharge_=val; };
double TtFullLeptonicEvent::solWeight | ( | const unsigned & | cmb = 0 | ) | const [inline] |
return the weight of the kinematic solution of hypothesis 'cmb' if available; -1 else
Definition at line 95 of file TtFullLeptonicEvent.h.
References solWeight_.
Referenced by print().
{ return (cmb<solWeight_.size() ? solWeight_[cmb] : -1.); }
const reco::Candidate* TtFullLeptonicEvent::top | ( | const std::string & | key, |
const unsigned & | cmb = 0 |
||
) | const [inline] |
get top of the given hypothesis
Definition at line 33 of file TtFullLeptonicEvent.h.
References TtEvent::hypoClassKeyFromString(), and top().
Referenced by b(), genTop(), print(), top(), and wPlus().
{ return top(hypoClassKeyFromString(key), cmb); };
const reco::Candidate* TtFullLeptonicEvent::top | ( | const HypoClassKey & | key, |
const unsigned & | cmb = 0 |
||
) | const [inline] |
get top of the given hypothesis
Definition at line 35 of file TtFullLeptonicEvent.h.
References TtEvent::eventHypo(), TtEvent::isHypoValid(), and TtFullLepDaughter::Top.
{ return !isHypoValid(key,cmb) ? 0 : eventHypo(key,cmb). daughter(TtFullLepDaughter::Top); };
const reco::Candidate* TtFullLeptonicEvent::topBar | ( | const std::string & | key, |
const unsigned & | cmb = 0 |
||
) | const [inline] |
get anti-top of the given hypothesis
Definition at line 53 of file TtFullLeptonicEvent.h.
References TtEvent::hypoClassKeyFromString(), and topBar().
Referenced by bBar(), genTopBar(), print(), topBar(), and wMinus().
{ return topBar(hypoClassKeyFromString(key), cmb); };
const reco::Candidate* TtFullLeptonicEvent::topBar | ( | const HypoClassKey & | key, |
const unsigned & | cmb = 0 |
||
) | const [inline] |
get anti-top of the given hypothesis
Definition at line 55 of file TtFullLeptonicEvent.h.
References TtEvent::eventHypo(), TtEvent::isHypoValid(), and TtFullLepDaughter::TopBar.
{ return !isHypoValid(key,cmb) ? 0 : eventHypo(key,cmb). daughter(TtFullLepDaughter::TopBar); };
const reco::Candidate* TtFullLeptonicEvent::wMinus | ( | const std::string & | key, |
const unsigned & | cmb = 0 |
||
) | const [inline] |
get Wminus of the given hypothesis
Definition at line 61 of file TtFullLeptonicEvent.h.
References TtEvent::hypoClassKeyFromString(), and wMinus().
Referenced by genWMinus(), lepton(), neutrinoBar(), print(), and wMinus().
{ return wMinus(hypoClassKeyFromString(key), cmb); };
const reco::Candidate* TtFullLeptonicEvent::wMinus | ( | const HypoClassKey & | key, |
const unsigned & | cmb = 0 |
||
) | const [inline] |
get Wminus of the given hypothesis
Definition at line 63 of file TtFullLeptonicEvent.h.
References reco::Candidate::daughter(), TtEvent::isHypoValid(), topBar(), and TtFullLepDaughter::WMinus.
{ return !isHypoValid(key,cmb) ? 0 : topBar(key,cmb)->daughter(TtFullLepDaughter::WMinus); };
const reco::Candidate* TtFullLeptonicEvent::wPlus | ( | const HypoClassKey & | key, |
const unsigned & | cmb = 0 |
||
) | const [inline] |
get Wplus of the given hypothesis
Definition at line 43 of file TtFullLeptonicEvent.h.
References reco::Candidate::daughter(), TtEvent::isHypoValid(), top(), and TtFullLepDaughter::WPlus.
{ return !isHypoValid(key,cmb) ? 0 : top(key,cmb)->daughter(TtFullLepDaughter::WPlus); };
const reco::Candidate* TtFullLeptonicEvent::wPlus | ( | const std::string & | key, |
const unsigned & | cmb = 0 |
||
) | const [inline] |
get Wplus of the given hypothesis
Definition at line 41 of file TtFullLeptonicEvent.h.
References TtEvent::hypoClassKeyFromString(), and wPlus().
Referenced by genWPlus(), leptonBar(), neutrino(), print(), and wPlus().
{ return wPlus(hypoClassKeyFromString(key), cmb); };
std::vector<double> TtFullLeptonicEvent::solWeight_ [protected] |
result of kinematic solution
Definition at line 111 of file TtFullLeptonicEvent.h.
Referenced by setSolWeight(), and solWeight().
bool TtFullLeptonicEvent::wrongCharge_ [protected] |
right/wrong charge booleans
Definition at line 113 of file TtFullLeptonicEvent.h.
Referenced by isWrongCharge(), and setWrongCharge().