CMS 3D CMS Logo

Public Member Functions | Private Attributes | Friends

TtHadEvtSolution Class Reference

#include <TtHadEvtSolution.h>

List of all members.

Public Member Functions

pat::Jet getCalHadb () const
pat::Jet getCalHadbbar () const
pat::Jet getCalHadj () const
pat::Jet getCalHadk () const
pat::Jet getCalHadp () const
pat::Jet getCalHadq () const
reco::Particle getCalHadt () const
reco::Particle getCalHadtbar () const
reco::Particle getCalHadW_minus () const
reco::Particle getCalHadW_plus () const
std::string getDecay () const
pat::Particle getFitHadb () const
pat::Particle getFitHadbbar () const
pat::Particle getFitHadj () const
pat::Particle getFitHadk () const
pat::Particle getFitHadp () const
pat::Particle getFitHadq () const
reco::Particle getFitHadt () const
reco::Particle getFitHadtbar () const
reco::Particle getFitHadW_minus () const
reco::Particle getFitHadW_plus () const
const edm::RefProd< TtGenEvent > & getGenEvent () const
const reco::GenParticlegetGenHadb () const
const reco::GenParticlegetGenHadbbar () const
const reco::GenParticlegetGenHadj () const
const reco::GenParticlegetGenHadk () const
const reco::GenParticlegetGenHadp () const
const reco::GenParticlegetGenHadq () const
pat::Jet getHadb () const
pat::Jet getHadbbar () const
pat::Jet getHadj () const
pat::Jet getHadk () const
pat::Jet getHadp () const
pat::Jet getHadq () const
int getJetParametrisation () 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 getMCBestAngleHadbbar () const
double getMCBestAngleHadj () const
double getMCBestAngleHadk () const
double getMCBestAngleHadp () const
double getMCBestAngleHadq () const
int getMCBestJetComb () const
double getMCBestSumAngles () const
int getMCChangeW1Q () const
int getMCChangeW2Q () const
double getProbChi2 () const
pat::Jet getRecHadb () const
pat::Jet getRecHadbbar () const
pat::Jet getRecHadj () const
pat::Jet getRecHadk () const
pat::Jet getRecHadp () const
pat::Jet getRecHadq () const
reco::Particle getRecHadt () const
reco::Particle getRecHadtbar () const
reco::Particle getRecHadW_minus () const
reco::Particle getRecHadW_plus () const
int getSimpleBestJetComb () const
void setFitHadb (const pat::Particle &aFitHadb)
void setFitHadbbar (const pat::Particle &aFitHadbbar)
void setFitHadj (const pat::Particle &aFitHadj)
void setFitHadk (const pat::Particle &aFitHadk)
void setFitHadp (const pat::Particle &aFitHadp)
void setFitHadq (const pat::Particle &aFitHadq)
void setGenEvt (const edm::Handle< TtGenEvent > &aGenEvt)
void setHadb (const edm::Handle< std::vector< pat::Jet > > &jet, int i)
void setHadbbar (const edm::Handle< std::vector< pat::Jet > > &jet, int i)
void setHadj (const edm::Handle< std::vector< pat::Jet > > &jet, int i)
void setHadk (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 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 setMCBestAngleHadbbar (double adr)
void setMCBestAngleHadj (double adr)
void setMCBestAngleHadk (double adr)
void setMCBestAngleHadp (double adr)
void setMCBestAngleHadq (double adr)
void setMCBestJetComb (int mcbs)
void setMCBestSumAngles (double sdr)
void setMCChangeW1Q (int w1q)
void setMCChangeW2Q (int w2q)
void setProbChi2 (double c)
void setSimpleBestJetComb (int sbs)
 TtHadEvtSolution ()
virtual ~TtHadEvtSolution ()

Private Attributes

double angleHadb_
double angleHadbbar_
double angleHadj_
double angleHadk_
double angleHadp_
double angleHadq_
int changeW1Q_
int changeW2Q_
std::string decay_
std::vector< pat::ParticlefitHadb_
std::vector< pat::ParticlefitHadbbar_
std::vector< pat::ParticlefitHadj_
std::vector< pat::ParticlefitHadk_
std::vector< pat::ParticlefitHadp_
std::vector< pat::ParticlefitHadq_
edm::Ref< std::vector< pat::Jet > > hadb_
edm::Ref< std::vector< pat::Jet > > hadbbar_
edm::Ref< std::vector< pat::Jet > > hadj_
edm::Ref< std::vector< pat::Jet > > hadk_
edm::Ref< std::vector< pat::Jet > > hadp_
edm::Ref< std::vector< pat::Jet > > hadq_
int jetCorrScheme_
int jetParam_
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_
double probChi2_
int simpleBestJetComb_
double sumAnglejp_
edm::RefProd< TtGenEventtheGenEvt_

Friends

class TtFullHadKinFitter
class TtHadEvtSolutionMaker
class TtHadLRJetCombCalc
class TtHadLRJetCombObservables

Detailed Description

Definition at line 22 of file TtHadEvtSolution.h.


Constructor & Destructor Documentation

TtHadEvtSolution::TtHadEvtSolution ( )
TtHadEvtSolution::~TtHadEvtSolution ( ) [virtual]

Definition at line 31 of file TtHadEvtSolution.cc.

{
}

Member Function Documentation

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

Definition at line 78 of file TtHadEvtSolution.h.

References getHadb().

Referenced by TtFullHadKinFitter::addKinFitInfo(), and getCalHadt().

{ return this->getHadb(); };
pat::Jet TtHadEvtSolution::getCalHadbbar ( ) const [inline]

Definition at line 79 of file TtHadEvtSolution.h.

References getHadbbar().

Referenced by TtFullHadKinFitter::addKinFitInfo(), and getCalHadtbar().

{ return this->getHadbbar(); };
pat::Jet TtHadEvtSolution::getCalHadj ( ) const [inline]

Definition at line 82 of file TtHadEvtSolution.h.

References getHadj().

Referenced by TtFullHadKinFitter::addKinFitInfo(), getCalHadtbar(), and getCalHadW_minus().

{ return this->getHadj(); };
pat::Jet TtHadEvtSolution::getCalHadk ( ) const [inline]

Definition at line 83 of file TtHadEvtSolution.h.

References getHadk().

Referenced by TtFullHadKinFitter::addKinFitInfo(), getCalHadtbar(), and getCalHadW_minus().

{ return this->getHadk(); };
pat::Jet TtHadEvtSolution::getCalHadp ( ) const [inline]

Definition at line 80 of file TtHadEvtSolution.h.

References getHadp().

Referenced by TtFullHadKinFitter::addKinFitInfo(), getCalHadt(), and getCalHadW_plus().

{ return this->getHadp(); };
pat::Jet TtHadEvtSolution::getCalHadq ( ) const [inline]

Definition at line 81 of file TtHadEvtSolution.h.

References getHadq().

Referenced by TtFullHadKinFitter::addKinFitInfo(), getCalHadt(), and getCalHadW_plus().

{ return this->getHadq(); };
reco::Particle TtHadEvtSolution::getCalHadt ( ) const

Definition at line 164 of file TtHadEvtSolution.cc.

References getCalHadb(), getCalHadp(), getCalHadq(), and p4.

{ 
  return reco::Particle(0,this->getCalHadp().p4()+this->getCalHadq().p4()+this->getCalHadb().p4()); 
}
reco::Particle TtHadEvtSolution::getCalHadtbar ( ) const

Definition at line 169 of file TtHadEvtSolution.cc.

References getCalHadbbar(), getCalHadj(), getCalHadk(), and p4.

{ 
  return reco::Particle(0,this->getCalHadj().p4()+this->getCalHadk().p4()+this->getCalHadbbar().p4()); 
}
reco::Particle TtHadEvtSolution::getCalHadW_minus ( ) const

Definition at line 179 of file TtHadEvtSolution.cc.

References getCalHadj(), getCalHadk(), and p4.

{ 
  return reco::Particle(0,this->getCalHadj().p4()+this->getCalHadk().p4()); 
}
reco::Particle TtHadEvtSolution::getCalHadW_plus ( ) const

Definition at line 174 of file TtHadEvtSolution.cc.

References getCalHadp(), getCalHadq(), and p4.

{ 
  return reco::Particle(0,this->getCalHadp().p4()+this->getCalHadq().p4()); 
}
std::string TtHadEvtSolution::getDecay ( ) const [inline]

Definition at line 102 of file TtHadEvtSolution.h.

References decay_.

{ return decay_; }
pat::Particle TtHadEvtSolution::getFitHadb ( ) const [inline]

Definition at line 92 of file TtHadEvtSolution.h.

References fitHadb_.

Referenced by getFitHadt().

{ return (fitHadb_.size()>0 ? fitHadb_.front() : pat::Particle()); };
pat::Particle TtHadEvtSolution::getFitHadbbar ( ) const [inline]

Definition at line 93 of file TtHadEvtSolution.h.

References fitHadbbar_.

Referenced by getFitHadtbar().

{ return (fitHadbbar_.size()>0 ? fitHadbbar_.front() : pat::Particle()); };
pat::Particle TtHadEvtSolution::getFitHadj ( ) const [inline]

Definition at line 96 of file TtHadEvtSolution.h.

References fitHadj_.

Referenced by getFitHadtbar(), and getFitHadW_minus().

{ return (fitHadj_.size()>0 ? fitHadj_.front() : pat::Particle()); };
pat::Particle TtHadEvtSolution::getFitHadk ( ) const [inline]

Definition at line 97 of file TtHadEvtSolution.h.

References fitHadk_.

Referenced by getFitHadtbar(), and getFitHadW_minus().

{ return (fitHadk_.size()>0 ? fitHadk_.front() : pat::Particle()); };
pat::Particle TtHadEvtSolution::getFitHadp ( ) const [inline]

Definition at line 94 of file TtHadEvtSolution.h.

References fitHadp_.

Referenced by getFitHadt(), and getFitHadW_plus().

{ return (fitHadp_.size()>0 ? fitHadp_.front() : pat::Particle()); };
pat::Particle TtHadEvtSolution::getFitHadq ( ) const [inline]

Definition at line 95 of file TtHadEvtSolution.h.

References fitHadq_.

Referenced by getFitHadt(), and getFitHadW_plus().

{ return (fitHadq_.size()>0 ? fitHadq_.front() : pat::Particle()); };
reco::Particle TtHadEvtSolution::getFitHadt ( ) const

Definition at line 187 of file TtHadEvtSolution.cc.

References getFitHadb(), getFitHadp(), getFitHadq(), and p4.

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

Definition at line 193 of file TtHadEvtSolution.cc.

References getFitHadbbar(), getFitHadj(), getFitHadk(), and p4.

{
  // FIXME: provide the correct charge from generated event
  return reco::Particle(0, this->getFitHadj().p4()+this->getFitHadk().p4()+this->getFitHadbbar().p4());
}
reco::Particle TtHadEvtSolution::getFitHadW_minus ( ) const

Definition at line 205 of file TtHadEvtSolution.cc.

References getFitHadj(), getFitHadk(), and p4.

{
  // FIXME: provide the correct charge from generated event
  return reco::Particle(0, this->getFitHadj().p4()+this->getFitHadk().p4());
}
reco::Particle TtHadEvtSolution::getFitHadW_plus ( ) const

Definition at line 199 of file TtHadEvtSolution.cc.

References getFitHadp(), getFitHadq(), and p4.

{
  // FIXME: provide the correct charge from generated event
  return reco::Particle(0, this->getFitHadp().p4()+this->getFitHadq().p4());
}
const edm::RefProd<TtGenEvent>& TtHadEvtSolution::getGenEvent ( ) const [inline]

Definition at line 51 of file TtHadEvtSolution.h.

References theGenEvt_.

{ return theGenEvt_; };
const reco::GenParticle* TtHadEvtSolution::getGenHadb ( ) const [inline]

Definition at line 52 of file TtHadEvtSolution.h.

References theGenEvt_.

{ if (!theGenEvt_) return 0; else return theGenEvt_->b(); };
const reco::GenParticle* TtHadEvtSolution::getGenHadbbar ( ) const [inline]

Definition at line 53 of file TtHadEvtSolution.h.

References theGenEvt_.

{ if (!theGenEvt_) return 0; else return theGenEvt_->bBar(); };
const reco::GenParticle* TtHadEvtSolution::getGenHadj ( ) const [inline]

Definition at line 56 of file TtHadEvtSolution.h.

References theGenEvt_.

{ if (!theGenEvt_) return 0; else return theGenEvt_->daughterQuarkOfWMinus(); };
const reco::GenParticle* TtHadEvtSolution::getGenHadk ( ) const [inline]

Definition at line 57 of file TtHadEvtSolution.h.

References theGenEvt_.

{ if (!theGenEvt_) return 0; else return theGenEvt_->daughterQuarkBarOfWMinus(); };
const reco::GenParticle* TtHadEvtSolution::getGenHadp ( ) const [inline]

Definition at line 54 of file TtHadEvtSolution.h.

References theGenEvt_.

{ if (!theGenEvt_) return 0; else return theGenEvt_->daughterQuarkOfWPlus(); };
const reco::GenParticle* TtHadEvtSolution::getGenHadq ( ) const [inline]

Definition at line 55 of file TtHadEvtSolution.h.

References theGenEvt_.

{ if (!theGenEvt_) return 0; else return theGenEvt_->daughterQuarkBarOfWPlus(); };
pat::Jet TtHadEvtSolution::getHadb ( ) const

Definition at line 38 of file TtHadEvtSolution.cc.

References hadb_, and jetCorrScheme_.

Referenced by getCalHadb(), getRecHadb(), TtHadLRJetCombObservables::operator()(), and TtHadLRSignalSelObservables::operator()().

{
  // WARNING this is obsolete and only 
  // kept for backwards compatibility
  if(jetCorrScheme_==1){
    //jet calibrated according to MC truth
    return hadb_->correctedJet("HAD", "B");
  }
  else if(jetCorrScheme_==2){
    return hadb_->correctedJet("HAD", "B");
  }
  else{
    return *hadb_;
  }
}
pat::Jet TtHadEvtSolution::getHadbbar ( ) const

Definition at line 86 of file TtHadEvtSolution.cc.

References hadbbar_, and jetCorrScheme_.

Referenced by getCalHadbbar(), getRecHadbbar(), TtHadLRJetCombObservables::operator()(), and TtHadLRSignalSelObservables::operator()().

{
  // WARNING this is obsolete and only 
  // kept for backwards compatibility
  if(jetCorrScheme_==1){
    //jet calibrated according to MC truth
    return hadbbar_->correctedJet("HAD", "B");
  }
  else if(jetCorrScheme_==2){
    return hadbbar_->correctedJet("HAD", "B");
  }
  else{
    return *hadbbar_;
  }
}
pat::Jet TtHadEvtSolution::getHadj ( ) const

Definition at line 102 of file TtHadEvtSolution.cc.

References hadj_, and jetCorrScheme_.

Referenced by getCalHadj(), getRecHadj(), TtHadLRJetCombObservables::operator()(), and TtHadLRSignalSelObservables::operator()().

{
  // WARNING this is obsolete and only 
  // kept for backwards compatibility
  if(jetCorrScheme_==1){
    //jet calibrated according to MC truth
    return hadj_->correctedJet("HAD", "UDS");
  }
  else if(jetCorrScheme_==2){
    return hadj_->correctedJet("HAD", "UDS");
  }
  else{
    return *hadj_;
  }
}
pat::Jet TtHadEvtSolution::getHadk ( ) const

Definition at line 118 of file TtHadEvtSolution.cc.

References hadk_, and jetCorrScheme_.

Referenced by getCalHadk(), getRecHadk(), TtHadLRJetCombObservables::operator()(), and TtHadLRSignalSelObservables::operator()().

{
  // WARNING this is obsolete and only 
  // kept for backwards compatibility
  if(jetCorrScheme_==1){
    //jet calibrated according to MC truth
    return hadk_->correctedJet("HAD", "UDS");
  }
  else if(jetCorrScheme_==2){
    return hadk_->correctedJet("HAD", "UDS");
  }
  else{
    return *hadk_;
  }
}
pat::Jet TtHadEvtSolution::getHadp ( ) const

Definition at line 54 of file TtHadEvtSolution.cc.

References hadp_, and jetCorrScheme_.

Referenced by getCalHadp(), getRecHadp(), TtHadLRJetCombObservables::operator()(), and TtHadLRSignalSelObservables::operator()().

{
  // WARNING this is obsolete and only 
  // kept for backwards compatibility
  if(jetCorrScheme_==1){
    //jet calibrated according to MC truth
    return hadp_->correctedJet("HAD", "UDS");
  }
  else if(jetCorrScheme_==2){
    return hadp_->correctedJet("HAD", "UDS");
  }
  else{
    return *hadp_;
  }
}
pat::Jet TtHadEvtSolution::getHadq ( ) const

Definition at line 70 of file TtHadEvtSolution.cc.

References hadq_, and jetCorrScheme_.

Referenced by getCalHadq(), getRecHadq(), TtHadLRJetCombObservables::operator()(), and TtHadLRSignalSelObservables::operator()().

{
  // WARNING this is obsolete and only 
  // kept for backwards compatibility
  if(jetCorrScheme_==1){
    //jet calibrated according to MC truth
    return hadq_->correctedJet("HAD", "UDS");
  }
  else if(jetCorrScheme_==2){
    return hadq_->correctedJet("HAD", "UDS");
  }
  else{
    return *hadq_;
  }
}
int TtHadEvtSolution::getJetParametrisation ( ) const [inline]

Definition at line 121 of file TtHadEvtSolution.h.

References jetParam_.

{ return jetParam_; }
int TtHadEvtSolution::getLRBestJetComb ( ) const [inline]

Definition at line 144 of file TtHadEvtSolution.h.

References lrBestJetComb_.

{ return lrBestJetComb_; }
double TtHadEvtSolution::getLRJetCombLRval ( ) const [inline]

Definition at line 146 of file TtHadEvtSolution.h.

References lrJetCombLRval_.

{ return lrJetCombLRval_; }
double TtHadEvtSolution::getLRJetCombObsVal ( unsigned int  selObs) const

Definition at line 228 of file TtHadEvtSolution.cc.

References first, lrJetCombVarVal_, and connectstrParser::o.

Referenced by TtHadLRJetCombCalc::operator()().

{
  double val = -999.;
  for(size_t o=0; o<lrJetCombVarVal_.size(); o++){
    if(lrJetCombVarVal_[o].first == selObs) val = lrJetCombVarVal_[o].second;
  }
  return val;
}
double TtHadEvtSolution::getLRJetCombProb ( ) const [inline]

Definition at line 147 of file TtHadEvtSolution.h.

References lrJetCombProb_.

{ return lrJetCombProb_; }
double TtHadEvtSolution::getLRSignalEvtLRval ( ) const [inline]

Definition at line 135 of file TtHadEvtSolution.h.

References lrSignalEvtLRval_.

{ return lrSignalEvtLRval_; }
double TtHadEvtSolution::getLRSignalEvtObsVal ( unsigned int  selObs) const

Definition at line 215 of file TtHadEvtSolution.cc.

References first, lrSignalEvtVarVal_, and connectstrParser::o.

Referenced by TtHadLRSignalSelCalc::operator()().

{
  double val = -999.;
  for(size_t o=0; o<lrSignalEvtVarVal_.size(); o++){
    if(lrSignalEvtVarVal_[o].first == selObs) val = lrSignalEvtVarVal_[o].second;
  }
  return val;
}
double TtHadEvtSolution::getLRSignalEvtProb ( ) const [inline]

Definition at line 136 of file TtHadEvtSolution.h.

References lrSignalEvtProb_.

{ return lrSignalEvtProb_; }
double TtHadEvtSolution::getMCBestAngleHadb ( ) const [inline]

Definition at line 112 of file TtHadEvtSolution.h.

References angleHadb_.

{ return angleHadb_; };
double TtHadEvtSolution::getMCBestAngleHadbbar ( ) const [inline]

Definition at line 113 of file TtHadEvtSolution.h.

References angleHadbbar_.

{ return angleHadbbar_; };
double TtHadEvtSolution::getMCBestAngleHadj ( ) const [inline]

Definition at line 110 of file TtHadEvtSolution.h.

References angleHadj_.

{ return angleHadj_; };
double TtHadEvtSolution::getMCBestAngleHadk ( ) const [inline]

Definition at line 111 of file TtHadEvtSolution.h.

References angleHadk_.

{ return angleHadk_; };
double TtHadEvtSolution::getMCBestAngleHadp ( ) const [inline]

Definition at line 108 of file TtHadEvtSolution.h.

References angleHadp_.

{ return angleHadp_; };
double TtHadEvtSolution::getMCBestAngleHadq ( ) const [inline]

Definition at line 109 of file TtHadEvtSolution.h.

References angleHadq_.

{ return angleHadq_; };
int TtHadEvtSolution::getMCBestJetComb ( ) const [inline]

Definition at line 142 of file TtHadEvtSolution.h.

References mcBestJetComb_.

{ return mcBestJetComb_; }
double TtHadEvtSolution::getMCBestSumAngles ( ) const [inline]

Definition at line 107 of file TtHadEvtSolution.h.

References sumAnglejp_.

{ return sumAnglejp_; };
int TtHadEvtSolution::getMCChangeW1Q ( ) const [inline]

Definition at line 114 of file TtHadEvtSolution.h.

References changeW1Q_.

{ return changeW1Q_; };     
int TtHadEvtSolution::getMCChangeW2Q ( ) const [inline]

Definition at line 115 of file TtHadEvtSolution.h.

References changeW2Q_.

{ return changeW2Q_;}; 
double TtHadEvtSolution::getProbChi2 ( ) const [inline]

Definition at line 128 of file TtHadEvtSolution.h.

References probChi2_.

Referenced by TtHadLRJetCombObservables::operator()().

{ return probChi2_; }
pat::Jet TtHadEvtSolution::getRecHadb ( ) const [inline]

Definition at line 67 of file TtHadEvtSolution.h.

References pat::Jet::correctedJet(), and getHadb().

Referenced by getRecHadt().

{ return this->getHadb().correctedJet("RAW"); };
pat::Jet TtHadEvtSolution::getRecHadbbar ( ) const [inline]

Definition at line 68 of file TtHadEvtSolution.h.

References pat::Jet::correctedJet(), and getHadbbar().

Referenced by getRecHadtbar().

{ return this->getHadbbar().correctedJet("RAW"); };
pat::Jet TtHadEvtSolution::getRecHadj ( ) const [inline]

Definition at line 71 of file TtHadEvtSolution.h.

References pat::Jet::correctedJet(), and getHadj().

Referenced by getRecHadtbar(), and getRecHadW_minus().

{ return this->getHadj().correctedJet("RAW"); };
pat::Jet TtHadEvtSolution::getRecHadk ( ) const [inline]

Definition at line 72 of file TtHadEvtSolution.h.

References pat::Jet::correctedJet(), and getHadk().

Referenced by getRecHadtbar(), and getRecHadW_minus().

{ return this->getHadk().correctedJet("RAW"); };
pat::Jet TtHadEvtSolution::getRecHadp ( ) const [inline]

Definition at line 69 of file TtHadEvtSolution.h.

References pat::Jet::correctedJet(), and getHadp().

Referenced by getRecHadt(), and getRecHadW_plus().

{ return this->getHadp().correctedJet("RAW"); };
pat::Jet TtHadEvtSolution::getRecHadq ( ) const [inline]

Definition at line 70 of file TtHadEvtSolution.h.

References pat::Jet::correctedJet(), and getHadq().

Referenced by getRecHadt(), and getRecHadW_plus().

{ return this->getHadq().correctedJet("RAW"); };
reco::Particle TtHadEvtSolution::getRecHadt ( ) const

Definition at line 140 of file TtHadEvtSolution.cc.

References getRecHadb(), getRecHadp(), getRecHadq(), and p4.

{
  // FIXME: the charge from the genevent
  return reco::Particle(0,this->getRecHadp().p4()+this->getRecHadq().p4()+this->getRecHadb().p4());
}
reco::Particle TtHadEvtSolution::getRecHadtbar ( ) const

Definition at line 146 of file TtHadEvtSolution.cc.

References getRecHadbbar(), getRecHadj(), getRecHadk(), and p4.

{
  // FIXME: the charge from the genevent
  return reco::Particle(0,this->getRecHadj().p4()+this->getRecHadk().p4()+this->getRecHadbbar().p4());
}
reco::Particle TtHadEvtSolution::getRecHadW_minus ( ) const

Definition at line 158 of file TtHadEvtSolution.cc.

References getRecHadj(), getRecHadk(), and p4.

{
  // FIXME: the charge from the genevent
  return reco::Particle(0,this->getRecHadj().p4()+this->getRecHadk().p4());
}
reco::Particle TtHadEvtSolution::getRecHadW_plus ( ) const

Definition at line 152 of file TtHadEvtSolution.cc.

References getRecHadp(), getRecHadq(), and p4.

{
  // FIXME: the charge from the genevent
  return reco::Particle(0,this->getRecHadp().p4()+this->getRecHadq().p4());
}
int TtHadEvtSolution::getSimpleBestJetComb ( ) const [inline]

Definition at line 143 of file TtHadEvtSolution.h.

References simpleBestJetComb_.

{ return simpleBestJetComb_; }
void TtHadEvtSolution::setFitHadb ( const pat::Particle aFitHadb) [inline]

Definition at line 180 of file TtHadEvtSolution.h.

References fitHadb_.

Referenced by TtFullHadKinFitter::addKinFitInfo().

{ fitHadb_.clear(); fitHadb_.push_back(aFitHadb); };
void TtHadEvtSolution::setFitHadbbar ( const pat::Particle aFitHadbbar) [inline]

Definition at line 181 of file TtHadEvtSolution.h.

References fitHadbbar_.

Referenced by TtFullHadKinFitter::addKinFitInfo().

{ fitHadbbar_.clear(); fitHadbbar_.push_back(aFitHadbbar); };
void TtHadEvtSolution::setFitHadj ( const pat::Particle aFitHadj) [inline]

Definition at line 178 of file TtHadEvtSolution.h.

References fitHadj_.

Referenced by TtFullHadKinFitter::addKinFitInfo().

{ fitHadj_.clear(); fitHadj_.push_back(aFitHadj); };
void TtHadEvtSolution::setFitHadk ( const pat::Particle aFitHadk) [inline]

Definition at line 179 of file TtHadEvtSolution.h.

References fitHadk_.

Referenced by TtFullHadKinFitter::addKinFitInfo().

{ fitHadk_.clear(); fitHadk_.push_back(aFitHadk); };
void TtHadEvtSolution::setFitHadp ( const pat::Particle aFitHadp) [inline]

Definition at line 176 of file TtHadEvtSolution.h.

References fitHadp_.

Referenced by TtFullHadKinFitter::addKinFitInfo().

{ fitHadp_.clear(); fitHadp_.push_back(aFitHadp); };
void TtHadEvtSolution::setFitHadq ( const pat::Particle aFitHadq) [inline]

Definition at line 177 of file TtHadEvtSolution.h.

References fitHadq_.

Referenced by TtFullHadKinFitter::addKinFitInfo().

{ fitHadq_.clear(); fitHadq_.push_back(aFitHadq); };
void TtHadEvtSolution::setGenEvt ( const edm::Handle< TtGenEvent > &  aGenEvt)

Definition at line 240 of file TtHadEvtSolution.cc.

References theGenEvt_.

{
  if( !aGenEvt->isFullHadronic() ){ 
    edm::LogWarning( "TtGenEventNotFilled" ) << "genEvt is not fully hadronic; TtGenEvent is not filled";
    return;
  }
  theGenEvt_ = edm::RefProd<TtGenEvent>(aGenEvt);
}
void TtHadEvtSolution::setHadb ( const edm::Handle< std::vector< pat::Jet > > &  jet,
int  i 
) [inline]

Definition at line 168 of file TtHadEvtSolution.h.

References hadb_, i, and metsig::jet.

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

Definition at line 170 of file TtHadEvtSolution.h.

References hadbbar_, i, and metsig::jet.

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

Definition at line 164 of file TtHadEvtSolution.h.

References hadj_, i, and metsig::jet.

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

Definition at line 166 of file TtHadEvtSolution.h.

References hadk_, i, and metsig::jet.

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

Definition at line 160 of file TtHadEvtSolution.h.

References hadp_, i, and metsig::jet.

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

Definition at line 162 of file TtHadEvtSolution.h.

References hadq_, i, and metsig::jet.

void TtHadEvtSolution::setJetCorrectionScheme ( int  scheme) [inline]

Definition at line 159 of file TtHadEvtSolution.h.

References jetCorrScheme_.

{ jetCorrScheme_ = scheme; };
void TtHadEvtSolution::setJetParametrisation ( int  jp) [inline]

Definition at line 200 of file TtHadEvtSolution.h.

References jetParam_.

Referenced by TtHadEvtSolutionMaker::produce().

{ jetParam_ = jp; };
void TtHadEvtSolution::setLRBestJetComb ( int  lrbs) [inline]

Definition at line 214 of file TtHadEvtSolution.h.

References lrBestJetComb_.

{ lrBestJetComb_ = lrbs; };
void TtHadEvtSolution::setLRJetCombLRval ( double  clr) [inline]

Definition at line 216 of file TtHadEvtSolution.h.

References lrJetCombLRval_.

Referenced by TtHadLRJetCombCalc::operator()().

{lrJetCombLRval_ = clr;};
void TtHadEvtSolution::setLRJetCombObservables ( std::vector< std::pair< unsigned int, double > >  varval)

Definition at line 253 of file TtHadEvtSolution.cc.

References lrJetCombVarVal_.

Referenced by TtHadLRJetCombObservables::operator()().

{
  lrJetCombVarVal_.clear();
  for(size_t ijc = 0; ijc<varval.size(); ijc++) lrJetCombVarVal_.push_back(varval[ijc]);
}
void TtHadEvtSolution::setLRJetCombProb ( double  plr) [inline]

Definition at line 217 of file TtHadEvtSolution.h.

References lrJetCombProb_.

Referenced by TtHadLRJetCombCalc::operator()().

{lrJetCombProb_ = plr;};
void TtHadEvtSolution::setLRSignalEvtLRval ( double  clr) [inline]

Definition at line 224 of file TtHadEvtSolution.h.

References lrSignalEvtLRval_.

Referenced by TtHadLRSignalSelCalc::operator()().

void TtHadEvtSolution::setLRSignalEvtObservables ( std::vector< std::pair< unsigned int, double > >  varval)

Definition at line 263 of file TtHadEvtSolution.cc.

References lrSignalEvtVarVal_.

Referenced by TtHadLRSignalSelObservables::operator()().

{
  lrSignalEvtVarVal_.clear();
  for(size_t ise = 0; ise<varval.size(); ise++) lrSignalEvtVarVal_.push_back(varval[ise]);
}
void TtHadEvtSolution::setLRSignalEvtProb ( double  plr) [inline]

Definition at line 225 of file TtHadEvtSolution.h.

Referenced by TtHadLRSignalSelCalc::operator()().

{lrSignalEvtProb_ = plr;};
void TtHadEvtSolution::setMCBestAngleHadb ( double  adr) [inline]

Definition at line 191 of file TtHadEvtSolution.h.

References angleHadb_.

{ angleHadb_ = adr; };
void TtHadEvtSolution::setMCBestAngleHadbbar ( double  adr) [inline]

Definition at line 192 of file TtHadEvtSolution.h.

References angleHadbbar_.

{ angleHadbbar_ = adr; };
void TtHadEvtSolution::setMCBestAngleHadj ( double  adr) [inline]

Definition at line 189 of file TtHadEvtSolution.h.

References angleHadj_.

{ angleHadj_ = adr; };
void TtHadEvtSolution::setMCBestAngleHadk ( double  adr) [inline]

Definition at line 190 of file TtHadEvtSolution.h.

References angleHadk_.

{ angleHadk_ = adr; };
void TtHadEvtSolution::setMCBestAngleHadp ( double  adr) [inline]

Definition at line 187 of file TtHadEvtSolution.h.

References angleHadp_.

{ angleHadp_ = adr; };
void TtHadEvtSolution::setMCBestAngleHadq ( double  adr) [inline]

Definition at line 188 of file TtHadEvtSolution.h.

References angleHadq_.

{ angleHadq_ = adr; };
void TtHadEvtSolution::setMCBestJetComb ( int  mcbs) [inline]

Definition at line 212 of file TtHadEvtSolution.h.

References mcBestJetComb_.

{ mcBestJetComb_ = mcbs; };
void TtHadEvtSolution::setMCBestSumAngles ( double  sdr) [inline]

Definition at line 186 of file TtHadEvtSolution.h.

References sumAnglejp_.

{ sumAnglejp_ = sdr; };
void TtHadEvtSolution::setMCChangeW1Q ( int  w1q) [inline]

Definition at line 193 of file TtHadEvtSolution.h.

References changeW1Q_.

{ changeW1Q_ = w1q; };
void TtHadEvtSolution::setMCChangeW2Q ( int  w2q) [inline]

Definition at line 194 of file TtHadEvtSolution.h.

References changeW2Q_.

{ changeW2Q_ = w2q; };
void TtHadEvtSolution::setProbChi2 ( double  c) [inline]

Definition at line 206 of file TtHadEvtSolution.h.

References trackerHits::c, and probChi2_.

Referenced by TtFullHadKinFitter::addKinFitInfo().

{ probChi2_ = c; };
void TtHadEvtSolution::setSimpleBestJetComb ( int  sbs) [inline]

Definition at line 213 of file TtHadEvtSolution.h.

References simpleBestJetComb_.

{ simpleBestJetComb_ = sbs; };

Friends And Related Function Documentation

friend class TtFullHadKinFitter [friend]

Definition at line 25 of file TtHadEvtSolution.h.

friend class TtHadEvtSolutionMaker [friend]

Definition at line 24 of file TtHadEvtSolution.h.

friend class TtHadLRJetCombCalc [friend]

Definition at line 27 of file TtHadEvtSolution.h.

friend class TtHadLRJetCombObservables [friend]

Definition at line 26 of file TtHadEvtSolution.h.


Member Data Documentation

double TtHadEvtSolution::angleHadb_ [private]

Definition at line 238 of file TtHadEvtSolution.h.

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

double TtHadEvtSolution::angleHadj_ [private]

Definition at line 238 of file TtHadEvtSolution.h.

Referenced by getMCBestAngleHadj(), setMCBestAngleHadj(), and TtHadEvtSolution().

double TtHadEvtSolution::angleHadk_ [private]

Definition at line 238 of file TtHadEvtSolution.h.

Referenced by getMCBestAngleHadk(), setMCBestAngleHadk(), and TtHadEvtSolution().

double TtHadEvtSolution::angleHadp_ [private]

Definition at line 238 of file TtHadEvtSolution.h.

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

double TtHadEvtSolution::angleHadq_ [private]

Definition at line 238 of file TtHadEvtSolution.h.

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

Definition at line 239 of file TtHadEvtSolution.h.

Referenced by getMCChangeW1Q(), setMCChangeW1Q(), and TtHadEvtSolution().

Definition at line 239 of file TtHadEvtSolution.h.

Referenced by getMCChangeW2Q(), setMCChangeW2Q(), and TtHadEvtSolution().

std::string TtHadEvtSolution::decay_ [private]

Definition at line 236 of file TtHadEvtSolution.h.

Referenced by getDecay().

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

Definition at line 234 of file TtHadEvtSolution.h.

Referenced by getFitHadb(), and setFitHadb().

Definition at line 234 of file TtHadEvtSolution.h.

Referenced by getFitHadbbar(), and setFitHadbbar().

std::vector<pat::Particle> TtHadEvtSolution::fitHadj_ [private]

Definition at line 234 of file TtHadEvtSolution.h.

Referenced by getFitHadj(), and setFitHadj().

std::vector<pat::Particle> TtHadEvtSolution::fitHadk_ [private]

Definition at line 234 of file TtHadEvtSolution.h.

Referenced by getFitHadk(), and setFitHadk().

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

Definition at line 234 of file TtHadEvtSolution.h.

Referenced by getFitHadp(), and setFitHadp().

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

Definition at line 234 of file TtHadEvtSolution.h.

Referenced by getFitHadq(), and setFitHadq().

edm::Ref<std::vector<pat::Jet> > TtHadEvtSolution::hadb_ [private]

Definition at line 233 of file TtHadEvtSolution.h.

Referenced by getHadb(), and setHadb().

edm::Ref<std::vector<pat::Jet> > TtHadEvtSolution::hadbbar_ [private]

Definition at line 233 of file TtHadEvtSolution.h.

Referenced by getHadbbar(), and setHadbbar().

edm::Ref<std::vector<pat::Jet> > TtHadEvtSolution::hadj_ [private]

Definition at line 233 of file TtHadEvtSolution.h.

Referenced by getHadj(), and setHadj().

edm::Ref<std::vector<pat::Jet> > TtHadEvtSolution::hadk_ [private]

Definition at line 233 of file TtHadEvtSolution.h.

Referenced by getHadk(), and setHadk().

edm::Ref<std::vector<pat::Jet> > TtHadEvtSolution::hadp_ [private]

Definition at line 233 of file TtHadEvtSolution.h.

Referenced by getHadp(), and setHadp().

edm::Ref<std::vector<pat::Jet> > TtHadEvtSolution::hadq_ [private]

Definition at line 233 of file TtHadEvtSolution.h.

Referenced by getHadq(), and setHadq().

Definition at line 240 of file TtHadEvtSolution.h.

Referenced by getJetParametrisation(), and setJetParametrisation().

Definition at line 242 of file TtHadEvtSolution.h.

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

Definition at line 243 of file TtHadEvtSolution.h.

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

Definition at line 243 of file TtHadEvtSolution.h.

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

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

Definition at line 245 of file TtHadEvtSolution.h.

Referenced by getLRJetCombObsVal(), and setLRJetCombObservables().

Definition at line 244 of file TtHadEvtSolution.h.

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

Definition at line 244 of file TtHadEvtSolution.h.

Referenced by getLRSignalEvtProb(), and TtHadEvtSolution().

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

Definition at line 246 of file TtHadEvtSolution.h.

Referenced by getLRSignalEvtObsVal(), and setLRSignalEvtObservables().

Definition at line 242 of file TtHadEvtSolution.h.

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

double TtHadEvtSolution::probChi2_ [private]

Definition at line 241 of file TtHadEvtSolution.h.

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

Definition at line 238 of file TtHadEvtSolution.h.

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