CMS 3D CMS Logo

TtSemiEvtSolution Class Reference

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

List of all members.

Public Member Functions

pat::Jet getCalHadb () const
pat::Jet getCalHadp () const
pat::Jet getCalHadq () const
reco::Particle getCalHadt () const
reco::Particle getCalHadW () const
pat::Jet getCalLepb () const
pat::Electron getCalLepe () const
pat::Muon getCalLepm () const
pat::MET getCalLepn () const
reco::Particle getCalLept () const
reco::Particle getCalLepW () const
std::string getDecay () const
pat::Electron getElectron () const
pat::Particle getFitHadb () const
pat::Particle getFitHadp () const
pat::Particle getFitHadq () const
reco::Particle getFitHadt () const
reco::Particle getFitHadW () const
const reco::CompositeCandidategetFitHyp () const
pat::Particle getFitLepb () const
pat::Particle getFitLepl () const
pat::Particle getFitLepn () const
reco::Particle getFitLept () const
reco::Particle getFitLepW () const
const edm::RefProd< TtGenEvent > & getGenEvent () const
const reco::GenParticlegetGenHadb () const
const reco::GenParticlegetGenHadp () const
const reco::GenParticlegetGenHadq () const
const reco::GenParticlegetGenHadt () const
const reco::GenParticlegetGenHadW () const
const reco::GenParticlegetGenLepb () const
const reco::GenParticlegetGenLepl () const
const reco::GenParticlegetGenLepn () const
const reco::GenParticlegetGenLept () const
const reco::GenParticlegetGenLepW () const
pat::Jet getHadb () const
pat::Jet getHadp () const
pat::Jet getHadq () const
int getJetParametrisation () const
pat::Jet getLepb () const
int getLeptonParametrisation () const
int getLRBestJetComb () const
double getLRJetCombLRval () const
double getLRJetCombObsVal (unsigned int) const
double getLRJetCombProb () const
double getLRSignalEvtLRval () const
double getLRSignalEvtObsVal (unsigned int) const
double getLRSignalEvtProb () const
double getMCBestAngleHadb () const
double getMCBestAngleHadp () const
double getMCBestAngleHadq () const
double getMCBestAngleLepb () const
int getMCBestJetComb () const
double getMCBestSumAngles () const
int getMCChangeWQ () const
const reco::CompositeCandidategetMCHyp () const
pat::Muon getMuon () const
pat::MET getNeutrino () const
int getNeutrinoParametrisation () const
double getProbChi2 () const
pat::Jet getRecHadb () const
pat::Jet getRecHadp () const
pat::Jet getRecHadq () const
reco::Particle getRecHadt () const
reco::Particle getRecHadW () const
pat::Jet getRecLepb () const
pat::Electron getRecLepe () const
pat::Muon getRecLepm () const
pat::MET getRecLepn () const
reco::Particle getRecLept () const
reco::Particle getRecLepW () const
const reco::CompositeCandidategetRecoHyp () const
int getSimpleBestJetComb () const
 TtSemiEvtSolution ()
virtual ~TtSemiEvtSolution ()

Protected Member Functions

void setElectron (const edm::Handle< std::vector< pat::Electron > > &elec, int i)
void setFitHadb (const pat::Particle &aFitHadb)
void setFitHadp (const pat::Particle &aFitHadp)
void setFitHadq (const pat::Particle &aFitHadq)
void setFitLepb (const pat::Particle &aFitLepb)
void setFitLepl (const pat::Particle &aFitLepl)
void setFitLepn (const pat::Particle &aFitLepn)
void setGenEvt (const edm::Handle< TtGenEvent > &aGenEvt)
void setHadb (const edm::Handle< std::vector< pat::Jet > > &jet, int i)
void setHadp (const edm::Handle< std::vector< pat::Jet > > &jet, int i)
void setHadq (const edm::Handle< std::vector< pat::Jet > > &jet, int i)
void setJetCorrectionScheme (int scheme)
void setJetParametrisation (int jp)
void setLepb (const edm::Handle< std::vector< pat::Jet > > &jet, int i)
void setLeptonParametrisation (int lp)
void setLRBestJetComb (int lrbs)
void setLRJetCombLRval (double clr)
void setLRJetCombObservables (std::vector< std::pair< unsigned int, double > > varval)
void setLRJetCombProb (double plr)
void setLRSignalEvtLRval (double clr)
void setLRSignalEvtObservables (std::vector< std::pair< unsigned int, double > > varval)
void setLRSignalEvtProb (double plr)
void setMCBestAngleHadb (double adr)
void setMCBestAngleHadp (double adr)
void setMCBestAngleHadq (double adr)
void setMCBestAngleLepb (double adr)
void setMCBestJetComb (int mcbs)
void setMCBestSumAngles (double sdr)
void setMCChangeWQ (int wq)
void setMuon (const edm::Handle< std::vector< pat::Muon > > &muon, int i)
void setNeutrino (const edm::Handle< std::vector< pat::MET > > &met, int i)
void setNeutrinoParametrisation (int mp)
void setProbChi2 (double c)
void setSimpleBestJetComb (int sbs)

Private Member Functions

void setupHyp ()

Private Attributes

double angleHadb_
double angleHadp_
double angleHadq_
double angleLepb_
int changeWQ_
std::string decay_
edm::Ptr< pat::Electronelectron_
std::vector< pat::ParticlefitHadb_
std::vector< pat::ParticlefitHadp_
std::vector< pat::ParticlefitHadq_
reco::CompositeCandidate fitHyp_
std::vector< pat::ParticlefitLepb_
std::vector< pat::ParticlefitLepl_
std::vector< pat::ParticlefitLepn_
edm::Ptr< pat::Jethadb_
edm::Ptr< pat::Jethadp_
edm::Ptr< pat::Jethadq_
int jetCorrScheme_
int jetParam_
edm::Ptr< pat::Jetlepb_
int leptonParam_
int lrBestJetComb_
double lrJetCombLRval_
double lrJetCombProb_
std::vector< std::pair
< unsigned int, double > > 
lrJetCombVarVal_
double lrSignalEvtLRval_
double lrSignalEvtProb_
std::vector< std::pair
< unsigned int, double > > 
lrSignalEvtVarVal_
int mcBestJetComb_
reco::CompositeCandidate mcHyp_
edm::Ptr< pat::Muonmuon_
edm::Ptr< pat::METneutrino_
int neutrinoParam_
double probChi2_
reco::CompositeCandidate recoHyp_
int simpleBestJetComb_
double sumAnglejp_
edm::RefProd< TtGenEventtheGenEvt_

Friends

class TtSemiEvtSolutionMaker
class TtSemiLepKinFitter
class TtSemiLRJetCombCalc
class TtSemiLRJetCombObservables
class TtSemiLRSignalSelCalc
class TtSemiLRSignalSelObservables


Detailed Description

Definition at line 32 of file TtSemiEvtSolution.h.


Constructor & Destructor Documentation

TtSemiEvtSolution::TtSemiEvtSolution (  ) 

Definition at line 10 of file TtSemiEvtSolution.cc.

References angleHadb_, angleHadp_, angleHadq_, angleLepb_, changeWQ_, jetCorrScheme_, lrBestJetComb_, lrJetCombLRval_, lrJetCombProb_, lrSignalEvtLRval_, lrSignalEvtProb_, mcBestJetComb_, probChi2_, simpleBestJetComb_, and sumAnglejp_.

00010                                      : 
00011   mcHyp_  ("ttSemiEvtMCHyp"), 
00012   recoHyp_("ttSemiEvtRecoHyp"),
00013   fitHyp_ ("ttSemiEvtFitHyp")
00014 {
00015   jetCorrScheme_     = 0;
00016   sumAnglejp_        = -999.;
00017   angleHadp_         = -999.;
00018   angleHadq_         = -999.;
00019   angleHadb_         = -999.;
00020   angleLepb_         = -999.;
00021   changeWQ_          = -999;
00022   probChi2_          = -999.;
00023   mcBestJetComb_     = -999;
00024   simpleBestJetComb_ = -999;
00025   lrBestJetComb_     = -999;
00026   lrJetCombLRval_    = -999.;
00027   lrJetCombProb_     = -999.;
00028   lrSignalEvtLRval_  = -999.;
00029   lrSignalEvtProb_   = -999.;
00030 }

TtSemiEvtSolution::~TtSemiEvtSolution (  )  [virtual]

Definition at line 32 of file TtSemiEvtSolution.cc.

00033 {
00034 }


Member Function Documentation

pat::Jet TtSemiEvtSolution::getCalHadb (  )  const [inline]

Definition at line 91 of file TtSemiEvtSolution.h.

References getHadb().

Referenced by TtSemiLepKinFitter::addKinFitInfo(), getCalHadt(), and TtSemiLRJetCombObservables::operator()().

00091 { return this->getHadb(); };

pat::Jet TtSemiEvtSolution::getCalHadp (  )  const [inline]

Definition at line 92 of file TtSemiEvtSolution.h.

References getHadp().

Referenced by TtSemiLepKinFitter::addKinFitInfo(), and TtSemiLRJetCombObservables::operator()().

00092 { return this->getHadp(); };

pat::Jet TtSemiEvtSolution::getCalHadq (  )  const [inline]

Definition at line 93 of file TtSemiEvtSolution.h.

References getHadq().

Referenced by TtSemiLepKinFitter::addKinFitInfo(), getCalHadt(), getCalHadW(), and TtSemiLRJetCombObservables::operator()().

00093 { return this->getHadq(); };

reco::Particle TtSemiEvtSolution::getCalHadt (  )  const

Definition at line 110 of file TtSemiEvtSolution.cc.

References getCalHadb(), and getCalHadq().

Referenced by TtSemiLRJetCombObservables::operator()().

00111 { 
00112   return reco::Particle(0,this->getCalHadp().p4() + this->getCalHadq().p4() + this->getCalHadb().p4()); 
00113 }

reco::Particle TtSemiEvtSolution::getCalHadW (  )  const

Definition at line 115 of file TtSemiEvtSolution.cc.

References getCalHadq().

Referenced by TtSemiLRJetCombObservables::operator()().

00116 { 
00117   return reco::Particle(0,this->getCalHadp().p4() + this->getCalHadq().p4()); 
00118 }

pat::Jet TtSemiEvtSolution::getCalLepb (  )  const [inline]

Definition at line 96 of file TtSemiEvtSolution.h.

References getLepb().

Referenced by TtSemiLepKinFitter::addKinFitInfo(), getCalLept(), and TtSemiLRJetCombObservables::operator()().

00096 { return this->getLepb(); };

pat::Electron TtSemiEvtSolution::getCalLepe (  )  const [inline]

Definition at line 98 of file TtSemiEvtSolution.h.

References getElectron().

Referenced by TtSemiLepKinFitter::addKinFitInfo().

00098 { return this->getElectron(); };

pat::Muon TtSemiEvtSolution::getCalLepm (  )  const [inline]

Definition at line 97 of file TtSemiEvtSolution.h.

References getMuon().

Referenced by TtSemiLepKinFitter::addKinFitInfo().

00097 { return this->getMuon(); };

pat::MET TtSemiEvtSolution::getCalLepn (  )  const [inline]

Definition at line 99 of file TtSemiEvtSolution.h.

References getNeutrino().

Referenced by TtSemiLepKinFitter::addKinFitInfo().

00099 { return this->getNeutrino(); };

reco::Particle TtSemiEvtSolution::getCalLept (  )  const

Definition at line 120 of file TtSemiEvtSolution.cc.

References getCalLepb(), getRecLepn(), and p.

Referenced by TtSemiLRJetCombObservables::operator()().

00121 {
00122   reco::Particle p;
00123   if (this->getDecay() == "muon")     p = reco::Particle(0,this->getRecLepm().p4() + this->getRecLepn().p4() + this->getCalLepb().p4());
00124   if (this->getDecay() == "electron") p = reco::Particle(0,this->getRecLepe().p4() + this->getRecLepn().p4() + this->getCalLepb().p4());
00125   return p;
00126 }

reco::Particle TtSemiEvtSolution::getCalLepW (  )  const

Definition at line 128 of file TtSemiEvtSolution.cc.

References getRecLepn(), and p.

00129 {
00130   reco::Particle p;
00131   if (this->getDecay() == "muon")     p = reco::Particle(0,this->getRecLepm().p4() + this->getRecLepn().p4());
00132   if (this->getDecay() == "electron") p = reco::Particle(0,this->getRecLepe().p4() + this->getRecLepn().p4());
00133   return p;
00134 }

std::string TtSemiEvtSolution::getDecay (  )  const [inline]

Definition at line 118 of file TtSemiEvtSolution.h.

References decay_.

Referenced by TtSemiLepKinFitter::addKinFitInfo(), TtSemiLRJetCombObservables::operator()(), and setupHyp().

00118 { return decay_; }

pat::Electron TtSemiEvtSolution::getElectron (  )  const [inline]

Definition at line 55 of file TtSemiEvtSolution.h.

References electron_.

Referenced by getCalLepe(), and getRecLepe().

00055 { return *electron_; };

pat::Particle TtSemiEvtSolution::getFitHadb (  )  const [inline]

Definition at line 106 of file TtSemiEvtSolution.h.

References fitHadb_.

Referenced by getFitHadt().

00106 { return (fitHadb_.size()>0 ? fitHadb_.front() : pat::Particle()); };

pat::Particle TtSemiEvtSolution::getFitHadp (  )  const [inline]

Definition at line 107 of file TtSemiEvtSolution.h.

References fitHadp_.

00107 { return (fitHadp_.size()>0 ? fitHadp_.front() : pat::Particle()); };

pat::Particle TtSemiEvtSolution::getFitHadq (  )  const [inline]

Definition at line 108 of file TtSemiEvtSolution.h.

References fitHadq_.

Referenced by getFitHadt(), and getFitHadW().

00108 { return (fitHadq_.size()>0 ? fitHadq_.front() : pat::Particle()); };

reco::Particle TtSemiEvtSolution::getFitHadt (  )  const

Definition at line 139 of file TtSemiEvtSolution.cc.

References getFitHadb(), and getFitHadq().

Referenced by TtSemiLRJetCombObservables::operator()().

00140 {
00141   // FIXME: provide the correct charge from generated event
00142   return reco::Particle(0, this->getFitHadp().p4() + this->getFitHadq().p4() + this->getFitHadb().p4());
00143 }

reco::Particle TtSemiEvtSolution::getFitHadW (  )  const

Definition at line 145 of file TtSemiEvtSolution.cc.

References getFitHadq().

00146 {
00147   // FIXME: provide the correct charge from generated event
00148   return reco::Particle(0, this->getFitHadp().p4() + this->getFitHadq().p4());
00149 }

const reco::CompositeCandidate& TtSemiEvtSolution::getFitHyp (  )  const [inline]

Definition at line 169 of file TtSemiEvtSolution.h.

References fitHyp_.

00169 { return fitHyp_;  }

pat::Particle TtSemiEvtSolution::getFitLepb (  )  const [inline]

Definition at line 111 of file TtSemiEvtSolution.h.

References fitLepb_.

Referenced by getFitLept().

00111 { return (fitLepb_.size()>0 ? fitLepb_.front() : pat::Particle()); };

pat::Particle TtSemiEvtSolution::getFitLepl (  )  const [inline]

Definition at line 112 of file TtSemiEvtSolution.h.

References fitLepl_.

00112 { return (fitLepl_.size()>0 ? fitLepl_.front() : pat::Particle()); }; 

pat::Particle TtSemiEvtSolution::getFitLepn (  )  const [inline]

Definition at line 113 of file TtSemiEvtSolution.h.

References fitLepn_.

Referenced by getFitLept(), getFitLepW(), and TtSemiLRJetCombObservables::operator()().

00113 { return (fitLepn_.size()>0 ? fitLepn_.front() : pat::Particle()); };    

reco::Particle TtSemiEvtSolution::getFitLept (  )  const

Definition at line 151 of file TtSemiEvtSolution.cc.

References getFitLepb(), and getFitLepn().

Referenced by TtSemiLRJetCombObservables::operator()().

00152 { 
00153   // FIXME: provide the correct charge from generated event
00154   return reco::Particle(0, this->getFitLepl().p4() + this->getFitLepn().p4() + this->getFitLepb().p4());
00155 }

reco::Particle TtSemiEvtSolution::getFitLepW (  )  const

Definition at line 157 of file TtSemiEvtSolution.cc.

References getFitLepn().

00158 { 
00159   // FIXME: provide the correct charge from generated event
00160   return reco::Particle(0, this->getFitLepl().p4() + this->getFitLepn().p4());
00161 }

const edm::RefProd<TtGenEvent>& TtSemiEvtSolution::getGenEvent (  )  const [inline]

Definition at line 61 of file TtSemiEvtSolution.h.

References theGenEvt_.

Referenced by getGenHadb(), getGenHadp(), getGenHadq(), getGenHadt(), getGenHadW(), getGenLepb(), getGenLepl(), getGenLepn(), getGenLept(), and getGenLepW().

00061 { return theGenEvt_; };

const reco::GenParticle* TtSemiEvtSolution::getGenHadb (  )  const [inline]

Definition at line 64 of file TtSemiEvtSolution.h.

References getGenEvent(), and theGenEvt_.

Referenced by TtSemiLRJetCombObservables::operator()().

00064 { if (!theGenEvt_) return 0; else return this->getGenEvent()->hadronicDecayB(false); };

const reco::GenParticle* TtSemiEvtSolution::getGenHadp (  )  const [inline]

Definition at line 65 of file TtSemiEvtSolution.h.

References getGenEvent(), and theGenEvt_.

Referenced by TtSemiLRJetCombObservables::operator()().

00065 { if (!theGenEvt_) return 0; else return this->getGenEvent()->hadronicDecayQuark(); };

const reco::GenParticle* TtSemiEvtSolution::getGenHadq (  )  const [inline]

Definition at line 66 of file TtSemiEvtSolution.h.

References getGenEvent(), and theGenEvt_.

Referenced by TtSemiLRJetCombObservables::operator()().

00066 { if (!theGenEvt_) return 0; else return this->getGenEvent()->hadronicDecayQuarkBar(); };

const reco::GenParticle* TtSemiEvtSolution::getGenHadt (  )  const [inline]

Definition at line 62 of file TtSemiEvtSolution.h.

References getGenEvent(), and theGenEvt_.

Referenced by TtSemiLRJetCombObservables::operator()().

00062 { if (!theGenEvt_) return 0; else return this->getGenEvent()->hadronicDecayTop(false); };

const reco::GenParticle* TtSemiEvtSolution::getGenHadW (  )  const [inline]

Definition at line 63 of file TtSemiEvtSolution.h.

References getGenEvent(), and theGenEvt_.

Referenced by TtSemiLRJetCombObservables::operator()().

00063 { if (!theGenEvt_) return 0; else return this->getGenEvent()->hadronicDecayW(false); };

const reco::GenParticle* TtSemiEvtSolution::getGenLepb (  )  const [inline]

Definition at line 69 of file TtSemiEvtSolution.h.

References getGenEvent(), and theGenEvt_.

Referenced by TtSemiLRJetCombObservables::operator()().

00069 { if (!theGenEvt_) return 0; else return this->getGenEvent()->leptonicDecayB(false); };

const reco::GenParticle* TtSemiEvtSolution::getGenLepl (  )  const [inline]

Definition at line 70 of file TtSemiEvtSolution.h.

References getGenEvent(), and theGenEvt_.

Referenced by TtSemiLRJetCombObservables::operator()().

00070 { if (!theGenEvt_) return 0; else return this->getGenEvent()->singleLepton(false); };

const reco::GenParticle* TtSemiEvtSolution::getGenLepn (  )  const [inline]

Definition at line 71 of file TtSemiEvtSolution.h.

References getGenEvent(), and theGenEvt_.

Referenced by TtSemiLRJetCombObservables::operator()().

00071 { if (!theGenEvt_) return 0; else return this->getGenEvent()->singleNeutrino(false); };

const reco::GenParticle* TtSemiEvtSolution::getGenLept (  )  const [inline]

Definition at line 67 of file TtSemiEvtSolution.h.

References getGenEvent(), and theGenEvt_.

Referenced by TtSemiLRJetCombObservables::operator()().

00067 { if (!theGenEvt_) return 0; else return this->getGenEvent()->leptonicDecayTop(false); };

const reco::GenParticle* TtSemiEvtSolution::getGenLepW (  )  const [inline]

Definition at line 68 of file TtSemiEvtSolution.h.

References getGenEvent(), and theGenEvt_.

Referenced by TtSemiLRJetCombObservables::operator()().

00068 { if (!theGenEvt_) return 0; else return this->getGenEvent()->leptonicDecayW(false); };

pat::Jet TtSemiEvtSolution::getHadb (  )  const

Definition at line 39 of file TtSemiEvtSolution.cc.

References hadb_, and jetCorrScheme_.

Referenced by getCalHadb(), and TtSemiLRJetCombObservables::operator()().

00040 {
00041   // WARNING this is obsolete and only 
00042   // kept for backwards compatibility
00043   if (jetCorrScheme_ == 1) return hadb_->correctedJet("HAD", "B"); // calibrate jets according to MC truth
00044   else if (jetCorrScheme_ == 2) return hadb_->correctedJet("HAD", "B");
00045   else return *hadb_;
00046 }

pat::Jet TtSemiEvtSolution::getHadp (  )  const

Definition at line 48 of file TtSemiEvtSolution.cc.

References hadp_, and jetCorrScheme_.

Referenced by getCalHadp(), and TtSemiLRJetCombObservables::operator()().

00049 {
00050   // WARNING this is obsolete and only 
00051   // kept for backwards compatibility
00052   if (jetCorrScheme_ == 1) return hadp_->correctedJet("HAD", "UDS"); // calibrate jets according to MC truth
00053   else if (jetCorrScheme_ == 2) return hadp_->correctedJet("HAD", "UDS");
00054   else return *hadp_;
00055 }

pat::Jet TtSemiEvtSolution::getHadq (  )  const

Definition at line 57 of file TtSemiEvtSolution.cc.

References hadq_, and jetCorrScheme_.

Referenced by getCalHadq(), and TtSemiLRJetCombObservables::operator()().

00058 {
00059   // WARNING this is obsolete and only 
00060   // kept for backwards compatibility
00061   if (jetCorrScheme_ == 1) return hadq_->correctedJet("HAD", "UDS"); // calibrate jets according to MC truth
00062   else if (jetCorrScheme_ == 2) return hadq_->correctedJet("HAD", "UDS");
00063   else return *hadq_;
00064 }

int TtSemiEvtSolution::getJetParametrisation (  )  const [inline]

Definition at line 134 of file TtSemiEvtSolution.h.

References jetParam_.

00134 { return jetParam_; }

pat::Jet TtSemiEvtSolution::getLepb (  )  const

Definition at line 66 of file TtSemiEvtSolution.cc.

References jetCorrScheme_, and lepb_.

Referenced by getCalLepb(), and TtSemiLRJetCombObservables::operator()().

00067 {
00068   // WARNING this is obsolete and only 
00069   // kept for backwards compatibility
00070   if (jetCorrScheme_ == 1) return lepb_->correctedJet("HAD", "B"); // calibrate jets according to MC truth
00071   else if (jetCorrScheme_ == 2) return lepb_->correctedJet("HAD", "B");
00072   else return *lepb_;
00073 }

int TtSemiEvtSolution::getLeptonParametrisation (  )  const [inline]

Definition at line 135 of file TtSemiEvtSolution.h.

References leptonParam_.

00135 { return leptonParam_; }

int TtSemiEvtSolution::getLRBestJetComb (  )  const [inline]

Definition at line 158 of file TtSemiEvtSolution.h.

References lrBestJetComb_.

00158 { return lrBestJetComb_; }

double TtSemiEvtSolution::getLRJetCombLRval (  )  const [inline]

Definition at line 160 of file TtSemiEvtSolution.h.

References lrJetCombLRval_.

00160 { return lrJetCombLRval_; }

double TtSemiEvtSolution::getLRJetCombObsVal ( unsigned int  selObs  )  const

Definition at line 179 of file TtSemiEvtSolution.cc.

References first, and lrJetCombVarVal_.

Referenced by TtSemiLRJetCombCalc::operator()().

00180 {
00181   double val = -999.;
00182   for(size_t o=0; o<lrJetCombVarVal_.size(); o++){
00183     if(lrJetCombVarVal_[o].first == selObs) val = lrJetCombVarVal_[o].second;
00184   }
00185   return val;
00186 }

double TtSemiEvtSolution::getLRJetCombProb (  )  const [inline]

Definition at line 161 of file TtSemiEvtSolution.h.

References lrJetCombProb_.

00161 { return lrJetCombProb_; }

double TtSemiEvtSolution::getLRSignalEvtLRval (  )  const [inline]

Definition at line 149 of file TtSemiEvtSolution.h.

References lrSignalEvtLRval_.

00149 { return lrSignalEvtLRval_; }

double TtSemiEvtSolution::getLRSignalEvtObsVal ( unsigned int  selObs  )  const

Definition at line 167 of file TtSemiEvtSolution.cc.

References first, and lrSignalEvtVarVal_.

Referenced by TtSemiLRSignalSelCalc::operator()().

00167                                                                         {
00168   double val = -999.;
00169   for(size_t o=0; o<lrSignalEvtVarVal_.size(); o++){
00170     if(lrSignalEvtVarVal_[o].first == selObs) val = lrSignalEvtVarVal_[o].second;
00171   }
00172   return val;
00173 }

double TtSemiEvtSolution::getLRSignalEvtProb (  )  const [inline]

Definition at line 150 of file TtSemiEvtSolution.h.

References lrSignalEvtProb_.

00150 { return lrSignalEvtProb_; }

double TtSemiEvtSolution::getMCBestAngleHadb (  )  const [inline]

Definition at line 126 of file TtSemiEvtSolution.h.

References angleHadb_.

00126 { return angleHadb_; };

double TtSemiEvtSolution::getMCBestAngleHadp (  )  const [inline]

Definition at line 124 of file TtSemiEvtSolution.h.

References angleHadp_.

00124 { return angleHadp_; };

double TtSemiEvtSolution::getMCBestAngleHadq (  )  const [inline]

Definition at line 125 of file TtSemiEvtSolution.h.

References angleHadq_.

00125 { return angleHadq_; };

double TtSemiEvtSolution::getMCBestAngleLepb (  )  const [inline]

Definition at line 127 of file TtSemiEvtSolution.h.

References angleLepb_.

00127 { return angleLepb_; };

int TtSemiEvtSolution::getMCBestJetComb (  )  const [inline]

Definition at line 156 of file TtSemiEvtSolution.h.

References mcBestJetComb_.

00156 { return mcBestJetComb_; }

double TtSemiEvtSolution::getMCBestSumAngles (  )  const [inline]

Definition at line 123 of file TtSemiEvtSolution.h.

References sumAnglejp_.

00123 { return sumAnglejp_;};

int TtSemiEvtSolution::getMCChangeWQ (  )  const [inline]

Definition at line 128 of file TtSemiEvtSolution.h.

References changeWQ_.

00128 { return changeWQ_; };     

const reco::CompositeCandidate& TtSemiEvtSolution::getMCHyp (  )  const [inline]

Definition at line 170 of file TtSemiEvtSolution.h.

References mcHyp_.

00170 { return mcHyp_;   }

pat::Muon TtSemiEvtSolution::getMuon (  )  const [inline]

Definition at line 54 of file TtSemiEvtSolution.h.

References muon_.

Referenced by getCalLepm(), and getRecLepm().

00054 { return *muon_; };

pat::MET TtSemiEvtSolution::getNeutrino (  )  const [inline]

Definition at line 56 of file TtSemiEvtSolution.h.

References neutrino_.

Referenced by getCalLepn(), and getRecLepn().

00056 { return *neutrino_; };

int TtSemiEvtSolution::getNeutrinoParametrisation (  )  const [inline]

Definition at line 136 of file TtSemiEvtSolution.h.

References neutrinoParam_.

00136 { return neutrinoParam_; }

double TtSemiEvtSolution::getProbChi2 (  )  const [inline]

Definition at line 142 of file TtSemiEvtSolution.h.

References probChi2_.

Referenced by TtSemiLRJetCombObservables::operator()().

00142 { return probChi2_; }

pat::Jet TtSemiEvtSolution::getRecHadb (  )  const [inline]

Definition at line 78 of file TtSemiEvtSolution.h.

References hadb_.

Referenced by getRecHadt(), and TtSemiLRJetCombObservables::operator()().

00078 { return hadb_->correctedJet("RAW"); };

pat::Jet TtSemiEvtSolution::getRecHadp (  )  const [inline]

Definition at line 79 of file TtSemiEvtSolution.h.

References hadp_.

Referenced by TtSemiLRJetCombObservables::operator()().

00079 { return hadp_->correctedJet("RAW"); };

pat::Jet TtSemiEvtSolution::getRecHadq (  )  const [inline]

Definition at line 80 of file TtSemiEvtSolution.h.

References hadq_.

Referenced by getRecHadt(), getRecHadW(), and TtSemiLRJetCombObservables::operator()().

00080 { return hadq_->correctedJet("RAW"); };

reco::Particle TtSemiEvtSolution::getRecHadt (  )  const

Definition at line 78 of file TtSemiEvtSolution.cc.

References getRecHadb(), and getRecHadq().

Referenced by TtSemiLRJetCombObservables::operator()().

00079 {
00080   // FIXME: the charge from the genevent
00081   return reco::Particle(0,this->getRecHadp().p4() + this->getRecHadq().p4() + this->getRecHadb().p4());
00082 }

reco::Particle TtSemiEvtSolution::getRecHadW (  )  const

Definition at line 84 of file TtSemiEvtSolution.cc.

References getRecHadq().

Referenced by TtSemiLRJetCombObservables::operator()().

00085 {
00086   // FIXME: the charge from the genevent
00087   return reco::Particle(0,this->getRecHadp().p4() + this->getRecHadq().p4());
00088 }

pat::Jet TtSemiEvtSolution::getRecLepb (  )  const [inline]

Definition at line 83 of file TtSemiEvtSolution.h.

References lepb_.

Referenced by getRecLept(), and TtSemiLRJetCombObservables::operator()().

00083 { return lepb_->correctedJet("RAW"); }; 

pat::Electron TtSemiEvtSolution::getRecLepe (  )  const [inline]

Definition at line 85 of file TtSemiEvtSolution.h.

References getElectron().

Referenced by TtSemiLRJetCombObservables::operator()().

00085 { return this->getElectron(); };

pat::Muon TtSemiEvtSolution::getRecLepm (  )  const [inline]

Definition at line 84 of file TtSemiEvtSolution.h.

References getMuon().

Referenced by TtSemiLRJetCombObservables::operator()().

00084 { return this->getMuon(); };

pat::MET TtSemiEvtSolution::getRecLepn (  )  const [inline]

Definition at line 86 of file TtSemiEvtSolution.h.

References getNeutrino().

Referenced by getCalLept(), getCalLepW(), getRecLept(), getRecLepW(), and TtSemiLRJetCombObservables::operator()().

00086 { return this->getNeutrino(); };  

reco::Particle TtSemiEvtSolution::getRecLept (  )  const

Definition at line 90 of file TtSemiEvtSolution.cc.

References getRecLepb(), getRecLepn(), and p.

Referenced by TtSemiLRJetCombObservables::operator()().

00091 {
00092   // FIXME: the charge from the genevent
00093   reco::Particle p;
00094   if (this->getDecay() == "muon")     p = reco::Particle(0,this->getRecLepm().p4() + this->getRecLepn().p4() + this->getRecLepb().p4());
00095   if (this->getDecay() == "electron") p = reco::Particle(0,this->getRecLepe().p4() + this->getRecLepn().p4() + this->getRecLepb().p4());
00096   return p;
00097 }

reco::Particle TtSemiEvtSolution::getRecLepW (  )  const

Definition at line 99 of file TtSemiEvtSolution.cc.

References getRecLepn(), and p.

Referenced by TtSemiLRJetCombObservables::operator()().

00100 { 
00101   // FIXME: the charge from the genevent
00102   reco::Particle p;
00103   if (this->getDecay() == "muon")     p = reco::Particle(0,this->getRecLepm().p4() + this->getRecLepn().p4());
00104   if (this->getDecay() == "electron") p = reco::Particle(0,this->getRecLepe().p4() + this->getRecLepn().p4());
00105   return p;
00106 }

const reco::CompositeCandidate& TtSemiEvtSolution::getRecoHyp (  )  const [inline]

Definition at line 168 of file TtSemiEvtSolution.h.

References recoHyp_.

00168 { return recoHyp_; }

int TtSemiEvtSolution::getSimpleBestJetComb (  )  const [inline]

Definition at line 157 of file TtSemiEvtSolution.h.

References simpleBestJetComb_.

00157 { return simpleBestJetComb_; }

void TtSemiEvtSolution::setElectron ( const edm::Handle< std::vector< pat::Electron > > &  elec,
int  i 
) [inline, protected]

Definition at line 193 of file TtSemiEvtSolution.h.

References decay_, and electron_.

Referenced by TtSemiEvtSolutionMaker::produce().

00194   { electron_ = edm::Ptr<pat::Electron>(elec, i); decay_ = "electron"; };

void TtSemiEvtSolution::setFitHadb ( const pat::Particle aFitHadb  )  [inline, protected]

Definition at line 201 of file TtSemiEvtSolution.h.

References fitHadb_.

Referenced by TtSemiLepKinFitter::addKinFitInfo().

00201 { fitHadb_.clear(); fitHadb_.push_back(aFitHadb); };

void TtSemiEvtSolution::setFitHadp ( const pat::Particle aFitHadp  )  [inline, protected]

Definition at line 202 of file TtSemiEvtSolution.h.

References fitHadp_.

Referenced by TtSemiLepKinFitter::addKinFitInfo().

00202 { fitHadp_.clear(); fitHadp_.push_back(aFitHadp); };

void TtSemiEvtSolution::setFitHadq ( const pat::Particle aFitHadq  )  [inline, protected]

Definition at line 203 of file TtSemiEvtSolution.h.

References fitHadq_.

Referenced by TtSemiLepKinFitter::addKinFitInfo().

00203 { fitHadq_.clear(); fitHadq_.push_back(aFitHadq); };

void TtSemiEvtSolution::setFitLepb ( const pat::Particle aFitLepb  )  [inline, protected]

Definition at line 204 of file TtSemiEvtSolution.h.

References fitLepb_.

Referenced by TtSemiLepKinFitter::addKinFitInfo().

00204 { fitLepb_.clear(); fitLepb_.push_back(aFitLepb); };

void TtSemiEvtSolution::setFitLepl ( const pat::Particle aFitLepl  )  [inline, protected]

Definition at line 205 of file TtSemiEvtSolution.h.

References fitLepl_.

Referenced by TtSemiLepKinFitter::addKinFitInfo().

00205 { fitLepl_.clear(); fitLepl_.push_back(aFitLepl); };

void TtSemiEvtSolution::setFitLepn ( const pat::Particle aFitLepn  )  [inline, protected]

Definition at line 206 of file TtSemiEvtSolution.h.

References fitLepn_.

Referenced by TtSemiLepKinFitter::addKinFitInfo().

00206 { fitLepn_.clear(); fitLepn_.push_back(aFitLepn); };

void TtSemiEvtSolution::setGenEvt ( const edm::Handle< TtGenEvent > &  aGenEvt  )  [protected]

Definition at line 191 of file TtSemiEvtSolution.cc.

References theGenEvt_.

Referenced by TtSemiEvtSolutionMaker::produce().

00192 {
00193   if( !aGenEvt->isSemiLeptonic(false) ){
00194     edm::LogWarning( "TtGenEventNotFilled" ) << "genEvt is not semi-leptonic; TtGenEvent is not filled";
00195     return;
00196   }
00197   theGenEvt_ = edm::RefProd<TtGenEvent>(aGenEvt);
00198 }

void TtSemiEvtSolution::setHadb ( const edm::Handle< std::vector< pat::Jet > > &  jet,
int  i 
) [inline, protected]

Definition at line 187 of file TtSemiEvtSolution.h.

References hadb_, and metsig::jet.

Referenced by TtSemiEvtSolutionMaker::produce().

00188   { hadb_ = edm::Ptr<pat::Jet>(jet, i); };

void TtSemiEvtSolution::setHadp ( const edm::Handle< std::vector< pat::Jet > > &  jet,
int  i 
) [inline, protected]

Definition at line 183 of file TtSemiEvtSolution.h.

References hadp_, and metsig::jet.

Referenced by TtSemiEvtSolutionMaker::produce().

00184   { hadp_ = edm::Ptr<pat::Jet>(jet, i); };

void TtSemiEvtSolution::setHadq ( const edm::Handle< std::vector< pat::Jet > > &  jet,
int  i 
) [inline, protected]

Definition at line 185 of file TtSemiEvtSolution.h.

References hadq_, and metsig::jet.

Referenced by TtSemiEvtSolutionMaker::produce().

00186   { hadq_ = edm::Ptr<pat::Jet>(jet, i); };

void TtSemiEvtSolution::setJetCorrectionScheme ( int  scheme  )  [inline, protected]

Definition at line 182 of file TtSemiEvtSolution.h.

References jetCorrScheme_.

Referenced by TtSemiEvtSolutionMaker::produce().

00182 { jetCorrScheme_ = scheme; };

void TtSemiEvtSolution::setJetParametrisation ( int  jp  )  [inline, protected]

Definition at line 222 of file TtSemiEvtSolution.h.

References jetParam_.

Referenced by TtSemiEvtSolutionMaker::produce().

00222 { jetParam_ = jp; };

void TtSemiEvtSolution::setLepb ( const edm::Handle< std::vector< pat::Jet > > &  jet,
int  i 
) [inline, protected]

Definition at line 189 of file TtSemiEvtSolution.h.

References metsig::jet, and lepb_.

Referenced by TtSemiEvtSolutionMaker::produce().

00190   { lepb_ = edm::Ptr<pat::Jet>(jet, i); };

void TtSemiEvtSolution::setLeptonParametrisation ( int  lp  )  [inline, protected]

Definition at line 223 of file TtSemiEvtSolution.h.

References leptonParam_.

Referenced by TtSemiEvtSolutionMaker::produce().

00223 { leptonParam_ = lp; };

void TtSemiEvtSolution::setLRBestJetComb ( int  lrbs  )  [inline, protected]

Definition at line 238 of file TtSemiEvtSolution.h.

References lrBestJetComb_.

00238 { lrBestJetComb_ = lrbs;  };

void TtSemiEvtSolution::setLRJetCombLRval ( double  clr  )  [inline, protected]

Definition at line 240 of file TtSemiEvtSolution.h.

References lrJetCombLRval_.

Referenced by TtSemiLRJetCombCalc::operator()().

00240 {lrJetCombLRval_ = clr;};

void TtSemiEvtSolution::setLRJetCombObservables ( std::vector< std::pair< unsigned int, double > >  varval  )  [protected]

Definition at line 204 of file TtSemiEvtSolution.cc.

References lrJetCombVarVal_.

Referenced by TtSemiLRJetCombObservables::operator()().

00205 {
00206   lrJetCombVarVal_.clear();
00207   for(size_t ijc = 0; ijc<varval.size(); ijc++) lrJetCombVarVal_.push_back(varval[ijc]);
00208 }

void TtSemiEvtSolution::setLRJetCombProb ( double  plr  )  [inline, protected]

Definition at line 241 of file TtSemiEvtSolution.h.

References lrJetCombProb_.

Referenced by TtSemiLRJetCombCalc::operator()().

00241 {lrJetCombProb_ = plr;};

void TtSemiEvtSolution::setLRSignalEvtLRval ( double  clr  )  [inline, protected]

Definition at line 247 of file TtSemiEvtSolution.h.

References lrSignalEvtLRval_.

Referenced by TtSemiLRSignalSelCalc::operator()().

00247 {lrSignalEvtLRval_ = clr;};

void TtSemiEvtSolution::setLRSignalEvtObservables ( std::vector< std::pair< unsigned int, double > >  varval  )  [protected]

Definition at line 213 of file TtSemiEvtSolution.cc.

References lrSignalEvtVarVal_.

00214 {
00215   lrSignalEvtVarVal_.clear();
00216   for(size_t ise = 0; ise<varval.size(); ise++) lrSignalEvtVarVal_.push_back(varval[ise]);
00217 }

void TtSemiEvtSolution::setLRSignalEvtProb ( double  plr  )  [inline, protected]

Definition at line 248 of file TtSemiEvtSolution.h.

Referenced by TtSemiLRSignalSelCalc::operator()().

00248 {lrSignalEvtProb_ = plr;};

void TtSemiEvtSolution::setMCBestAngleHadb ( double  adr  )  [inline, protected]

Definition at line 214 of file TtSemiEvtSolution.h.

References angleHadb_.

00214 { angleHadb_ = adr; };

void TtSemiEvtSolution::setMCBestAngleHadp ( double  adr  )  [inline, protected]

Definition at line 212 of file TtSemiEvtSolution.h.

References angleHadp_.

00212 { angleHadp_ = adr; };

void TtSemiEvtSolution::setMCBestAngleHadq ( double  adr  )  [inline, protected]

Definition at line 213 of file TtSemiEvtSolution.h.

References angleHadq_.

00213 { angleHadq_ = adr; };

void TtSemiEvtSolution::setMCBestAngleLepb ( double  adr  )  [inline, protected]

Definition at line 215 of file TtSemiEvtSolution.h.

References angleLepb_.

00215 { angleLepb_ = adr; };

void TtSemiEvtSolution::setMCBestJetComb ( int  mcbs  )  [inline, protected]

Definition at line 236 of file TtSemiEvtSolution.h.

References mcBestJetComb_.

00236 { mcBestJetComb_ = mcbs; };

void TtSemiEvtSolution::setMCBestSumAngles ( double  sdr  )  [inline, protected]

Definition at line 211 of file TtSemiEvtSolution.h.

References sumAnglejp_.

00211 { sumAnglejp_= sdr; };

void TtSemiEvtSolution::setMCChangeWQ ( int  wq  )  [inline, protected]

Definition at line 216 of file TtSemiEvtSolution.h.

References changeWQ_.

00216 { changeWQ_ = wq; };

void TtSemiEvtSolution::setMuon ( const edm::Handle< std::vector< pat::Muon > > &  muon,
int  i 
) [inline, protected]

Definition at line 191 of file TtSemiEvtSolution.h.

References decay_, metsig::muon, and muon_.

Referenced by TtSemiEvtSolutionMaker::produce().

00192   { muon_ = edm::Ptr<pat::Muon>(muon, i); decay_ = "muon"; };

void TtSemiEvtSolution::setNeutrino ( const edm::Handle< std::vector< pat::MET > > &  met,
int  i 
) [inline, protected]

Definition at line 195 of file TtSemiEvtSolution.h.

References CaloMET_cfi::met, and neutrino_.

Referenced by TtSemiEvtSolutionMaker::produce().

00196   { neutrino_ = edm::Ptr<pat::MET>(met, i); };

void TtSemiEvtSolution::setNeutrinoParametrisation ( int  mp  )  [inline, protected]

Definition at line 224 of file TtSemiEvtSolution.h.

References neutrinoParam_.

Referenced by TtSemiEvtSolutionMaker::produce().

00224 { neutrinoParam_ = mp; };

void TtSemiEvtSolution::setProbChi2 ( double  c  )  [inline, protected]

Definition at line 230 of file TtSemiEvtSolution.h.

References probChi2_.

Referenced by TtSemiLepKinFitter::addKinFitInfo().

00230 { probChi2_ = c; };

void TtSemiEvtSolution::setSimpleBestJetComb ( int  sbs  )  [inline, protected]

Definition at line 237 of file TtSemiEvtSolution.h.

References simpleBestJetComb_.

00237 { simpleBestJetComb_ = sbs;  };

void TtSemiEvtSolution::setupHyp (  )  [private]

Definition at line 220 of file TtSemiEvtSolution.cc.

References reco::CompositeCandidate::addDaughter(), reco::CompositeCandidate::clearDaughters(), reco::CompositeCandidate::clearRoles(), metsig::electron, electron_, getDecay(), hadb_, hadp_, hadq_, lepb_, metsig::muon, muon_, neutrino_, recoHyp_, and AddFourMomenta::set().

00221 {
00222 
00223   AddFourMomenta addFourMomenta;
00224 
00225   recoHyp_.clearDaughters();
00226   recoHyp_.clearRoles();
00227 
00228   // Setup transient references
00229   reco::CompositeCandidate recHadt;
00230   reco::CompositeCandidate recLept;
00231   reco::CompositeCandidate recHadW;
00232   reco::CompositeCandidate recLepW;
00233 
00234   // Get refs to leaf nodes
00235   reco::ShallowClonePtrCandidate hadp( hadp_, hadp_->charge(), hadp_->p4(), hadp_->vertex() );
00236   reco::ShallowClonePtrCandidate hadq( hadq_, hadq_->charge(), hadq_->p4(), hadq_->vertex() );
00237   reco::ShallowClonePtrCandidate hadb( hadb_, hadb_->charge(), hadb_->p4(), hadb_->vertex() );
00238   reco::ShallowClonePtrCandidate lepb( lepb_, lepb_->charge(), lepb_->p4(), lepb_->vertex() );
00239 
00240   reco::ShallowClonePtrCandidate neutrino( neutrino_, neutrino_->charge(), neutrino_->p4(), neutrino_->vertex() );
00241 
00242 
00243 //   JetCandRef hadp( hadp_->p4(), hadp_->charge(), hadp_->vertex());  hadp.setRef( hadp_ );
00244 //   JetCandRef hadq( hadq_->p4(), hadq_->charge(), hadq_->vertex());  hadq.setRef( hadq_ );
00245 //   JetCandRef hadb( hadb_->p4(), hadb_->charge(), hadb_->vertex());  hadb.setRef( hadb_ );
00246 //   JetCandRef lepb( lepb_->p4(), lepb_->charge(), lepb_->vertex());  lepb.setRef( lepb_ );
00247 
00248 //   METCandRef neutrino  ( neutrino_->p4(), neutrino_->charge(), neutrino_->vertex() ); neutrino.setRef( neutrino_ );
00249 
00250 
00251 
00252   recHadW.addDaughter( hadp,    "hadp" );
00253   recHadW.addDaughter( hadq,    "hadq" );
00254 
00255   addFourMomenta.set( recHadW );
00256 
00257   recHadt.addDaughter( hadb,    "hadb" );
00258   recHadt.addDaughter( recHadW, "hadW" );
00259 
00260   addFourMomenta.set( recHadt );
00261   
00262   recLepW.addDaughter( neutrino,"neutrino" );
00263   if ( getDecay() == "electron" ) {
00264     reco::ShallowClonePtrCandidate electron ( electron_, electron_->charge(), electron_->p4(), electron_->vertex() );
00265 //     ElectronCandRef electron ( electron_->p4(), electron_->charge(), electron_->vertex() ); electron.setRef( electron_ );
00266     recLepW.addDaughter ( electron, "electron" );
00267   } else if ( getDecay() == "muon" ) {
00268     reco::ShallowClonePtrCandidate muon ( muon_, muon_->charge(),  muon_->p4(), muon_->vertex() );
00269 //     MuonCandRef muon ( muon_->p4(), muon_->charge(), muon_->vertex() ); muon.setRef( muon_ );
00270     recLepW.addDaughter ( muon, "muon" );
00271   }
00272 
00273   addFourMomenta.set( recLepW );
00274 
00275   recLept.addDaughter( lepb,    "lepb" );
00276   recLept.addDaughter( recLepW,    "lepW" );
00277 
00278   addFourMomenta.set( recLept );
00279 
00280   recoHyp_.addDaughter( recHadt, "hadt" );
00281   recoHyp_.addDaughter( recLept, "lept" );
00282 
00283   addFourMomenta.set( recoHyp_ );
00284 
00285 
00286 //   // Setup transient references
00287 //   reco::CompositeCandidate fitHadt;
00288 //   reco::CompositeCandidate fitLept;
00289 //   reco::CompositeCandidate fitHadW;
00290 //   reco::CompositeCandidate fitLepW;
00291 
00292 //   // Get refs to leaf nodes
00293 //   pat::Particle afitHadp = getFitHadp();
00294 //   pat::Particle afitHadq = getFitHadq();
00295 //   pat::Particle afitHadb = getFitHadb();
00296 //   pat::Particle afitLepb = getFitLepb();
00297 //   reco::ShallowClonePtrCandidate fitHadp( hadp_, afitHadp.charge(), afitHadp.p4(), afitHadp.vertex());
00298 //   reco::ShallowClonePtrCandidate fitHadq( hadq_, afitHadq.charge(), afitHadq.p4(), afitHadq.vertex());
00299 //   reco::ShallowClonePtrCandidate fitHadb( hadb_, afitHadb.charge(), afitHadb.p4(), afitHadb.vertex());
00300 //   reco::ShallowClonePtrCandidate fitLepb( lepb_, afitLepb.charge(), afitLepb.p4(), afitLepb.vertex());
00301 
00302 //   reco::ShallowClonePtrCandidate fitNeutrino  ( neutrino_, fitLepn_.charge(),  fitLepn_.p4(),  fitLepn_.vertex() );
00303 
00304 //   fitHadW.addDaughter( fitHadp,    "hadp" );
00305 //   fitHadW.addDaughter( fitHadq,    "hadq" );
00306 //   fitHadt.addDaughter( fitHadb,    "hadb" );
00307 //   fitHadt.addDaughter( fitHadW,    "hadW" );
00308   
00309 //   fitLepW.addDaughter( fitNeutrino,"neutrino" );
00310 
00311 //   if ( getDecay() == "electron" ) {
00312 //     reco::ShallowClonePtrCandidate fitElectron ( electron_, electron_.charge(),  electron_.p4(), electron_.vertex() );
00313 //     fitLepW.addDaughter ( fitElectron, "electron" );
00314 //   } else if ( getDecay() == "muon" ) {
00315 //     reco::ShallowClonePtrCandidate fitMuon ( muon_, muon_.charge(),  muon_.p4(), muon_.vertex() );
00316 //     fitLepW.addDaughter ( fitMuon, "muon" );
00317 //   }
00318 //   fitLept.addDaughter( fitLepb,    "lepb" );
00319 //   fitLept.addDaughter( fitLepW,    "lepW" );
00320 
00321 //   fitHyp_.addDaughter( fitHadt,   "hadt" );
00322 //   fitHyp_.addDaughter( fitLept,   "lept" );
00323 
00324 
00325   
00326   
00327 }


Friends And Related Function Documentation

friend class TtSemiEvtSolutionMaker [friend]

Definition at line 34 of file TtSemiEvtSolution.h.

friend class TtSemiLepKinFitter [friend]

Definition at line 35 of file TtSemiEvtSolution.h.

friend class TtSemiLRJetCombCalc [friend]

Definition at line 39 of file TtSemiEvtSolution.h.

friend class TtSemiLRJetCombObservables [friend]

Definition at line 38 of file TtSemiEvtSolution.h.

friend class TtSemiLRSignalSelCalc [friend]

Definition at line 37 of file TtSemiEvtSolution.h.

friend class TtSemiLRSignalSelObservables [friend]

Definition at line 36 of file TtSemiEvtSolution.h.


Member Data Documentation

double TtSemiEvtSolution::angleHadb_ [private]

Definition at line 273 of file TtSemiEvtSolution.h.

Referenced by getMCBestAngleHadb(), setMCBestAngleHadb(), and TtSemiEvtSolution().

double TtSemiEvtSolution::angleHadp_ [private]

Definition at line 273 of file TtSemiEvtSolution.h.

Referenced by getMCBestAngleHadp(), setMCBestAngleHadp(), and TtSemiEvtSolution().

double TtSemiEvtSolution::angleHadq_ [private]

Definition at line 273 of file TtSemiEvtSolution.h.

Referenced by getMCBestAngleHadq(), setMCBestAngleHadq(), and TtSemiEvtSolution().

double TtSemiEvtSolution::angleLepb_ [private]

Definition at line 273 of file TtSemiEvtSolution.h.

Referenced by getMCBestAngleLepb(), setMCBestAngleLepb(), and TtSemiEvtSolution().

int TtSemiEvtSolution::changeWQ_ [private]

Definition at line 274 of file TtSemiEvtSolution.h.

Referenced by getMCChangeWQ(), setMCChangeWQ(), and TtSemiEvtSolution().

std::string TtSemiEvtSolution::decay_ [private]

Definition at line 271 of file TtSemiEvtSolution.h.

Referenced by getDecay(), setElectron(), and setMuon().

edm::Ptr<pat::Electron> TtSemiEvtSolution::electron_ [private]

Definition at line 260 of file TtSemiEvtSolution.h.

Referenced by getElectron(), setElectron(), and setupHyp().

std::vector<pat::Particle> TtSemiEvtSolution::fitHadb_ [private]

Definition at line 262 of file TtSemiEvtSolution.h.

Referenced by getFitHadb(), and setFitHadb().

std::vector<pat::Particle> TtSemiEvtSolution::fitHadp_ [private]

Definition at line 262 of file TtSemiEvtSolution.h.

Referenced by getFitHadp(), and setFitHadp().

std::vector<pat::Particle> TtSemiEvtSolution::fitHadq_ [private]

Definition at line 262 of file TtSemiEvtSolution.h.

Referenced by getFitHadq(), and setFitHadq().

reco::CompositeCandidate TtSemiEvtSolution::fitHyp_ [private]

Definition at line 267 of file TtSemiEvtSolution.h.

Referenced by getFitHyp().

std::vector<pat::Particle> TtSemiEvtSolution::fitLepb_ [private]

Definition at line 263 of file TtSemiEvtSolution.h.

Referenced by getFitLepb(), and setFitLepb().

std::vector<pat::Particle> TtSemiEvtSolution::fitLepl_ [private]

Definition at line 263 of file TtSemiEvtSolution.h.

Referenced by getFitLepl(), and setFitLepl().

std::vector<pat::Particle> TtSemiEvtSolution::fitLepn_ [private]

Definition at line 263 of file TtSemiEvtSolution.h.

Referenced by getFitLepn(), and setFitLepn().

edm::Ptr<pat::Jet> TtSemiEvtSolution::hadb_ [private]

Definition at line 258 of file TtSemiEvtSolution.h.

Referenced by getHadb(), getRecHadb(), setHadb(), and setupHyp().

edm::Ptr<pat::Jet> TtSemiEvtSolution::hadp_ [private]

Definition at line 258 of file TtSemiEvtSolution.h.

Referenced by getHadp(), getRecHadp(), setHadp(), and setupHyp().

edm::Ptr<pat::Jet> TtSemiEvtSolution::hadq_ [private]

Definition at line 258 of file TtSemiEvtSolution.h.

Referenced by getHadq(), getRecHadq(), setHadq(), and setupHyp().

int TtSemiEvtSolution::jetCorrScheme_ [private]

Definition at line 272 of file TtSemiEvtSolution.h.

Referenced by getHadb(), getHadp(), getHadq(), getLepb(), setJetCorrectionScheme(), and TtSemiEvtSolution().

int TtSemiEvtSolution::jetParam_ [private]

Definition at line 275 of file TtSemiEvtSolution.h.

Referenced by getJetParametrisation(), and setJetParametrisation().

edm::Ptr<pat::Jet> TtSemiEvtSolution::lepb_ [private]

Definition at line 258 of file TtSemiEvtSolution.h.

Referenced by getLepb(), getRecLepb(), setLepb(), and setupHyp().

int TtSemiEvtSolution::leptonParam_ [private]

Definition at line 275 of file TtSemiEvtSolution.h.

Referenced by getLeptonParametrisation(), and setLeptonParametrisation().

int TtSemiEvtSolution::lrBestJetComb_ [private]

Definition at line 277 of file TtSemiEvtSolution.h.

Referenced by getLRBestJetComb(), setLRBestJetComb(), and TtSemiEvtSolution().

double TtSemiEvtSolution::lrJetCombLRval_ [private]

Definition at line 278 of file TtSemiEvtSolution.h.

Referenced by getLRJetCombLRval(), setLRJetCombLRval(), and TtSemiEvtSolution().

double TtSemiEvtSolution::lrJetCombProb_ [private]

Definition at line 278 of file TtSemiEvtSolution.h.

Referenced by getLRJetCombProb(), setLRJetCombProb(), and TtSemiEvtSolution().

std::vector<std::pair<unsigned int, double> > TtSemiEvtSolution::lrJetCombVarVal_ [private]

Definition at line 280 of file TtSemiEvtSolution.h.

Referenced by getLRJetCombObsVal(), and setLRJetCombObservables().

double TtSemiEvtSolution::lrSignalEvtLRval_ [private]

Definition at line 279 of file TtSemiEvtSolution.h.

Referenced by getLRSignalEvtLRval(), setLRSignalEvtLRval(), and TtSemiEvtSolution().

double TtSemiEvtSolution::lrSignalEvtProb_ [private]

Definition at line 279 of file TtSemiEvtSolution.h.

Referenced by getLRSignalEvtProb(), and TtSemiEvtSolution().

std::vector<std::pair<unsigned int, double> > TtSemiEvtSolution::lrSignalEvtVarVal_ [private]

Definition at line 281 of file TtSemiEvtSolution.h.

Referenced by getLRSignalEvtObsVal(), and setLRSignalEvtObservables().

int TtSemiEvtSolution::mcBestJetComb_ [private]

Definition at line 277 of file TtSemiEvtSolution.h.

Referenced by getMCBestJetComb(), setMCBestJetComb(), and TtSemiEvtSolution().

reco::CompositeCandidate TtSemiEvtSolution::mcHyp_ [private]

Definition at line 265 of file TtSemiEvtSolution.h.

Referenced by getMCHyp().

edm::Ptr<pat::Muon> TtSemiEvtSolution::muon_ [private]

Definition at line 259 of file TtSemiEvtSolution.h.

Referenced by getMuon(), setMuon(), and setupHyp().

edm::Ptr<pat::MET> TtSemiEvtSolution::neutrino_ [private]

Definition at line 261 of file TtSemiEvtSolution.h.

Referenced by getNeutrino(), setNeutrino(), and setupHyp().

int TtSemiEvtSolution::neutrinoParam_ [private]

Definition at line 275 of file TtSemiEvtSolution.h.

Referenced by getNeutrinoParametrisation(), and setNeutrinoParametrisation().

double TtSemiEvtSolution::probChi2_ [private]

Definition at line 276 of file TtSemiEvtSolution.h.

Referenced by getProbChi2(), setProbChi2(), and TtSemiEvtSolution().

reco::CompositeCandidate TtSemiEvtSolution::recoHyp_ [private]

Definition at line 266 of file TtSemiEvtSolution.h.

Referenced by getRecoHyp(), and setupHyp().

int TtSemiEvtSolution::simpleBestJetComb_ [private]

Definition at line 277 of file TtSemiEvtSolution.h.

Referenced by getSimpleBestJetComb(), setSimpleBestJetComb(), and TtSemiEvtSolution().

double TtSemiEvtSolution::sumAnglejp_ [private]

Definition at line 273 of file TtSemiEvtSolution.h.

Referenced by getMCBestSumAngles(), setMCBestSumAngles(), and TtSemiEvtSolution().

edm::RefProd<TtGenEvent> TtSemiEvtSolution::theGenEvt_ [private]

Definition at line 248 of file TtSemiEvtSolution.h.

Referenced by getGenEvent(), getGenHadb(), getGenHadp(), getGenHadq(), getGenHadt(), getGenHadW(), getGenLepb(), getGenLepl(), getGenLepn(), getGenLept(), getGenLepW(), and setGenEvt().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:34:45 2009 for CMSSW by  doxygen 1.5.4