CMS 3D CMS Logo

Public Member Functions | Protected Attributes

TtFullLeptonicEvent Class Reference

Class derived from the TtEvent for the full leptonic decay channel. More...

#include <AnalysisDataFormats/TopObjects/interface/TtFullLeptonicEvent.h>

Inheritance diagram for TtFullLeptonicEvent:
TtEvent

List of all members.

Public Member Functions

const reco::Candidateb (const std::string &key, const unsigned &cmb=0) const
 get b of the given hypothesis
const reco::Candidateb (const HypoClassKey &key, const unsigned &cmb=0) const
 get b of the given hypothesis
const reco::CandidatebBar (const HypoClassKey &key, const unsigned &cmb=0) const
 get anti-b of the given hypothesis
const reco::CandidatebBar (const std::string &key, const unsigned &cmb=0) const
 get anti-b of the given hypothesis
const reco::GenParticlegenB () const
 get b of the TtGenEvent
const reco::GenParticlegenBBar () const
 get anti-b of the TtGenEvent
const reco::GenParticlegenLepton () const
 get lepton of the TtGenEvent
const reco::GenParticlegenLeptonBar () const
 get anti-lepton of the TtGenEvent
const reco::GenParticlegenNeutrino () const
 get neutrino of the TtGenEvent
const reco::GenParticlegenNeutrinoBar () const
 get anti-neutrino of the TtGenEvent
const reco::GenParticlegenTop () const
 get top of the TtGenEvent
const reco::GenParticlegenTopBar () const
 get anti-top of the TtGenEvent
const reco::GenParticlegenWMinus () const
 get Wminus of the TtGenEvent
const reco::GenParticlegenWPlus () 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::Candidatelepton (const std::string &key, const unsigned &cmb=0) const
 get lepton of the given hypothesis
const reco::Candidatelepton (const HypoClassKey &key, const unsigned &cmb=0) const
 get lepton of the given hypothesis
const reco::CandidateleptonBar (const std::string &key, const unsigned &cmb=0) const
 get anti-lepton of the given hypothesis
const reco::CandidateleptonBar (const HypoClassKey &key, const unsigned &cmb=0) const
 get anti-lepton of the given hypothesis
const reco::Candidateneutrino (const std::string &key, const unsigned &cmb=0) const
 get neutrino of the given hypothesis
const reco::Candidateneutrino (const HypoClassKey &key, const unsigned &cmb=0) const
 get neutrino of the given hypothesis
const reco::CandidateneutrinoBar (const HypoClassKey &key, const unsigned &cmb=0) const
 get anti-neutrino of the given hypothesis
const reco::CandidateneutrinoBar (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::Candidatetop (const HypoClassKey &key, const unsigned &cmb=0) const
 get top of the given hypothesis
const reco::Candidatetop (const std::string &key, const unsigned &cmb=0) const
 get top of the given hypothesis
const reco::CandidatetopBar (const std::string &key, const unsigned &cmb=0) const
 get anti-top of the given hypothesis
const reco::CandidatetopBar (const HypoClassKey &key, const unsigned &cmb=0) const
 get anti-top of the given hypothesis
 TtFullLeptonicEvent ()
 empty constructor
const reco::CandidatewMinus (const HypoClassKey &key, const unsigned &cmb=0) const
 get Wminus of the given hypothesis
const reco::CandidatewMinus (const std::string &key, const unsigned &cmb=0) const
 get Wminus of the given hypothesis
const reco::CandidatewPlus (const std::string &key, const unsigned &cmb=0) const
 get Wplus of the given hypothesis
const reco::CandidatewPlus (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

Detailed Description

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.


Constructor & Destructor Documentation

TtFullLeptonicEvent::TtFullLeptonicEvent ( ) [inline]

empty constructor

Definition at line 28 of file TtFullLeptonicEvent.h.

{};
virtual TtFullLeptonicEvent::~TtFullLeptonicEvent ( ) [inline, virtual]

default destructor

Definition at line 30 of file TtFullLeptonicEvent.h.

{};

Member Function Documentation

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_.

{ return (!genEvt_ ? 0 : this->genEvent()->b()          ); };
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_.

{ return (!genEvt_ ? 0 : this->genEvent()->bBar()       ); };
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().

{ return (!genEvt_ ? 0 : this->genEvent()->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().

{ return (!genEvt_ ? 0 : this->genEvent()->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().

{ return (!genEvt_ ? 0 : this->genEvent()->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().

{ return (!genEvt_ ? 0 : this->genEvent()->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().

{ return (!genEvt_ ? 0 : this->genEvent()->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().

{ return (!genEvt_ ? 0 : this->genEvent()->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().

{ return (!genEvt_ ? 0 : this->genEvent()->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().

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(), analyzePatCleaning_cfg::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(), funct::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); };

Member Data Documentation

std::vector<double> TtFullLeptonicEvent::solWeight_ [protected]

result of kinematic solution

Definition at line 111 of file TtFullLeptonicEvent.h.

Referenced by setSolWeight(), and solWeight().

right/wrong charge booleans

Definition at line 113 of file TtFullLeptonicEvent.h.

Referenced by isWrongCharge(), and setWrongCharge().