CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Private Attributes | Friends
TtDilepEvtSolution Class Reference

#include <TtDilepEvtSolution.h>

Public Member Functions

bool getBestSol () const
 
pat::Jet getCalJetB () const
 
pat::Jet getCalJetBbar () const
 
pat::Electron getElectronm () const
 
pat::Electron getElectronp () const
 
double getFullResidual () const
 
const reco::GenParticlegetGenB () const
 
const reco::GenParticlegetGenBbar () const
 
const edm::RefProd< TtGenEvent > & getGenEvent () const
 
const reco::GenParticlegetGenLepm () const
 
const reco::GenParticlegetGenLepp () const
 
const reco::GenParticlegetGenN () const
 
const reco::GenParticlegetGenNbar () const
 
const reco::GenParticlegetGenT () const
 
const reco::GenParticlegetGenTbar () const
 
const reco::GenParticlegetGenWm () const
 
const reco::GenParticlegetGenWp () const
 
pat::Jet getJetB () const
 
pat::Jet getJetBbar () const
 
double getJetResidual () const
 
reco::Particle getLeptNeg () const
 
double getLeptonResidual () const
 
reco::Particle getLeptPos () const
 
double getLRSignalEvtLRval () const
 
double getLRSignalEvtObsVal (unsigned int) const
 
double getLRSignalEvtProb () const
 
pat::MET getMET () const
 
pat::Muon getMuonm () const
 
pat::Muon getMuonp () const
 
pat::Jet getRecJetB () const
 
pat::Jet getRecJetBbar () const
 
double getRecTopMass () const
 
double getRecWeightMax () const
 
pat::Tau getTaum () const
 
pat::Tau getTaup () const
 
std::string getWmDecay () const
 
std::string getWpDecay () const
 
 TtDilepEvtSolution ()
 
virtual ~TtDilepEvtSolution ()
 

Protected Member Functions

void setB (const edm::Handle< std::vector< pat::Jet > > &jet, int i)
 
void setBbar (const edm::Handle< std::vector< pat::Jet > > &jet, int i)
 
void setBestSol (bool bs)
 
void setElectronm (const edm::Handle< std::vector< pat::Electron > > &elec, int i)
 
void setElectronp (const edm::Handle< std::vector< pat::Electron > > &elec, int i)
 
void setGenEvt (const edm::Handle< TtGenEvent > &)
 
void setJetCorrectionScheme (int jetCorrScheme)
 
void setLRSignalEvtLRval (double clr)
 
void setLRSignalEvtObservables (const std::vector< std::pair< unsigned int, double > > &)
 
void setLRSignalEvtProb (double plr)
 
void setMET (const edm::Handle< std::vector< pat::MET > > &met, int i)
 
void setMuonm (const edm::Handle< std::vector< pat::Muon > > &muon, int i)
 
void setMuonp (const edm::Handle< std::vector< pat::Muon > > &muon, int i)
 
void setRecTopMass (double mass)
 
void setRecWeightMax (double wgt)
 
void setTaum (const edm::Handle< std::vector< pat::Tau > > &tau, int i)
 
void setTaup (const edm::Handle< std::vector< pat::Tau > > &tau, int i)
 

Private Attributes

bool bestSol_
 
edm::Ref< std::vector
< pat::Electron > > 
elecm_
 
edm::Ref< std::vector
< pat::Electron > > 
elecp_
 
edm::Ref< std::vector< pat::Jet > > jetB_
 
edm::Ref< std::vector< pat::Jet > > jetBbar_
 
int jetCorrScheme_
 
double lrSignalEvtLRval_
 
double lrSignalEvtProb_
 
std::vector< std::pair
< unsigned int, double > > 
lrSignalEvtVarVal_
 
edm::Ref< std::vector< pat::MET > > met_
 
edm::Ref< std::vector
< pat::Muon > > 
muonm_
 
edm::Ref< std::vector
< pat::Muon > > 
muonp_
 
edm::Ref< std::vector< pat::Tau > > taum_
 
edm::Ref< std::vector< pat::Tau > > taup_
 
edm::RefProd< TtGenEventtheGenEvt_
 
double topmass_
 
double weightmax_
 
std::string wmDecay_
 
std::string wpDecay_
 

Friends

class TtDilepEvtSolutionMaker
 
class TtDilepLRSignalSelObservables
 
class TtFullLepKinSolver
 
class TtLRSignalSelCalc
 

Detailed Description

Definition at line 26 of file TtDilepEvtSolution.h.

Constructor & Destructor Documentation

TtDilepEvtSolution::TtDilepEvtSolution ( )

Definition at line 9 of file TtDilepEvtSolution.cc.

References bestSol_, jetCorrScheme_, topmass_, weightmax_, wmDecay_, and wpDecay_.

10 {
11  jetCorrScheme_ = 0;
12  wpDecay_ = "NotDefined";
13  wmDecay_ = "NotDefined";
14  bestSol_ = false;
15  topmass_ = 0.;
16  weightmax_ = 0.;
17 }
TtDilepEvtSolution::~TtDilepEvtSolution ( )
virtual

Definition at line 19 of file TtDilepEvtSolution.cc.

20 {
21 }

Member Function Documentation

bool TtDilepEvtSolution::getBestSol ( ) const
inline

Definition at line 86 of file TtDilepEvtSolution.h.

References bestSol_.

86 { return bestSol_; }
pat::Jet TtDilepEvtSolution::getCalJetB ( ) const
inline

Definition at line 70 of file TtDilepEvtSolution.h.

References getJetB().

Referenced by TtFullLepKinSolver::addKinSolInfo(), getJetResidual(), and TtDilepLRSignalSelObservables::operator()().

70 { return this->getJetB(); };
pat::Jet getJetB() const
pat::Jet TtDilepEvtSolution::getCalJetBbar ( ) const
inline

Definition at line 72 of file TtDilepEvtSolution.h.

References getJetBbar().

Referenced by TtFullLepKinSolver::addKinSolInfo(), getJetResidual(), and TtDilepLRSignalSelObservables::operator()().

72 { return this->getJetBbar(); };
pat::Jet getJetBbar() const
pat::Electron TtDilepEvtSolution::getElectronm ( ) const
inline

Definition at line 44 of file TtDilepEvtSolution.h.

References elecm_.

Referenced by TtFullLepKinSolver::addKinSolInfo(), getLeptNeg(), and getLeptonResidual().

44 { return *elecm_; };
edm::Ref< std::vector< pat::Electron > > elecm_
pat::Electron TtDilepEvtSolution::getElectronp ( ) const
inline

Definition at line 43 of file TtDilepEvtSolution.h.

References elecp_.

Referenced by TtFullLepKinSolver::addKinSolInfo(), getLeptonResidual(), and getLeptPos().

43 { return *elecp_; };
edm::Ref< std::vector< pat::Electron > > elecp_
double TtDilepEvtSolution::getFullResidual ( ) const
inline

Definition at line 85 of file TtDilepEvtSolution.h.

References getFullResidual(), and getJetResidual().

Referenced by getFullResidual().

85 { return getJetResidual()+getFullResidual(); }
double getFullResidual() const
double getJetResidual() const
const reco::GenParticle* TtDilepEvtSolution::getGenB ( ) const
inline

Definition at line 57 of file TtDilepEvtSolution.h.

References theGenEvt_.

Referenced by getJetResidual().

57 { if (!theGenEvt_) return 0; else return theGenEvt_->b(); };
edm::RefProd< TtGenEvent > theGenEvt_
const reco::GenParticle* TtDilepEvtSolution::getGenBbar ( ) const
inline

Definition at line 62 of file TtDilepEvtSolution.h.

References theGenEvt_.

Referenced by getJetResidual().

62 { if (!theGenEvt_) return 0; else return theGenEvt_->bBar(); };
edm::RefProd< TtGenEvent > theGenEvt_
const edm::RefProd<TtGenEvent>& TtDilepEvtSolution::getGenEvent ( ) const
inline

Definition at line 54 of file TtDilepEvtSolution.h.

References theGenEvt_.

54 { return theGenEvt_; };
edm::RefProd< TtGenEvent > theGenEvt_
const reco::GenParticle* TtDilepEvtSolution::getGenLepm ( ) const
inline

Definition at line 63 of file TtDilepEvtSolution.h.

References theGenEvt_.

Referenced by getLeptonResidual(), and TtDilepLRSignalSelObservables::operator()().

63 { if (!theGenEvt_) return 0; else return theGenEvt_->lepton(); };
edm::RefProd< TtGenEvent > theGenEvt_
const reco::GenParticle* TtDilepEvtSolution::getGenLepp ( ) const
inline

Definition at line 58 of file TtDilepEvtSolution.h.

References theGenEvt_.

Referenced by getLeptonResidual(), and TtDilepLRSignalSelObservables::operator()().

58 { if (!theGenEvt_) return 0; else return theGenEvt_->leptonBar(); };
edm::RefProd< TtGenEvent > theGenEvt_
const reco::GenParticle* TtDilepEvtSolution::getGenN ( ) const
inline

Definition at line 59 of file TtDilepEvtSolution.h.

References theGenEvt_.

Referenced by TtFullLepKinSolver::addKinSolInfo().

59 { if (!theGenEvt_) return 0; else return theGenEvt_->neutrino(); };
edm::RefProd< TtGenEvent > theGenEvt_
const reco::GenParticle* TtDilepEvtSolution::getGenNbar ( ) const
inline

Definition at line 64 of file TtDilepEvtSolution.h.

References theGenEvt_.

Referenced by TtFullLepKinSolver::addKinSolInfo().

64 { if (!theGenEvt_) return 0; else return theGenEvt_->neutrinoBar(); };
edm::RefProd< TtGenEvent > theGenEvt_
const reco::GenParticle* TtDilepEvtSolution::getGenT ( ) const
inline

Definition at line 55 of file TtDilepEvtSolution.h.

References theGenEvt_.

55 { if (!theGenEvt_) return 0; else return theGenEvt_->top(); };
edm::RefProd< TtGenEvent > theGenEvt_
const reco::GenParticle* TtDilepEvtSolution::getGenTbar ( ) const
inline

Definition at line 60 of file TtDilepEvtSolution.h.

References theGenEvt_.

60 { if (!theGenEvt_) return 0; else return theGenEvt_->topBar(); };
edm::RefProd< TtGenEvent > theGenEvt_
const reco::GenParticle* TtDilepEvtSolution::getGenWm ( ) const
inline

Definition at line 61 of file TtDilepEvtSolution.h.

References theGenEvt_.

61 { if (!theGenEvt_) return 0; else return theGenEvt_->wMinus(); };
edm::RefProd< TtGenEvent > theGenEvt_
const reco::GenParticle* TtDilepEvtSolution::getGenWp ( ) const
inline

Definition at line 56 of file TtDilepEvtSolution.h.

References theGenEvt_.

56 { if (!theGenEvt_) return 0; else return theGenEvt_->wPlus(); };
edm::RefProd< TtGenEvent > theGenEvt_
pat::Jet TtDilepEvtSolution::getJetB ( ) const

Definition at line 26 of file TtDilepEvtSolution.cc.

References jetB_, and jetCorrScheme_.

Referenced by getCalJetB(), getRecJetB(), and TtDilepLRSignalSelObservables::operator()().

27 {
28  // WARNING this is obsolete and only
29  // kept for backwards compatibility
30  if(jetCorrScheme_==1){
31  //jet calibrated according to MC truth
32  return jetB_->correctedJet("HAD", "B");
33  }
34  else if(jetCorrScheme_==2){
35  return jetB_->correctedJet("HAD", "B");
36  }
37  else{
38  return *jetB_;
39  }
40 }
edm::Ref< std::vector< pat::Jet > > jetB_
pat::Jet TtDilepEvtSolution::getJetBbar ( ) const

Definition at line 42 of file TtDilepEvtSolution.cc.

References jetBbar_, and jetCorrScheme_.

Referenced by getCalJetBbar(), getRecJetBbar(), and TtDilepLRSignalSelObservables::operator()().

43 {
44  // WARNING this is obsolete and only
45  // kept for backwards compatibility
46  if(jetCorrScheme_==1){
47  //jet calibrated according to MC truth
48  return jetBbar_->correctedJet("HAD", "B");
49  }
50  else if(jetCorrScheme_==2){
51  return jetBbar_->correctedJet("HAD", "B");
52  }
53  else{
54  return *jetBbar_;
55  }
56 }
edm::Ref< std::vector< pat::Jet > > jetBbar_
double TtDilepEvtSolution::getJetResidual ( ) const

Definition at line 83 of file TtDilepEvtSolution.cc.

References reco::deltaR(), getCalJetB(), getCalJetBbar(), getGenB(), and getGenBbar().

Referenced by getFullResidual().

84 {
85  double distance = 0.;
86  if(!getGenB() || !getGenBbar()) return distance;
87  distance += reco::deltaR(getCalJetB(),*getGenB());
88  distance += reco::deltaR(getCalJetBbar(),*getGenBbar());
89  return distance;
90 }
pat::Jet getCalJetBbar() const
const reco::GenParticle * getGenBbar() const
auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
Definition: deltaR.h:30
pat::Jet getCalJetB() const
const reco::GenParticle * getGenB() const
reco::Particle TtDilepEvtSolution::getLeptNeg ( ) const

Definition at line 115 of file TtDilepEvtSolution.cc.

References getElectronm(), getMuonm(), getTaum(), AlCaHLTBitMon_ParallelJobs::p, p4, reco::Particle::setPdgId(), and wmDecay_.

Referenced by TtDilepLRSignalSelObservables::operator()().

116 {
118  if(wmDecay_ == "electron"){
119  p = reco::Particle(-1, getElectronm().p4() );
120  p.setPdgId(11);
121  }
122  if(wmDecay_ == "muon"){
123  p = reco::Particle(-1, getMuonm().p4() );
124  p.setPdgId(13);
125  }
126  if(wmDecay_ == "tau"){
127  p = reco::Particle(-1, getTaum().p4() );
128  p.setPdgId(15);
129  }
130  return p;
131 }
pat::Electron getElectronm() const
double p4[4]
Definition: TauolaWrapper.h:92
pat::Muon getMuonm() const
pat::Tau getTaum() const
void setPdgId(int pdgId)
Definition: Particle.h:152
double TtDilepEvtSolution::getLeptonResidual ( ) const

Definition at line 92 of file TtDilepEvtSolution.cc.

References reco::deltaR(), getElectronm(), getElectronp(), getGenLepm(), getGenLepp(), getMuonm(), getMuonp(), getTaum(), getTaup(), getWmDecay(), and getWpDecay().

93 {
94  double distance = 0.;
95  if(!getGenLepp() || !getGenLepm()) return distance;
96  if(getWpDecay()=="electron")
97  distance += reco::deltaR(getElectronp(),*getGenLepp());
98  else if(getWpDecay()=="muon")
99  distance += reco::deltaR(getMuonp(),*getGenLepp());
100  else if(getWpDecay()=="tau")
101  distance += reco::deltaR(getTaup(),*getGenLepp());
102  if(getWmDecay()=="electron")
103  distance += reco::deltaR(getElectronm(),*getGenLepm());
104  else if(getWmDecay()=="muon")
105  distance += reco::deltaR(getMuonm(),*getGenLepm());
106  else if(getWmDecay()=="tau")
107  distance += reco::deltaR(getTaum(),*getGenLepm());
108  return distance;
109 }
const reco::GenParticle * getGenLepm() const
pat::Electron getElectronm() const
std::string getWmDecay() const
std::string getWpDecay() const
auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
Definition: deltaR.h:30
pat::Electron getElectronp() const
pat::Tau getTaup() const
pat::Muon getMuonm() const
pat::Tau getTaum() const
const reco::GenParticle * getGenLepp() const
pat::Muon getMuonp() const
reco::Particle TtDilepEvtSolution::getLeptPos ( ) const

Definition at line 62 of file TtDilepEvtSolution.cc.

References getElectronp(), getMuonp(), getTaup(), AlCaHLTBitMon_ParallelJobs::p, p4, reco::Particle::setPdgId(), wmDecay_, and wpDecay_.

Referenced by TtDilepLRSignalSelObservables::operator()().

63 {
65  if(wpDecay_ == "muon"){
66  p = reco::Particle(+1, getMuonp().p4() );
67  p.setPdgId(-11);
68  }
69  if(wpDecay_ == "electron"){
70  p = reco::Particle(+1, getElectronp().p4() );
71  p.setPdgId(-13);
72  }
73  if(wmDecay_ == "tau"){
74  p = reco::Particle(+1, getTaup().p4() );
75  p.setPdgId(-15);
76  }
77  return p;
78 }
double p4[4]
Definition: TauolaWrapper.h:92
pat::Electron getElectronp() const
pat::Tau getTaup() const
void setPdgId(int pdgId)
Definition: Particle.h:152
pat::Muon getMuonp() const
double TtDilepEvtSolution::getLRSignalEvtLRval ( ) const
inline

Definition at line 107 of file TtDilepEvtSolution.h.

References lrSignalEvtLRval_.

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

Definition at line 137 of file TtDilepEvtSolution.cc.

References first, i, and lrSignalEvtVarVal_.

138 {
139  double val = -999.;
140  for(size_t i=0; i<lrSignalEvtVarVal_.size(); i++){
141  if(lrSignalEvtVarVal_[i].first == selObs) val = lrSignalEvtVarVal_[i].second;
142  }
143  return val;
144 }
int i
Definition: DBlmapReader.cc:9
bool first
Definition: L1TdeRCT.cc:94
std::vector< std::pair< unsigned int, double > > lrSignalEvtVarVal_
double TtDilepEvtSolution::getLRSignalEvtProb ( ) const
inline

Definition at line 108 of file TtDilepEvtSolution.h.

References lrSignalEvtProb_.

108 { return lrSignalEvtProb_; }
pat::MET TtDilepEvtSolution::getMET ( ) const
inline

Definition at line 49 of file TtDilepEvtSolution.h.

References met_.

49 { return *met_; };
edm::Ref< std::vector< pat::MET > > met_
pat::Muon TtDilepEvtSolution::getMuonm ( ) const
inline

Definition at line 46 of file TtDilepEvtSolution.h.

References muonm_.

Referenced by TtFullLepKinSolver::addKinSolInfo(), getLeptNeg(), and getLeptonResidual().

46 { return *muonm_; };
edm::Ref< std::vector< pat::Muon > > muonm_
pat::Muon TtDilepEvtSolution::getMuonp ( ) const
inline

Definition at line 45 of file TtDilepEvtSolution.h.

References muonp_.

Referenced by TtFullLepKinSolver::addKinSolInfo(), getLeptonResidual(), and getLeptPos().

45 { return *muonp_; };
edm::Ref< std::vector< pat::Muon > > muonp_
pat::Jet TtDilepEvtSolution::getRecJetB ( ) const
inline

Definition at line 69 of file TtDilepEvtSolution.h.

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

69 { return this->getJetB().correctedJet("RAW"); };
Jet correctedJet(const std::string &level, const std::string &flavor="none", const std::string &set="") const
Definition: Jet.cc:271
pat::Jet getJetB() const
pat::Jet TtDilepEvtSolution::getRecJetBbar ( ) const
inline

Definition at line 71 of file TtDilepEvtSolution.h.

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

71 { return this->getJetBbar().correctedJet("RAW"); };
Jet correctedJet(const std::string &level, const std::string &flavor="none", const std::string &set="") const
Definition: Jet.cc:271
pat::Jet getJetBbar() const
double TtDilepEvtSolution::getRecTopMass ( ) const
inline

Definition at line 87 of file TtDilepEvtSolution.h.

References topmass_.

87 {return topmass_; }
double TtDilepEvtSolution::getRecWeightMax ( ) const
inline

Definition at line 88 of file TtDilepEvtSolution.h.

References weightmax_.

88 {return weightmax_; }
pat::Tau TtDilepEvtSolution::getTaum ( ) const
inline

Definition at line 48 of file TtDilepEvtSolution.h.

References taum_.

Referenced by TtFullLepKinSolver::addKinSolInfo(), getLeptNeg(), and getLeptonResidual().

48 { return *taum_; };
edm::Ref< std::vector< pat::Tau > > taum_
pat::Tau TtDilepEvtSolution::getTaup ( ) const
inline

Definition at line 47 of file TtDilepEvtSolution.h.

References taup_.

Referenced by TtFullLepKinSolver::addKinSolInfo(), getLeptonResidual(), and getLeptPos().

47 { return *taup_; };
edm::Ref< std::vector< pat::Tau > > taup_
std::string TtDilepEvtSolution::getWmDecay ( ) const
inline
std::string TtDilepEvtSolution::getWpDecay ( ) const
inline
void TtDilepEvtSolution::setB ( const edm::Handle< std::vector< pat::Jet > > &  jet,
int  i 
)
inlineprotected

Definition at line 122 of file TtDilepEvtSolution.h.

References i, metsig::jet, and jetB_.

Referenced by TtDilepEvtSolutionMaker::produce().

int i
Definition: DBlmapReader.cc:9
edm::Ref< std::vector< pat::Jet > > jetB_
void TtDilepEvtSolution::setBbar ( const edm::Handle< std::vector< pat::Jet > > &  jet,
int  i 
)
inlineprotected

Definition at line 124 of file TtDilepEvtSolution.h.

References i, metsig::jet, and jetBbar_.

Referenced by TtDilepEvtSolutionMaker::produce().

int i
Definition: DBlmapReader.cc:9
edm::Ref< std::vector< pat::Jet > > jetBbar_
void TtDilepEvtSolution::setBestSol ( bool  bs)
inlineprotected

Definition at line 144 of file TtDilepEvtSolution.h.

References bestSol_.

144 { bestSol_ = bs; };
void TtDilepEvtSolution::setElectronm ( const edm::Handle< std::vector< pat::Electron > > &  elec,
int  i 
)
inlineprotected

Definition at line 136 of file TtDilepEvtSolution.h.

References elecm_, i, and wmDecay_.

Referenced by TtDilepEvtSolutionMaker::produce().

137  { elecm_ = edm::Ref<std::vector<pat::Electron> >(elec, i); wmDecay_ = "electron"; };
int i
Definition: DBlmapReader.cc:9
edm::Ref< std::vector< pat::Electron > > elecm_
void TtDilepEvtSolution::setElectronp ( const edm::Handle< std::vector< pat::Electron > > &  elec,
int  i 
)
inlineprotected

Definition at line 134 of file TtDilepEvtSolution.h.

References elecp_, i, and wpDecay_.

Referenced by TtDilepEvtSolutionMaker::produce().

135  { elecp_ = edm::Ref<std::vector<pat::Electron> >(elec, i); wpDecay_ = "electron"; };
int i
Definition: DBlmapReader.cc:9
edm::Ref< std::vector< pat::Electron > > elecp_
void TtDilepEvtSolution::setGenEvt ( const edm::Handle< TtGenEvent > &  aGenEvt)
protected

Definition at line 149 of file TtDilepEvtSolution.cc.

References theGenEvt_.

Referenced by TtDilepEvtSolutionMaker::produce().

149  {
150  if( !aGenEvt->isFullLeptonic() ){
151  edm::LogInfo( "TtGenEventNotFilled" ) << "genEvt is not di-leptonic; TtGenEvent is not filled";
152  return;
153  }
155 }
edm::RefProd< TtGenEvent > theGenEvt_
void TtDilepEvtSolution::setJetCorrectionScheme ( int  jetCorrScheme)
inlineprotected

Definition at line 120 of file TtDilepEvtSolution.h.

References jetCorrScheme_.

Referenced by TtDilepEvtSolutionMaker::produce().

121  { jetCorrScheme_ = jetCorrScheme; };
void TtDilepEvtSolution::setLRSignalEvtLRval ( double  clr)
inlineprotected

Definition at line 152 of file TtDilepEvtSolution.h.

References lrSignalEvtLRval_.

152 {lrSignalEvtLRval_ = clr;};
void TtDilepEvtSolution::setLRSignalEvtObservables ( const std::vector< std::pair< unsigned int, double > > &  varval)
protected

Definition at line 160 of file TtDilepEvtSolution.cc.

References lrSignalEvtVarVal_.

Referenced by TtDilepLRSignalSelObservables::operator()().

161 {
162  lrSignalEvtVarVal_.clear();
163  for(size_t ise = 0; ise<varval.size(); ise++) lrSignalEvtVarVal_.push_back(varval[ise]);
164 }
std::vector< std::pair< unsigned int, double > > lrSignalEvtVarVal_
void TtDilepEvtSolution::setLRSignalEvtProb ( double  plr)
inlineprotected

Definition at line 153 of file TtDilepEvtSolution.h.

153 {lrSignalEvtProb_ = plr;};
void TtDilepEvtSolution::setMET ( const edm::Handle< std::vector< pat::MET > > &  met,
int  i 
)
inlineprotected

Definition at line 138 of file TtDilepEvtSolution.h.

References i, CaloMET_cfi::met, and met_.

Referenced by TtDilepEvtSolutionMaker::produce().

int i
Definition: DBlmapReader.cc:9
edm::Ref< std::vector< pat::MET > > met_
void TtDilepEvtSolution::setMuonm ( const edm::Handle< std::vector< pat::Muon > > &  muon,
int  i 
)
inlineprotected

Definition at line 128 of file TtDilepEvtSolution.h.

References i, metsig::muon, muonm_, and wmDecay_.

Referenced by TtDilepEvtSolutionMaker::produce().

int i
Definition: DBlmapReader.cc:9
edm::Ref< std::vector< pat::Muon > > muonm_
void TtDilepEvtSolution::setMuonp ( const edm::Handle< std::vector< pat::Muon > > &  muon,
int  i 
)
inlineprotected

Definition at line 126 of file TtDilepEvtSolution.h.

References i, metsig::muon, muonp_, and wpDecay_.

Referenced by TtDilepEvtSolutionMaker::produce().

int i
Definition: DBlmapReader.cc:9
edm::Ref< std::vector< pat::Muon > > muonp_
void TtDilepEvtSolution::setRecTopMass ( double  mass)
inlineprotected

Definition at line 145 of file TtDilepEvtSolution.h.

References topmass_.

Referenced by TtFullLepKinSolver::addKinSolInfo().

145 { topmass_ = mass; };
void TtDilepEvtSolution::setRecWeightMax ( double  wgt)
inlineprotected

Definition at line 146 of file TtDilepEvtSolution.h.

References weightmax_.

Referenced by TtFullLepKinSolver::addKinSolInfo().

146 { weightmax_ = wgt; };
void TtDilepEvtSolution::setTaum ( const edm::Handle< std::vector< pat::Tau > > &  tau,
int  i 
)
inlineprotected

Definition at line 132 of file TtDilepEvtSolution.h.

References i, metsig::tau, taum_, and wmDecay_.

Referenced by TtDilepEvtSolutionMaker::produce().

int i
Definition: DBlmapReader.cc:9
edm::Ref< std::vector< pat::Tau > > taum_
void TtDilepEvtSolution::setTaup ( const edm::Handle< std::vector< pat::Tau > > &  tau,
int  i 
)
inlineprotected

Definition at line 130 of file TtDilepEvtSolution.h.

References i, metsig::tau, taup_, and wpDecay_.

Referenced by TtDilepEvtSolutionMaker::produce().

int i
Definition: DBlmapReader.cc:9
edm::Ref< std::vector< pat::Tau > > taup_

Friends And Related Function Documentation

friend class TtDilepEvtSolutionMaker
friend

Definition at line 29 of file TtDilepEvtSolution.h.

friend class TtDilepLRSignalSelObservables
friend

Definition at line 30 of file TtDilepEvtSolution.h.

friend class TtFullLepKinSolver
friend

Definition at line 28 of file TtDilepEvtSolution.h.

friend class TtLRSignalSelCalc
friend

Definition at line 31 of file TtDilepEvtSolution.h.

Member Data Documentation

bool TtDilepEvtSolution::bestSol_
private

Definition at line 173 of file TtDilepEvtSolution.h.

Referenced by getBestSol(), setBestSol(), and TtDilepEvtSolution().

edm::Ref<std::vector<pat::Electron> > TtDilepEvtSolution::elecm_
private

Definition at line 161 of file TtDilepEvtSolution.h.

Referenced by getElectronm(), and setElectronm().

edm::Ref<std::vector<pat::Electron> > TtDilepEvtSolution::elecp_
private

Definition at line 161 of file TtDilepEvtSolution.h.

Referenced by getElectronp(), and setElectronp().

edm::Ref<std::vector<pat::Jet> > TtDilepEvtSolution::jetB_
private

Definition at line 164 of file TtDilepEvtSolution.h.

Referenced by getJetB(), and setB().

edm::Ref<std::vector<pat::Jet> > TtDilepEvtSolution::jetBbar_
private

Definition at line 164 of file TtDilepEvtSolution.h.

Referenced by getJetBbar(), and setBbar().

int TtDilepEvtSolution::jetCorrScheme_
private
double TtDilepEvtSolution::lrSignalEvtLRval_
private

Definition at line 177 of file TtDilepEvtSolution.h.

Referenced by getLRSignalEvtLRval(), and setLRSignalEvtLRval().

double TtDilepEvtSolution::lrSignalEvtProb_
private

Definition at line 177 of file TtDilepEvtSolution.h.

Referenced by getLRSignalEvtProb().

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

Definition at line 178 of file TtDilepEvtSolution.h.

Referenced by getLRSignalEvtObsVal(), and setLRSignalEvtObservables().

edm::Ref<std::vector<pat::MET> > TtDilepEvtSolution::met_
private

Definition at line 165 of file TtDilepEvtSolution.h.

Referenced by getMET(), and setMET().

edm::Ref<std::vector<pat::Muon> > TtDilepEvtSolution::muonm_
private

Definition at line 162 of file TtDilepEvtSolution.h.

Referenced by getMuonm(), and setMuonm().

edm::Ref<std::vector<pat::Muon> > TtDilepEvtSolution::muonp_
private

Definition at line 162 of file TtDilepEvtSolution.h.

Referenced by getMuonp(), and setMuonp().

edm::Ref<std::vector<pat::Tau> > TtDilepEvtSolution::taum_
private

Definition at line 163 of file TtDilepEvtSolution.h.

Referenced by getTaum(), and setTaum().

edm::Ref<std::vector<pat::Tau> > TtDilepEvtSolution::taup_
private

Definition at line 163 of file TtDilepEvtSolution.h.

Referenced by getTaup(), and setTaup().

edm::RefProd<TtGenEvent> TtDilepEvtSolution::theGenEvt_
private
double TtDilepEvtSolution::topmass_
private

Definition at line 174 of file TtDilepEvtSolution.h.

Referenced by getRecTopMass(), setRecTopMass(), and TtDilepEvtSolution().

double TtDilepEvtSolution::weightmax_
private

Definition at line 175 of file TtDilepEvtSolution.h.

Referenced by getRecWeightMax(), setRecWeightMax(), and TtDilepEvtSolution().

std::string TtDilepEvtSolution::wmDecay_
private
std::string TtDilepEvtSolution::wpDecay_
private