CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends
TtSemiEvtSolution Class Reference

#include <TtSemiEvtSolution.h>

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 (const std::vector< std::pair< unsigned int, double > > &varval)
 
void setLRJetCombProb (double plr)
 
void setLRSignalEvtLRval (double clr)
 
void setLRSignalEvtObservables (const 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 TtSemiLepHitFit
 
class TtSemiLepKinFitter
 
class TtSemiLRJetCombCalc
 
class TtSemiLRJetCombObservables
 
class TtSemiLRSignalSelCalc
 
class TtSemiLRSignalSelObservables
 

Detailed Description

Definition at line 31 of file TtSemiEvtSolution.h.

Constructor & Destructor Documentation

◆ TtSemiEvtSolution()

TtSemiEvtSolution::TtSemiEvtSolution ( )

Definition at line 9 of file TtSemiEvtSolution.cc.

10  : mcHyp_("ttSemiEvtMCHyp"), recoHyp_("ttSemiEvtRecoHyp"), fitHyp_("ttSemiEvtFitHyp") {
11  jetCorrScheme_ = 0;
12  sumAnglejp_ = -999.;
13  angleHadp_ = -999.;
14  angleHadq_ = -999.;
15  angleHadb_ = -999.;
16  angleLepb_ = -999.;
17  changeWQ_ = -999;
18  probChi2_ = -999.;
19  mcBestJetComb_ = -999;
20  simpleBestJetComb_ = -999;
21  lrBestJetComb_ = -999;
22  lrJetCombLRval_ = -999.;
23  lrJetCombProb_ = -999.;
24  lrSignalEvtLRval_ = -999.;
25  lrSignalEvtProb_ = -999.;
26 }

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

◆ ~TtSemiEvtSolution()

TtSemiEvtSolution::~TtSemiEvtSolution ( )
virtual

Definition at line 28 of file TtSemiEvtSolution.cc.

28 {}

Member Function Documentation

◆ getCalHadb()

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

Definition at line 138 of file TtSemiEvtSolution.h.

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

References getHadb().

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

◆ getCalHadp()

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

Definition at line 139 of file TtSemiEvtSolution.h.

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

References getHadp().

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

◆ getCalHadq()

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

Definition at line 140 of file TtSemiEvtSolution.h.

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

References getHadq().

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

◆ getCalHadt()

reco::Particle TtSemiEvtSolution::getCalHadt ( ) const

Definition at line 112 of file TtSemiEvtSolution.cc.

112  {
113  return reco::Particle(0, this->getCalHadp().p4() + this->getCalHadq().p4() + this->getCalHadb().p4());
114 }

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

Referenced by TtSemiLRJetCombObservables::operator()().

◆ getCalHadW()

reco::Particle TtSemiEvtSolution::getCalHadW ( ) const

Definition at line 116 of file TtSemiEvtSolution.cc.

116  {
117  return reco::Particle(0, this->getCalHadp().p4() + this->getCalHadq().p4());
118 }

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

Referenced by TtSemiLRJetCombObservables::operator()().

◆ getCalLepb()

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

Definition at line 143 of file TtSemiEvtSolution.h.

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

References getLepb().

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

◆ getCalLepe()

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

Definition at line 145 of file TtSemiEvtSolution.h.

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

References getElectron().

Referenced by TtSemiLepKinFitter::addKinFitInfo().

◆ getCalLepm()

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

Definition at line 144 of file TtSemiEvtSolution.h.

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

References getMuon().

Referenced by TtSemiLepKinFitter::addKinFitInfo().

◆ getCalLepn()

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

Definition at line 146 of file TtSemiEvtSolution.h.

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

References getNeutrino().

Referenced by TtSemiLepKinFitter::addKinFitInfo().

◆ getCalLept()

reco::Particle TtSemiEvtSolution::getCalLept ( ) const

Definition at line 120 of file TtSemiEvtSolution.cc.

120  {
122  if (this->getDecay() == "muon")
123  p = reco::Particle(0, this->getRecLepm().p4() + this->getRecLepn().p4() + this->getCalLepb().p4());
124  if (this->getDecay() == "electron")
125  p = reco::Particle(0, this->getRecLepe().p4() + this->getRecLepn().p4() + this->getCalLepb().p4());
126  return p;
127 }

References getCalLepb(), getDecay(), getRecLepe(), getRecLepm(), getRecLepn(), AlCaHLTBitMon_ParallelJobs::p, and p4.

Referenced by TtSemiLRJetCombObservables::operator()().

◆ getCalLepW()

reco::Particle TtSemiEvtSolution::getCalLepW ( ) const

Definition at line 129 of file TtSemiEvtSolution.cc.

129  {
131  if (this->getDecay() == "muon")
132  p = reco::Particle(0, this->getRecLepm().p4() + this->getRecLepn().p4());
133  if (this->getDecay() == "electron")
134  p = reco::Particle(0, this->getRecLepe().p4() + this->getRecLepn().p4());
135  return p;
136 }

References getDecay(), getRecLepe(), getRecLepm(), getRecLepn(), AlCaHLTBitMon_ParallelJobs::p, and p4.

◆ getDecay()

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

◆ getElectron()

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

Definition at line 52 of file TtSemiEvtSolution.h.

52 { return *electron_; };

References electron_.

Referenced by getCalLepe(), getRecLepe(), and TtSemiLRSignalSelObservables::operator()().

◆ getFitHadb()

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

Definition at line 153 of file TtSemiEvtSolution.h.

153 { return (!fitHadb_.empty() ? fitHadb_.front() : pat::Particle()); };

References fitHadb_.

Referenced by getFitHadt().

◆ getFitHadp()

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

Definition at line 154 of file TtSemiEvtSolution.h.

154 { return (!fitHadp_.empty() ? fitHadp_.front() : pat::Particle()); };

References fitHadp_.

Referenced by getFitHadt(), and getFitHadW().

◆ getFitHadq()

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

Definition at line 155 of file TtSemiEvtSolution.h.

155 { return (!fitHadq_.empty() ? fitHadq_.front() : pat::Particle()); };

References fitHadq_.

Referenced by getFitHadt(), and getFitHadW().

◆ getFitHadt()

reco::Particle TtSemiEvtSolution::getFitHadt ( ) const

Definition at line 141 of file TtSemiEvtSolution.cc.

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

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

Referenced by TtSemiLRJetCombObservables::operator()().

◆ getFitHadW()

reco::Particle TtSemiEvtSolution::getFitHadW ( ) const

Definition at line 146 of file TtSemiEvtSolution.cc.

146  {
147  // FIXME: provide the correct charge from generated event
148  return reco::Particle(0, this->getFitHadp().p4() + this->getFitHadq().p4());
149 }

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

◆ getFitHyp()

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

Definition at line 214 of file TtSemiEvtSolution.h.

214 { return fitHyp_; }

References fitHyp_.

◆ getFitLepb()

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

Definition at line 158 of file TtSemiEvtSolution.h.

158 { return (!fitLepb_.empty() ? fitLepb_.front() : pat::Particle()); };

References fitLepb_.

Referenced by getFitLept().

◆ getFitLepl()

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

Definition at line 159 of file TtSemiEvtSolution.h.

159 { return (!fitLepl_.empty() ? fitLepl_.front() : pat::Particle()); };

References fitLepl_.

Referenced by getFitLept(), and getFitLepW().

◆ getFitLepn()

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

Definition at line 160 of file TtSemiEvtSolution.h.

160 { return (!fitLepn_.empty() ? fitLepn_.front() : pat::Particle()); };

References fitLepn_.

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

◆ getFitLept()

reco::Particle TtSemiEvtSolution::getFitLept ( ) const

Definition at line 151 of file TtSemiEvtSolution.cc.

151  {
152  // FIXME: provide the correct charge from generated event
153  return reco::Particle(0, this->getFitLepl().p4() + this->getFitLepn().p4() + this->getFitLepb().p4());
154 }

References getFitLepb(), getFitLepl(), getFitLepn(), and p4.

Referenced by TtSemiLRJetCombObservables::operator()().

◆ getFitLepW()

reco::Particle TtSemiEvtSolution::getFitLepW ( ) const

Definition at line 156 of file TtSemiEvtSolution.cc.

156  {
157  // FIXME: provide the correct charge from generated event
158  return reco::Particle(0, this->getFitLepl().p4() + this->getFitLepn().p4());
159 }

References getFitLepl(), getFitLepn(), and p4.

◆ getGenEvent()

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

◆ getGenHadb()

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

Definition at line 71 of file TtSemiEvtSolution.h.

71  {
72  if (!theGenEvt_)
73  return nullptr;
74  else
75  return this->getGenEvent()->hadronicDecayB();
76  };

References getGenEvent(), TtGenEvent::hadronicDecayB(), and theGenEvt_.

Referenced by TtSemiLRJetCombObservables::operator()().

◆ getGenHadp()

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

Definition at line 77 of file TtSemiEvtSolution.h.

77  {
78  if (!theGenEvt_)
79  return nullptr;
80  else
81  return this->getGenEvent()->hadronicDecayQuark();
82  };

References getGenEvent(), TtGenEvent::hadronicDecayQuark(), and theGenEvt_.

Referenced by TtSemiLRJetCombObservables::operator()().

◆ getGenHadq()

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

Definition at line 83 of file TtSemiEvtSolution.h.

83  {
84  if (!theGenEvt_)
85  return nullptr;
86  else
87  return this->getGenEvent()->hadronicDecayQuarkBar();
88  };

References getGenEvent(), TtGenEvent::hadronicDecayQuarkBar(), and theGenEvt_.

Referenced by TtSemiLRJetCombObservables::operator()().

◆ getGenHadt()

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

Definition at line 59 of file TtSemiEvtSolution.h.

59  {
60  if (!theGenEvt_)
61  return nullptr;
62  else
63  return this->getGenEvent()->hadronicDecayTop();
64  };

References getGenEvent(), TtGenEvent::hadronicDecayTop(), and theGenEvt_.

◆ getGenHadW()

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

Definition at line 65 of file TtSemiEvtSolution.h.

65  {
66  if (!theGenEvt_)
67  return nullptr;
68  else
69  return this->getGenEvent()->hadronicDecayW();
70  };

References getGenEvent(), TtGenEvent::hadronicDecayW(), and theGenEvt_.

◆ getGenLepb()

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

Definition at line 101 of file TtSemiEvtSolution.h.

101  {
102  if (!theGenEvt_)
103  return nullptr;
104  else
105  return this->getGenEvent()->leptonicDecayB();
106  };

References getGenEvent(), TtGenEvent::leptonicDecayB(), and theGenEvt_.

Referenced by TtSemiLRJetCombObservables::operator()().

◆ getGenLepl()

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

Definition at line 107 of file TtSemiEvtSolution.h.

107  {
108  if (!theGenEvt_)
109  return nullptr;
110  else
111  return this->getGenEvent()->singleLepton();
112  };

References getGenEvent(), TtGenEvent::singleLepton(), and theGenEvt_.

Referenced by TtSemiLRJetCombObservables::operator()().

◆ getGenLepn()

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

Definition at line 113 of file TtSemiEvtSolution.h.

113  {
114  if (!theGenEvt_)
115  return nullptr;
116  else
117  return this->getGenEvent()->singleNeutrino();
118  };

References getGenEvent(), TtGenEvent::singleNeutrino(), and theGenEvt_.

Referenced by TtSemiLRJetCombObservables::operator()().

◆ getGenLept()

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

Definition at line 89 of file TtSemiEvtSolution.h.

89  {
90  if (!theGenEvt_)
91  return nullptr;
92  else
93  return this->getGenEvent()->leptonicDecayTop();
94  };

References getGenEvent(), TtGenEvent::leptonicDecayTop(), and theGenEvt_.

Referenced by TtSemiLRJetCombObservables::operator()().

◆ getGenLepW()

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

Definition at line 95 of file TtSemiEvtSolution.h.

95  {
96  if (!theGenEvt_)
97  return nullptr;
98  else
99  return this->getGenEvent()->leptonicDecayW();
100  };

References getGenEvent(), TtGenEvent::leptonicDecayW(), and theGenEvt_.

◆ getHadb()

pat::Jet TtSemiEvtSolution::getHadb ( ) const

Definition at line 33 of file TtSemiEvtSolution.cc.

33  {
34  // WARNING this is obsolete and only
35  // kept for backwards compatibility
36  if (jetCorrScheme_ == 1)
37  return hadb_->correctedJet("HAD", "B"); // calibrate jets according to MC truth
38  else if (jetCorrScheme_ == 2)
39  return hadb_->correctedJet("HAD", "B");
40  else
41  return *hadb_;
42 }

References pat::Jet::correctedJet(), hadb_, and jetCorrScheme_.

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

◆ getHadp()

pat::Jet TtSemiEvtSolution::getHadp ( ) const

Definition at line 44 of file TtSemiEvtSolution.cc.

44  {
45  // WARNING this is obsolete and only
46  // kept for backwards compatibility
47  if (jetCorrScheme_ == 1)
48  return hadp_->correctedJet("HAD", "UDS"); // calibrate jets according to MC truth
49  else if (jetCorrScheme_ == 2)
50  return hadp_->correctedJet("HAD", "UDS");
51  else
52  return *hadp_;
53 }

References pat::Jet::correctedJet(), hadp_, and jetCorrScheme_.

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

◆ getHadq()

pat::Jet TtSemiEvtSolution::getHadq ( ) const

Definition at line 55 of file TtSemiEvtSolution.cc.

55  {
56  // WARNING this is obsolete and only
57  // kept for backwards compatibility
58  if (jetCorrScheme_ == 1)
59  return hadq_->correctedJet("HAD", "UDS"); // calibrate jets according to MC truth
60  else if (jetCorrScheme_ == 2)
61  return hadq_->correctedJet("HAD", "UDS");
62  else
63  return *hadq_;
64 }

References pat::Jet::correctedJet(), hadq_, and jetCorrScheme_.

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

◆ getJetParametrisation()

int TtSemiEvtSolution::getJetParametrisation ( ) const
inline

Definition at line 181 of file TtSemiEvtSolution.h.

181 { return jetParam_; }

References jetParam_.

◆ getLepb()

pat::Jet TtSemiEvtSolution::getLepb ( ) const

Definition at line 66 of file TtSemiEvtSolution.cc.

66  {
67  // WARNING this is obsolete and only
68  // kept for backwards compatibility
69  if (jetCorrScheme_ == 1)
70  return lepb_->correctedJet("HAD", "B"); // calibrate jets according to MC truth
71  else if (jetCorrScheme_ == 2)
72  return lepb_->correctedJet("HAD", "B");
73  else
74  return *lepb_;
75 }

References pat::Jet::correctedJet(), jetCorrScheme_, and lepb_.

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

◆ getLeptonParametrisation()

int TtSemiEvtSolution::getLeptonParametrisation ( ) const
inline

Definition at line 182 of file TtSemiEvtSolution.h.

182 { return leptonParam_; }

References leptonParam_.

◆ getLRBestJetComb()

int TtSemiEvtSolution::getLRBestJetComb ( ) const
inline

Definition at line 205 of file TtSemiEvtSolution.h.

205 { return lrBestJetComb_; }

References lrBestJetComb_.

◆ getLRJetCombLRval()

double TtSemiEvtSolution::getLRJetCombLRval ( ) const
inline

Definition at line 207 of file TtSemiEvtSolution.h.

207 { return lrJetCombLRval_; }

References lrJetCombLRval_.

◆ getLRJetCombObsVal()

double TtSemiEvtSolution::getLRJetCombObsVal ( unsigned int  selObs) const

Definition at line 178 of file TtSemiEvtSolution.cc.

178  {
179  double val = -999.;
180  for (size_t o = 0; o < lrJetCombVarVal_.size(); o++) {
181  if (lrJetCombVarVal_[o].first == selObs)
182  val = lrJetCombVarVal_[o].second;
183  }
184  return val;
185 }

References first, lrJetCombVarVal_, EcalTangentSkim_cfg::o, and heppy_batch::val.

Referenced by TtSemiLRJetCombCalc::operator()().

◆ getLRJetCombProb()

double TtSemiEvtSolution::getLRJetCombProb ( ) const
inline

Definition at line 208 of file TtSemiEvtSolution.h.

208 { return lrJetCombProb_; }

References lrJetCombProb_.

◆ getLRSignalEvtLRval()

double TtSemiEvtSolution::getLRSignalEvtLRval ( ) const
inline

Definition at line 196 of file TtSemiEvtSolution.h.

196 { return lrSignalEvtLRval_; }

References lrSignalEvtLRval_.

◆ getLRSignalEvtObsVal()

double TtSemiEvtSolution::getLRSignalEvtObsVal ( unsigned int  selObs) const

Definition at line 165 of file TtSemiEvtSolution.cc.

165  {
166  double val = -999.;
167  for (size_t o = 0; o < lrSignalEvtVarVal_.size(); o++) {
168  if (lrSignalEvtVarVal_[o].first == selObs)
169  val = lrSignalEvtVarVal_[o].second;
170  }
171  return val;
172 }

References first, lrSignalEvtVarVal_, EcalTangentSkim_cfg::o, and heppy_batch::val.

Referenced by TtSemiLRSignalSelCalc::operator()().

◆ getLRSignalEvtProb()

double TtSemiEvtSolution::getLRSignalEvtProb ( ) const
inline

Definition at line 197 of file TtSemiEvtSolution.h.

197 { return lrSignalEvtProb_; }

References lrSignalEvtProb_.

◆ getMCBestAngleHadb()

double TtSemiEvtSolution::getMCBestAngleHadb ( ) const
inline

Definition at line 173 of file TtSemiEvtSolution.h.

173 { return angleHadb_; };

References angleHadb_.

◆ getMCBestAngleHadp()

double TtSemiEvtSolution::getMCBestAngleHadp ( ) const
inline

Definition at line 171 of file TtSemiEvtSolution.h.

171 { return angleHadp_; };

References angleHadp_.

◆ getMCBestAngleHadq()

double TtSemiEvtSolution::getMCBestAngleHadq ( ) const
inline

Definition at line 172 of file TtSemiEvtSolution.h.

172 { return angleHadq_; };

References angleHadq_.

◆ getMCBestAngleLepb()

double TtSemiEvtSolution::getMCBestAngleLepb ( ) const
inline

Definition at line 174 of file TtSemiEvtSolution.h.

174 { return angleLepb_; };

References angleLepb_.

◆ getMCBestJetComb()

int TtSemiEvtSolution::getMCBestJetComb ( ) const
inline

Definition at line 203 of file TtSemiEvtSolution.h.

203 { return mcBestJetComb_; }

References mcBestJetComb_.

◆ getMCBestSumAngles()

double TtSemiEvtSolution::getMCBestSumAngles ( ) const
inline

Definition at line 170 of file TtSemiEvtSolution.h.

170 { return sumAnglejp_; };

References sumAnglejp_.

◆ getMCChangeWQ()

int TtSemiEvtSolution::getMCChangeWQ ( ) const
inline

Definition at line 175 of file TtSemiEvtSolution.h.

175 { return changeWQ_; };

References changeWQ_.

◆ getMCHyp()

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

Definition at line 215 of file TtSemiEvtSolution.h.

215 { return mcHyp_; }

References mcHyp_.

◆ getMuon()

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

Definition at line 51 of file TtSemiEvtSolution.h.

51 { return *muon_; };

References muon_.

Referenced by getCalLepm(), getRecLepm(), and TtSemiLRSignalSelObservables::operator()().

◆ getNeutrino()

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

Definition at line 53 of file TtSemiEvtSolution.h.

53 { return *neutrino_; };

References neutrino_.

Referenced by getCalLepn(), getRecLepn(), and TtSemiLRSignalSelObservables::operator()().

◆ getNeutrinoParametrisation()

int TtSemiEvtSolution::getNeutrinoParametrisation ( ) const
inline

Definition at line 183 of file TtSemiEvtSolution.h.

183 { return neutrinoParam_; }

References neutrinoParam_.

◆ getProbChi2()

double TtSemiEvtSolution::getProbChi2 ( ) const
inline

Definition at line 189 of file TtSemiEvtSolution.h.

189 { return probChi2_; }

References probChi2_.

Referenced by TtSemiLRJetCombObservables::operator()().

◆ getRecHadb()

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

Definition at line 125 of file TtSemiEvtSolution.h.

125 { return this->getHadb().correctedJet("RAW"); };

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

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

◆ getRecHadp()

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

Definition at line 126 of file TtSemiEvtSolution.h.

126 { return this->getHadp().correctedJet("RAW"); };

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

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

◆ getRecHadq()

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

Definition at line 127 of file TtSemiEvtSolution.h.

127 { return this->getHadq().correctedJet("RAW"); };

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

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

◆ getRecHadt()

reco::Particle TtSemiEvtSolution::getRecHadt ( ) const

Definition at line 80 of file TtSemiEvtSolution.cc.

80  {
81  // FIXME: the charge from the genevent
82  return reco::Particle(0, this->getRecHadp().p4() + this->getRecHadq().p4() + this->getRecHadb().p4());
83 }

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

◆ getRecHadW()

reco::Particle TtSemiEvtSolution::getRecHadW ( ) const

Definition at line 85 of file TtSemiEvtSolution.cc.

85  {
86  // FIXME: the charge from the genevent
87  return reco::Particle(0, this->getRecHadp().p4() + this->getRecHadq().p4());
88 }

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

◆ getRecLepb()

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

Definition at line 130 of file TtSemiEvtSolution.h.

130 { return this->getLepb().correctedJet("RAW"); };

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

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

◆ getRecLepe()

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

Definition at line 132 of file TtSemiEvtSolution.h.

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

References getElectron().

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

◆ getRecLepm()

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

Definition at line 131 of file TtSemiEvtSolution.h.

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

References getMuon().

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

◆ getRecLepn()

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

Definition at line 133 of file TtSemiEvtSolution.h.

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

References getNeutrino().

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

◆ getRecLept()

reco::Particle TtSemiEvtSolution::getRecLept ( ) const

Definition at line 90 of file TtSemiEvtSolution.cc.

90  {
91  // FIXME: the charge from the genevent
93  if (this->getDecay() == "muon")
94  p = reco::Particle(0, this->getRecLepm().p4() + this->getRecLepn().p4() + this->getRecLepb().p4());
95  if (this->getDecay() == "electron")
96  p = reco::Particle(0, this->getRecLepe().p4() + this->getRecLepn().p4() + this->getRecLepb().p4());
97  return p;
98 }

References getDecay(), getRecLepb(), getRecLepe(), getRecLepm(), getRecLepn(), AlCaHLTBitMon_ParallelJobs::p, and p4.

◆ getRecLepW()

reco::Particle TtSemiEvtSolution::getRecLepW ( ) const

Definition at line 100 of file TtSemiEvtSolution.cc.

100  {
101  // FIXME: the charge from the genevent
103  if (this->getDecay() == "muon")
104  p = reco::Particle(0, this->getRecLepm().p4() + this->getRecLepn().p4());
105  if (this->getDecay() == "electron")
106  p = reco::Particle(0, this->getRecLepe().p4() + this->getRecLepn().p4());
107  return p;
108 }

References getDecay(), getRecLepe(), getRecLepm(), getRecLepn(), AlCaHLTBitMon_ParallelJobs::p, and p4.

Referenced by TtSemiLRJetCombObservables::operator()().

◆ getRecoHyp()

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

Definition at line 213 of file TtSemiEvtSolution.h.

213 { return recoHyp_; }

References recoHyp_.

◆ getSimpleBestJetComb()

int TtSemiEvtSolution::getSimpleBestJetComb ( ) const
inline

Definition at line 204 of file TtSemiEvtSolution.h.

204 { return simpleBestJetComb_; }

References simpleBestJetComb_.

◆ setElectron()

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

Definition at line 235 of file TtSemiEvtSolution.h.

235  {
237  decay_ = "electron";
238  };

References decay_, electron_, and mps_fire::i.

Referenced by TtSemiEvtSolutionMaker::produce().

◆ setFitHadb()

void TtSemiEvtSolution::setFitHadb ( const pat::Particle aFitHadb)
inlineprotected

Definition at line 244 of file TtSemiEvtSolution.h.

244  {
245  fitHadb_.clear();
246  fitHadb_.push_back(aFitHadb);
247  };

References fitHadb_.

Referenced by TtSemiLepKinFitter::addKinFitInfo().

◆ setFitHadp()

void TtSemiEvtSolution::setFitHadp ( const pat::Particle aFitHadp)
inlineprotected

Definition at line 248 of file TtSemiEvtSolution.h.

248  {
249  fitHadp_.clear();
250  fitHadp_.push_back(aFitHadp);
251  };

References fitHadp_.

Referenced by TtSemiLepKinFitter::addKinFitInfo().

◆ setFitHadq()

void TtSemiEvtSolution::setFitHadq ( const pat::Particle aFitHadq)
inlineprotected

Definition at line 252 of file TtSemiEvtSolution.h.

252  {
253  fitHadq_.clear();
254  fitHadq_.push_back(aFitHadq);
255  };

References fitHadq_.

Referenced by TtSemiLepKinFitter::addKinFitInfo().

◆ setFitLepb()

void TtSemiEvtSolution::setFitLepb ( const pat::Particle aFitLepb)
inlineprotected

Definition at line 256 of file TtSemiEvtSolution.h.

256  {
257  fitLepb_.clear();
258  fitLepb_.push_back(aFitLepb);
259  };

References fitLepb_.

Referenced by TtSemiLepKinFitter::addKinFitInfo().

◆ setFitLepl()

void TtSemiEvtSolution::setFitLepl ( const pat::Particle aFitLepl)
inlineprotected

Definition at line 260 of file TtSemiEvtSolution.h.

260  {
261  fitLepl_.clear();
262  fitLepl_.push_back(aFitLepl);
263  };

References fitLepl_.

Referenced by TtSemiLepKinFitter::addKinFitInfo().

◆ setFitLepn()

void TtSemiEvtSolution::setFitLepn ( const pat::Particle aFitLepn)
inlineprotected

Definition at line 264 of file TtSemiEvtSolution.h.

264  {
265  fitLepn_.clear();
266  fitLepn_.push_back(aFitLepn);
267  };

References fitLepn_.

Referenced by TtSemiLepKinFitter::addKinFitInfo().

◆ setGenEvt()

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

Definition at line 190 of file TtSemiEvtSolution.cc.

190  {
191  if (!aGenEvt->isSemiLeptonic()) {
192  edm::LogWarning("TtGenEventNotFilled") << "genEvt is not semi-leptonic; TtGenEvent is not filled";
193  return;
194  }
196 }

References TtGenEvent::isSemiLeptonic(), and theGenEvt_.

Referenced by TtSemiEvtSolutionMaker::produce().

◆ setHadb()

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

Definition at line 229 of file TtSemiEvtSolution.h.

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

References hadb_, mps_fire::i, and metsig::jet.

Referenced by TtSemiEvtSolutionMaker::produce().

◆ setHadp()

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

Definition at line 227 of file TtSemiEvtSolution.h.

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

References hadp_, mps_fire::i, and metsig::jet.

Referenced by TtSemiEvtSolutionMaker::produce().

◆ setHadq()

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

Definition at line 228 of file TtSemiEvtSolution.h.

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

References hadq_, mps_fire::i, and metsig::jet.

Referenced by TtSemiEvtSolutionMaker::produce().

◆ setJetCorrectionScheme()

void TtSemiEvtSolution::setJetCorrectionScheme ( int  scheme)
inlineprotected

Definition at line 226 of file TtSemiEvtSolution.h.

226 { jetCorrScheme_ = scheme; };

References jetCorrScheme_, and generator_cfi::scheme.

Referenced by TtSemiEvtSolutionMaker::produce().

◆ setJetParametrisation()

void TtSemiEvtSolution::setJetParametrisation ( int  jp)
inlineprotected

Definition at line 283 of file TtSemiEvtSolution.h.

283 { jetParam_ = jp; };

References jetParam_.

Referenced by TtSemiEvtSolutionMaker::produce().

◆ setLepb()

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

Definition at line 230 of file TtSemiEvtSolution.h.

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

References mps_fire::i, metsig::jet, and lepb_.

Referenced by TtSemiEvtSolutionMaker::produce().

◆ setLeptonParametrisation()

void TtSemiEvtSolution::setLeptonParametrisation ( int  lp)
inlineprotected

Definition at line 284 of file TtSemiEvtSolution.h.

284 { leptonParam_ = lp; };

References leptonParam_.

Referenced by TtSemiEvtSolutionMaker::produce().

◆ setLRBestJetComb()

void TtSemiEvtSolution::setLRBestJetComb ( int  lrbs)
inlineprotected

Definition at line 299 of file TtSemiEvtSolution.h.

299 { lrBestJetComb_ = lrbs; };

References lrBestJetComb_.

◆ setLRJetCombLRval()

void TtSemiEvtSolution::setLRJetCombLRval ( double  clr)
inlineprotected

Definition at line 301 of file TtSemiEvtSolution.h.

301 { lrJetCombLRval_ = clr; };

References lrJetCombLRval_.

Referenced by TtSemiLRJetCombCalc::operator()().

◆ setLRJetCombObservables()

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

Definition at line 202 of file TtSemiEvtSolution.cc.

202  {
203  lrJetCombVarVal_.clear();
204  for (size_t ijc = 0; ijc < varval.size(); ijc++)
205  lrJetCombVarVal_.push_back(varval[ijc]);
206 }

References lrJetCombVarVal_.

Referenced by TtSemiLRJetCombObservables::operator()().

◆ setLRJetCombProb()

void TtSemiEvtSolution::setLRJetCombProb ( double  plr)
inlineprotected

Definition at line 302 of file TtSemiEvtSolution.h.

302 { lrJetCombProb_ = plr; };

References lrJetCombProb_.

Referenced by TtSemiLRJetCombCalc::operator()().

◆ setLRSignalEvtLRval()

void TtSemiEvtSolution::setLRSignalEvtLRval ( double  clr)
inlineprotected

Definition at line 308 of file TtSemiEvtSolution.h.

308 { lrSignalEvtLRval_ = clr; };

References lrSignalEvtLRval_.

Referenced by TtSemiLRSignalSelCalc::operator()().

◆ setLRSignalEvtObservables()

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

Definition at line 211 of file TtSemiEvtSolution.cc.

211  {
212  lrSignalEvtVarVal_.clear();
213  for (size_t ise = 0; ise < varval.size(); ise++)
214  lrSignalEvtVarVal_.push_back(varval[ise]);
215 }

References lrSignalEvtVarVal_.

Referenced by TtSemiLRSignalSelObservables::operator()().

◆ setLRSignalEvtProb()

void TtSemiEvtSolution::setLRSignalEvtProb ( double  plr)
inlineprotected

Definition at line 309 of file TtSemiEvtSolution.h.

309 { lrSignalEvtProb_ = plr; };

Referenced by TtSemiLRSignalSelCalc::operator()().

◆ setMCBestAngleHadb()

void TtSemiEvtSolution::setMCBestAngleHadb ( double  adr)
inlineprotected

Definition at line 275 of file TtSemiEvtSolution.h.

275 { angleHadb_ = adr; };

References angleHadb_.

◆ setMCBestAngleHadp()

void TtSemiEvtSolution::setMCBestAngleHadp ( double  adr)
inlineprotected

Definition at line 273 of file TtSemiEvtSolution.h.

273 { angleHadp_ = adr; };

References angleHadp_.

◆ setMCBestAngleHadq()

void TtSemiEvtSolution::setMCBestAngleHadq ( double  adr)
inlineprotected

Definition at line 274 of file TtSemiEvtSolution.h.

274 { angleHadq_ = adr; };

References angleHadq_.

◆ setMCBestAngleLepb()

void TtSemiEvtSolution::setMCBestAngleLepb ( double  adr)
inlineprotected

Definition at line 276 of file TtSemiEvtSolution.h.

276 { angleLepb_ = adr; };

References angleLepb_.

◆ setMCBestJetComb()

void TtSemiEvtSolution::setMCBestJetComb ( int  mcbs)
inlineprotected

Definition at line 297 of file TtSemiEvtSolution.h.

297 { mcBestJetComb_ = mcbs; };

References mcBestJetComb_.

◆ setMCBestSumAngles()

void TtSemiEvtSolution::setMCBestSumAngles ( double  sdr)
inlineprotected

Definition at line 272 of file TtSemiEvtSolution.h.

272 { sumAnglejp_ = sdr; };

References sumAnglejp_.

◆ setMCChangeWQ()

void TtSemiEvtSolution::setMCChangeWQ ( int  wq)
inlineprotected

Definition at line 277 of file TtSemiEvtSolution.h.

277 { changeWQ_ = wq; };

References changeWQ_.

◆ setMuon()

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

Definition at line 231 of file TtSemiEvtSolution.h.

231  {
233  decay_ = "muon";
234  };

References decay_, mps_fire::i, and muon_.

Referenced by TtSemiEvtSolutionMaker::produce().

◆ setNeutrino()

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

Definition at line 239 of file TtSemiEvtSolution.h.

References mps_fire::i, BTaggingMonitor_cfi::met, and neutrino_.

Referenced by TtSemiEvtSolutionMaker::produce().

◆ setNeutrinoParametrisation()

void TtSemiEvtSolution::setNeutrinoParametrisation ( int  mp)
inlineprotected

Definition at line 285 of file TtSemiEvtSolution.h.

285 { neutrinoParam_ = mp; };

References neutrinoParam_.

Referenced by TtSemiEvtSolutionMaker::produce().

◆ setProbChi2()

void TtSemiEvtSolution::setProbChi2 ( double  c)
inlineprotected

Definition at line 291 of file TtSemiEvtSolution.h.

291 { probChi2_ = c; };

References c, and probChi2_.

Referenced by TtSemiLepKinFitter::addKinFitInfo().

◆ setSimpleBestJetComb()

void TtSemiEvtSolution::setSimpleBestJetComb ( int  sbs)
inlineprotected

Definition at line 298 of file TtSemiEvtSolution.h.

298 { simpleBestJetComb_ = sbs; };

References simpleBestJetComb_.

◆ setupHyp()

void TtSemiEvtSolution::setupHyp ( )
private

Definition at line 217 of file TtSemiEvtSolution.cc.

217  {
218  AddFourMomenta addFourMomenta;
219 
222 
223  // Setup transient references
224  reco::CompositeCandidate recHadt;
225  reco::CompositeCandidate recLept;
226  reco::CompositeCandidate recHadW;
227  reco::CompositeCandidate recLepW;
228 
229  // Get refs to leaf nodes
234 
236 
237  // JetCandRef hadp( hadp_->p4(), hadp_->charge(), hadp_->vertex()); hadp.setRef( hadp_ );
238  // JetCandRef hadq( hadq_->p4(), hadq_->charge(), hadq_->vertex()); hadq.setRef( hadq_ );
239  // JetCandRef hadb( hadb_->p4(), hadb_->charge(), hadb_->vertex()); hadb.setRef( hadb_ );
240  // JetCandRef lepb( lepb_->p4(), lepb_->charge(), lepb_->vertex()); lepb.setRef( lepb_ );
241 
242  // METCandRef neutrino ( neutrino_->p4(), neutrino_->charge(), neutrino_->vertex() ); neutrino.setRef( neutrino_ );
243 
244  recHadW.addDaughter(hadp, "hadp");
245  recHadW.addDaughter(hadq, "hadq");
246 
247  addFourMomenta.set(recHadW);
248 
249  recHadt.addDaughter(hadb, "hadb");
250  recHadt.addDaughter(recHadW, "hadW");
251 
252  addFourMomenta.set(recHadt);
253 
254  recLepW.addDaughter(neutrino, "neutrino");
255  if (getDecay() == "electron") {
257  // ElectronCandRef electron ( electron_->p4(), electron_->charge(), electron_->vertex() ); electron.setRef( electron_ );
258  recLepW.addDaughter(electron, "electron");
259  } else if (getDecay() == "muon") {
261  // MuonCandRef muon ( muon_->p4(), muon_->charge(), muon_->vertex() ); muon.setRef( muon_ );
262  recLepW.addDaughter(muon, "muon");
263  }
264 
265  addFourMomenta.set(recLepW);
266 
267  recLept.addDaughter(lepb, "lepb");
268  recLept.addDaughter(recLepW, "lepW");
269 
270  addFourMomenta.set(recLept);
271 
272  recoHyp_.addDaughter(recHadt, "hadt");
273  recoHyp_.addDaughter(recLept, "lept");
274 
275  addFourMomenta.set(recoHyp_);
276 
277  // // Setup transient references
278  // reco::CompositeCandidate fitHadt;
279  // reco::CompositeCandidate fitLept;
280  // reco::CompositeCandidate fitHadW;
281  // reco::CompositeCandidate fitLepW;
282 
283  // // Get refs to leaf nodes
284  // pat::Particle afitHadp = getFitHadp();
285  // pat::Particle afitHadq = getFitHadq();
286  // pat::Particle afitHadb = getFitHadb();
287  // pat::Particle afitLepb = getFitLepb();
288  // reco::ShallowClonePtrCandidate fitHadp( hadp_, afitHadp.charge(), afitHadp.p4(), afitHadp.vertex());
289  // reco::ShallowClonePtrCandidate fitHadq( hadq_, afitHadq.charge(), afitHadq.p4(), afitHadq.vertex());
290  // reco::ShallowClonePtrCandidate fitHadb( hadb_, afitHadb.charge(), afitHadb.p4(), afitHadb.vertex());
291  // reco::ShallowClonePtrCandidate fitLepb( lepb_, afitLepb.charge(), afitLepb.p4(), afitLepb.vertex());
292 
293  // reco::ShallowClonePtrCandidate fitNeutrino ( neutrino_, fitLepn_.charge(), fitLepn_.p4(), fitLepn_.vertex() );
294 
295  // fitHadW.addDaughter( fitHadp, "hadp" );
296  // fitHadW.addDaughter( fitHadq, "hadq" );
297  // fitHadt.addDaughter( fitHadb, "hadb" );
298  // fitHadt.addDaughter( fitHadW, "hadW" );
299 
300  // fitLepW.addDaughter( fitNeutrino,"neutrino" );
301 
302  // if ( getDecay() == "electron" ) {
303  // reco::ShallowClonePtrCandidate fitElectron ( electron_, electron_.charge(), electron_.p4(), electron_.vertex() );
304  // fitLepW.addDaughter ( fitElectron, "electron" );
305  // } else if ( getDecay() == "muon" ) {
306  // reco::ShallowClonePtrCandidate fitMuon ( muon_, muon_.charge(), muon_.p4(), muon_.vertex() );
307  // fitLepW.addDaughter ( fitMuon, "muon" );
308  // }
309  // fitLept.addDaughter( fitLepb, "lepb" );
310  // fitLept.addDaughter( fitLepW, "lepW" );
311 
312  // fitHyp_.addDaughter( fitHadt, "hadt" );
313  // fitHyp_.addDaughter( fitLept, "lept" );
314 }

References reco::CompositeCandidate::addDaughter(), reco::LeafCandidate::charge(), reco::CompositeCandidate::clearDaughters(), reco::CompositeCandidate::clearRoles(), HPSPFTauProducerPuppi_cfi::electron, electron_, getDecay(), hadb_, hadp_, hadq_, lepb_, HLT_FULL_cff::muon, muon_, neutrino_, reco::LeafCandidate::p4(), reco::GsfElectron::p4(), recoHyp_, AddFourMomenta::set(), and reco::LeafCandidate::vertex().

Friends And Related Function Documentation

◆ TtSemiEvtSolutionMaker

friend class TtSemiEvtSolutionMaker
friend

Definition at line 32 of file TtSemiEvtSolution.h.

◆ TtSemiLepHitFit

friend class TtSemiLepHitFit
friend

Definition at line 34 of file TtSemiEvtSolution.h.

◆ TtSemiLepKinFitter

friend class TtSemiLepKinFitter
friend

Definition at line 33 of file TtSemiEvtSolution.h.

◆ TtSemiLRJetCombCalc

friend class TtSemiLRJetCombCalc
friend

Definition at line 38 of file TtSemiEvtSolution.h.

◆ TtSemiLRJetCombObservables

friend class TtSemiLRJetCombObservables
friend

Definition at line 37 of file TtSemiEvtSolution.h.

◆ TtSemiLRSignalSelCalc

friend class TtSemiLRSignalSelCalc
friend

Definition at line 36 of file TtSemiEvtSolution.h.

◆ TtSemiLRSignalSelObservables

friend class TtSemiLRSignalSelObservables
friend

Definition at line 35 of file TtSemiEvtSolution.h.

Member Data Documentation

◆ angleHadb_

double TtSemiEvtSolution::angleHadb_
private

Definition at line 331 of file TtSemiEvtSolution.h.

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

◆ angleHadp_

double TtSemiEvtSolution::angleHadp_
private

Definition at line 331 of file TtSemiEvtSolution.h.

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

◆ angleHadq_

double TtSemiEvtSolution::angleHadq_
private

Definition at line 331 of file TtSemiEvtSolution.h.

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

◆ angleLepb_

double TtSemiEvtSolution::angleLepb_
private

Definition at line 331 of file TtSemiEvtSolution.h.

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

◆ changeWQ_

int TtSemiEvtSolution::changeWQ_
private

Definition at line 332 of file TtSemiEvtSolution.h.

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

◆ decay_

std::string TtSemiEvtSolution::decay_
private

Definition at line 329 of file TtSemiEvtSolution.h.

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

◆ electron_

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

Definition at line 318 of file TtSemiEvtSolution.h.

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

◆ fitHadb_

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

Definition at line 320 of file TtSemiEvtSolution.h.

Referenced by getFitHadb(), and setFitHadb().

◆ fitHadp_

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

Definition at line 320 of file TtSemiEvtSolution.h.

Referenced by getFitHadp(), and setFitHadp().

◆ fitHadq_

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

Definition at line 320 of file TtSemiEvtSolution.h.

Referenced by getFitHadq(), and setFitHadq().

◆ fitHyp_

reco::CompositeCandidate TtSemiEvtSolution::fitHyp_
private

Definition at line 325 of file TtSemiEvtSolution.h.

Referenced by getFitHyp().

◆ fitLepb_

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

Definition at line 321 of file TtSemiEvtSolution.h.

Referenced by getFitLepb(), and setFitLepb().

◆ fitLepl_

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

Definition at line 321 of file TtSemiEvtSolution.h.

Referenced by getFitLepl(), and setFitLepl().

◆ fitLepn_

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

Definition at line 321 of file TtSemiEvtSolution.h.

Referenced by getFitLepn(), and setFitLepn().

◆ hadb_

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

Definition at line 316 of file TtSemiEvtSolution.h.

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

◆ hadp_

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

Definition at line 316 of file TtSemiEvtSolution.h.

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

◆ hadq_

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

Definition at line 316 of file TtSemiEvtSolution.h.

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

◆ jetCorrScheme_

int TtSemiEvtSolution::jetCorrScheme_
private

◆ jetParam_

int TtSemiEvtSolution::jetParam_
private

Definition at line 333 of file TtSemiEvtSolution.h.

Referenced by getJetParametrisation(), and setJetParametrisation().

◆ lepb_

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

Definition at line 316 of file TtSemiEvtSolution.h.

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

◆ leptonParam_

int TtSemiEvtSolution::leptonParam_
private

Definition at line 333 of file TtSemiEvtSolution.h.

Referenced by getLeptonParametrisation(), and setLeptonParametrisation().

◆ lrBestJetComb_

int TtSemiEvtSolution::lrBestJetComb_
private

Definition at line 335 of file TtSemiEvtSolution.h.

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

◆ lrJetCombLRval_

double TtSemiEvtSolution::lrJetCombLRval_
private

Definition at line 336 of file TtSemiEvtSolution.h.

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

◆ lrJetCombProb_

double TtSemiEvtSolution::lrJetCombProb_
private

Definition at line 336 of file TtSemiEvtSolution.h.

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

◆ lrJetCombVarVal_

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

Definition at line 338 of file TtSemiEvtSolution.h.

Referenced by getLRJetCombObsVal(), and setLRJetCombObservables().

◆ lrSignalEvtLRval_

double TtSemiEvtSolution::lrSignalEvtLRval_
private

◆ lrSignalEvtProb_

double TtSemiEvtSolution::lrSignalEvtProb_
private

Definition at line 337 of file TtSemiEvtSolution.h.

Referenced by getLRSignalEvtProb(), and TtSemiEvtSolution().

◆ lrSignalEvtVarVal_

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

Definition at line 339 of file TtSemiEvtSolution.h.

Referenced by getLRSignalEvtObsVal(), and setLRSignalEvtObservables().

◆ mcBestJetComb_

int TtSemiEvtSolution::mcBestJetComb_
private

Definition at line 335 of file TtSemiEvtSolution.h.

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

◆ mcHyp_

reco::CompositeCandidate TtSemiEvtSolution::mcHyp_
private

Definition at line 323 of file TtSemiEvtSolution.h.

Referenced by getMCHyp().

◆ muon_

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

Definition at line 317 of file TtSemiEvtSolution.h.

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

◆ neutrino_

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

Definition at line 319 of file TtSemiEvtSolution.h.

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

◆ neutrinoParam_

int TtSemiEvtSolution::neutrinoParam_
private

Definition at line 333 of file TtSemiEvtSolution.h.

Referenced by getNeutrinoParametrisation(), and setNeutrinoParametrisation().

◆ probChi2_

double TtSemiEvtSolution::probChi2_
private

Definition at line 334 of file TtSemiEvtSolution.h.

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

◆ recoHyp_

reco::CompositeCandidate TtSemiEvtSolution::recoHyp_
private

Definition at line 324 of file TtSemiEvtSolution.h.

Referenced by getRecoHyp(), and setupHyp().

◆ simpleBestJetComb_

int TtSemiEvtSolution::simpleBestJetComb_
private

◆ sumAnglejp_

double TtSemiEvtSolution::sumAnglejp_
private

Definition at line 331 of file TtSemiEvtSolution.h.

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

◆ theGenEvt_

edm::RefProd<TtGenEvent> TtSemiEvtSolution::theGenEvt_
private
TtSemiEvtSolution::getRecLepn
pat::MET getRecLepn() const
Definition: TtSemiEvtSolution.h:133
edm::RefProd< TtGenEvent >
TtSemiEvtSolution::getFitLepn
pat::Particle getFitLepn() const
Definition: TtSemiEvtSolution.h:160
TtSemiEvtSolution::getHadq
pat::Jet getHadq() const
Definition: TtSemiEvtSolution.cc:55
TtSemiEvtSolution::decay_
std::string decay_
Definition: TtSemiEvtSolution.h:329
mps_fire.i
i
Definition: mps_fire.py:428
TtGenEvent::leptonicDecayTop
const reco::GenParticle * leptonicDecayTop(bool excludeTauLeptons=false) const
get top of leptonic decay branch
Definition: TtGenEvent.cc:258
muon
Definition: MuonCocktails.h:17
reco::Particle
Definition: Particle.h:16
TtSemiEvtSolution::getCalHadb
pat::Jet getCalHadb() const
Definition: TtSemiEvtSolution.h:138
TtSemiEvtSolution::fitHyp_
reco::CompositeCandidate fitHyp_
Definition: TtSemiEvtSolution.h:325
TtSemiEvtSolution::getCalHadp
pat::Jet getCalHadp() const
Definition: TtSemiEvtSolution.h:139
TtSemiEvtSolution::jetParam_
int jetParam_
Definition: TtSemiEvtSolution.h:333
TtGenEvent::leptonicDecayW
const reco::GenParticle * leptonicDecayW(bool excludeTauLeptons=false) const
get W of leptonic decay branch
Definition: TtGenEvent.cc:242
TtSemiEvtSolution::getHadp
pat::Jet getHadp() const
Definition: TtSemiEvtSolution.cc:44
TtSemiEvtSolution::leptonParam_
int leptonParam_
Definition: TtSemiEvtSolution.h:333
TtSemiEvtSolution::getRecLepe
pat::Electron getRecLepe() const
Definition: TtSemiEvtSolution.h:132
TtSemiEvtSolution::fitLepl_
std::vector< pat::Particle > fitLepl_
Definition: TtSemiEvtSolution.h:321
TtSemiEvtSolution::getRecLepb
pat::Jet getRecLepb() const
Definition: TtSemiEvtSolution.h:130
TtSemiEvtSolution::getLepb
pat::Jet getLepb() const
Definition: TtSemiEvtSolution.cc:66
TtSemiEvtSolution::getNeutrino
pat::MET getNeutrino() const
Definition: TtSemiEvtSolution.h:53
TtSemiEvtSolution::angleLepb_
double angleLepb_
Definition: TtSemiEvtSolution.h:331
TtSemiEvtSolution::hadb_
edm::Ptr< pat::Jet > hadb_
Definition: TtSemiEvtSolution.h:316
TtGenEvent::hadronicDecayTop
const reco::GenParticle * hadronicDecayTop(bool excludeTauLeptons=false) const
get top of hadronic decay branch
Definition: TtGenEvent.cc:212
TtSemiEvtSolution::lrJetCombProb_
double lrJetCombProb_
Definition: TtSemiEvtSolution.h:336
TtSemiEvtSolution::getElectron
pat::Electron getElectron() const
Definition: TtSemiEvtSolution.h:52
TtSemiEvtSolution::jetCorrScheme_
int jetCorrScheme_
Definition: TtSemiEvtSolution.h:330
TtSemiEvtSolution::getFitLepl
pat::Particle getFitLepl() const
Definition: TtSemiEvtSolution.h:159
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
TtSemiEvtSolution::getCalHadq
pat::Jet getCalHadq() const
Definition: TtSemiEvtSolution.h:140
TtSemiEvtSolution::fitLepn_
std::vector< pat::Particle > fitLepn_
Definition: TtSemiEvtSolution.h:321
TtSemiEvtSolution::getGenEvent
const edm::RefProd< TtGenEvent > & getGenEvent() const
Definition: TtSemiEvtSolution.h:58
TtGenEvent::hadronicDecayW
const reco::GenParticle * hadronicDecayW(bool excludeTauLeptons=false) const
get W of hadronic decay branch
Definition: TtGenEvent.cc:196
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:42
BTaggingMonitor_cfi.met
met
Definition: BTaggingMonitor_cfi.py:84
TtSemiEvtSolution::lrJetCombVarVal_
std::vector< std::pair< unsigned int, double > > lrJetCombVarVal_
Definition: TtSemiEvtSolution.h:338
TtSemiEvtSolution::getFitHadq
pat::Particle getFitHadq() const
Definition: TtSemiEvtSolution.h:155
TtSemiEvtSolution::getFitHadp
pat::Particle getFitHadp() const
Definition: TtSemiEvtSolution.h:154
TtGenEvent::singleNeutrino
const reco::GenParticle * singleNeutrino(bool excludeTauLeptons=false) const
return single neutrino if available; 0 else
Definition: TtGenEvent.cc:139
TtGenEvent::isSemiLeptonic
bool isSemiLeptonic(bool excludeTauLeptons=false) const
check if the event can be classified as semi-laptonic
Definition: TtGenEvent.h:38
HLT_FULL_cff.muon
muon
Definition: HLT_FULL_cff.py:11725
TtSemiEvtSolution::getFitLepb
pat::Particle getFitLepb() const
Definition: TtSemiEvtSolution.h:158
TtSemiEvtSolution::hadp_
edm::Ptr< pat::Jet > hadp_
Definition: TtSemiEvtSolution.h:316
TtSemiEvtSolution::sumAnglejp_
double sumAnglejp_
Definition: TtSemiEvtSolution.h:331
TtSemiEvtSolution::changeWQ_
int changeWQ_
Definition: TtSemiEvtSolution.h:332
TtGenEvent::singleLepton
const reco::GenParticle * singleLepton(bool excludeTauLeptons=false) const
return single lepton if available; 0 else
Definition: TtGenEvent.cc:97
TtSemiEvtSolution::fitLepb_
std::vector< pat::Particle > fitLepb_
Definition: TtSemiEvtSolution.h:321
TtSemiEvtSolution::angleHadq_
double angleHadq_
Definition: TtSemiEvtSolution.h:331
reco::CompositeCandidate::addDaughter
void addDaughter(const Candidate &, const std::string &s="")
add a clone of the passed candidate as daughter
Definition: CompositeCandidate.cc:108
TtSemiEvtSolution::mcBestJetComb_
int mcBestJetComb_
Definition: TtSemiEvtSolution.h:335
first
auto first
Definition: CAHitNtupletGeneratorKernelsImpl.h:125
reco::CompositeCandidate::clearRoles
void clearRoles()
Definition: CompositeCandidate.h:73
TtSemiEvtSolution::recoHyp_
reco::CompositeCandidate recoHyp_
Definition: TtSemiEvtSolution.h:324
TtSemiEvtSolution::neutrino_
edm::Ptr< pat::MET > neutrino_
Definition: TtSemiEvtSolution.h:319
TtSemiEvtSolution::getHadb
pat::Jet getHadb() const
Definition: TtSemiEvtSolution.cc:33
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
TtSemiEvtSolution::getMuon
pat::Muon getMuon() const
Definition: TtSemiEvtSolution.h:51
TtSemiEvtSolution::lrJetCombLRval_
double lrJetCombLRval_
Definition: TtSemiEvtSolution.h:336
TtSemiEvtSolution::electron_
edm::Ptr< pat::Electron > electron_
Definition: TtSemiEvtSolution.h:318
TtSemiEvtSolution::getCalLepb
pat::Jet getCalLepb() const
Definition: TtSemiEvtSolution.h:143
TtSemiEvtSolution::lrBestJetComb_
int lrBestJetComb_
Definition: TtSemiEvtSolution.h:335
TtSemiEvtSolution::theGenEvt_
edm::RefProd< TtGenEvent > theGenEvt_
Definition: TtSemiEvtSolution.h:309
TtSemiEvtSolution::lrSignalEvtVarVal_
std::vector< std::pair< unsigned int, double > > lrSignalEvtVarVal_
Definition: TtSemiEvtSolution.h:339
TtSemiEvtSolution::lrSignalEvtProb_
double lrSignalEvtProb_
Definition: TtSemiEvtSolution.h:337
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:114
p4
double p4[4]
Definition: TauolaWrapper.h:92
TtSemiEvtSolution::fitHadb_
std::vector< pat::Particle > fitHadb_
Definition: TtSemiEvtSolution.h:320
TtSemiEvtSolution::lrSignalEvtLRval_
double lrSignalEvtLRval_
Definition: TtSemiEvtSolution.h:337
TtSemiEvtSolution::getDecay
std::string getDecay() const
Definition: TtSemiEvtSolution.h:165
reco::LeafCandidate::charge
int charge() const final
electric charge
Definition: LeafCandidate.h:106
TtSemiEvtSolution::getRecHadb
pat::Jet getRecHadb() const
Definition: TtSemiEvtSolution.h:125
TtSemiEvtSolution::mcHyp_
reco::CompositeCandidate mcHyp_
Definition: TtSemiEvtSolution.h:323
TtSemiEvtSolution::probChi2_
double probChi2_
Definition: TtSemiEvtSolution.h:334
HPSPFTauProducerPuppi_cfi.electron
electron
Definition: HPSPFTauProducerPuppi_cfi.py:13
reco::GsfElectron::p4
const LorentzVector & p4(P4Kind kind) const
Definition: GsfElectron.cc:217
TtSemiEvtSolution::angleHadp_
double angleHadp_
Definition: TtSemiEvtSolution.h:331
generator_cfi.scheme
scheme
Definition: generator_cfi.py:22
reco::LeafCandidate::vertex
const Point & vertex() const override
vertex position (overwritten by PF...)
Definition: LeafCandidate.h:165
edm::Ptr< pat::Electron >
TtGenEvent::hadronicDecayB
const reco::GenParticle * hadronicDecayB(bool excludeTauLeptons=false) const
get b of hadronic decay branch
Definition: TtGenEvent.cc:181
TtSemiEvtSolution::lepb_
edm::Ptr< pat::Jet > lepb_
Definition: TtSemiEvtSolution.h:316
TtSemiEvtSolution::fitHadp_
std::vector< pat::Particle > fitHadp_
Definition: TtSemiEvtSolution.h:320
TtSemiEvtSolution::fitHadq_
std::vector< pat::Particle > fitHadq_
Definition: TtSemiEvtSolution.h:320
heppy_batch.val
val
Definition: heppy_batch.py:351
reco::CompositeCandidate::clearDaughters
void clearDaughters()
clear daughters
Definition: CompositeCandidate.h:71
TtSemiEvtSolution::getRecHadq
pat::Jet getRecHadq() const
Definition: TtSemiEvtSolution.h:127
TtSemiEvtSolution::muon_
edm::Ptr< pat::Muon > muon_
Definition: TtSemiEvtSolution.h:317
TtSemiEvtSolution::hadq_
edm::Ptr< pat::Jet > hadq_
Definition: TtSemiEvtSolution.h:316
TtGenEvent::leptonicDecayB
const reco::GenParticle * leptonicDecayB(bool excludeTauLeptons=false) const
get b of leptonic decay branch
Definition: TtGenEvent.cc:227
metsig::jet
Definition: SignAlgoResolutions.h:47
TtSemiEvtSolution::neutrinoParam_
int neutrinoParam_
Definition: TtSemiEvtSolution.h:333
AddFourMomenta::set
void set(reco::Candidate &c) const
set up a candidate
Definition: AddFourMomenta.cc:6
pat::Jet::correctedJet
Jet correctedJet(const std::string &level, const std::string &flavor="none", const std::string &set="") const
TtGenEvent::hadronicDecayQuarkBar
const reco::GenParticle * hadronicDecayQuarkBar() const
get light anti-quark of hadronic decay branch
Definition: TtGenEvent.h:78
AddFourMomenta
Definition: AddFourMomenta.h:18
TtSemiEvtSolution::simpleBestJetComb_
int simpleBestJetComb_
Definition: TtSemiEvtSolution.h:335
reco::ShallowClonePtrCandidate
Definition: ShallowClonePtrCandidate.h:15
TtSemiEvtSolution::angleHadb_
double angleHadb_
Definition: TtSemiEvtSolution.h:331
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
TtSemiEvtSolution::getRecLepm
pat::Muon getRecLepm() const
Definition: TtSemiEvtSolution.h:131
pat::Particle
Analysis-level particle class.
Definition: Particle.h:30
reco::CompositeCandidate
Definition: CompositeCandidate.h:21
TtSemiEvtSolution::getFitHadb
pat::Particle getFitHadb() const
Definition: TtSemiEvtSolution.h:153
TtGenEvent::hadronicDecayQuark
const reco::GenParticle * hadronicDecayQuark(bool invertFlavor=false) const
get light quark of hadronic decay branch
Definition: TtGenEvent.cc:153
TtSemiEvtSolution::getRecHadp
pat::Jet getRecHadp() const
Definition: TtSemiEvtSolution.h:126