CMS 3D CMS Logo

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

#include <StEvtSolution.h>

Public Member Functions

bool getBestSol () const
 
pat::Jet getBottom () const
 
int getChangeBL () const
 
double getChi2Prob () const
 
std::string getDecay () const
 
double getDeltaRB () const
 
double getDeltaRL () const
 
pat::Electron getElectron () const
 
pat::Particle getFitBottom () const
 
reco::Particle getFitLept () const
 
pat::Particle getFitLepton () const
 
reco::Particle getFitLepW () const
 
pat::Particle getFitLight () const
 
pat::Particle getFitNeutrino () const
 
const reco::GenParticlegetGenBottom () const
 
const edm::RefProd< StGenEvent > & getGenEvent () const
 
const reco::GenParticlegetGenLept () const
 
const reco::GenParticlegetGenLepton () const
 
const reco::GenParticlegetGenLepW () const
 
const reco::GenParticlegetGenNeutrino () const
 
reco::Particle getLept () const
 
reco::Particle getLepW () const
 
pat::Jet getLight () const
 
pat::Muon getMuon () const
 
pat::MET getNeutrino () const
 
double getPtrueBhadrSel () const
 
double getPtrueBJetSel () const
 
double getPtrueCombExist () const
 
double getPtrueJetComb () const
 
pat::Jet getRecBottom () const
 
pat::Electron getRecElectron () const
 
reco::Particle getRecLept () const
 
reco::Particle getRecLepW () const
 
pat::Jet getRecLight () const
 
pat::Muon getRecMuon () const
 
pat::MET getRecNeutrino () const
 
std::vector< double > getScanValues () const
 
double getSignalLRTot () const
 
double getSignalPur () const
 
double getSumDeltaRjp () const
 
 StEvtSolution ()
 
virtual ~StEvtSolution ()
 

Protected Member Functions

void setBestSol (bool bs)
 
void setBottom (const edm::Handle< std::vector< pat::Jet > > &jet, int i)
 
void setChangeBL (int bl)
 
void setChi2Prob (double prob)
 
void setDeltaRB (double adr)
 
void setDeltaRL (double adr)
 
void setElectron (const edm::Handle< std::vector< pat::Electron > > &elec, int i)
 
void setFitBottom (const pat::Particle &part)
 
void setFitLepton (const pat::Particle &part)
 
void setFitLight (const pat::Particle &part)
 
void setFitNeutrino (const pat::Particle &part)
 
void setGenEvt (const edm::Handle< StGenEvent > &)
 
void setJetCorrectionScheme (int scheme)
 
void setLight (const edm::Handle< std::vector< pat::Jet > > &jet, int i)
 
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 setPtrueBhadrSel (double pbh)
 
void setPtrueBJetSel (double pbs)
 
void setPtrueCombExist (double pce)
 
void setPtrueJetComb (double pt)
 
void setScanValues (const std::vector< double > &)
 
void setSignalLRTot (double lrt)
 
void setSignalPurity (double pur)
 
void setSumDeltaRjp (double sdr)
 

Private Attributes

bool bestSol_
 
edm::Ref< std::vector< pat::Jet > > bottom_
 
int changeBL_
 
double chi2Prob_
 
std::string decay_
 
double deltaRB_
 
double deltaRL_
 
edm::Ref< std::vector< pat::Electron > > electron_
 
std::vector< pat::ParticlefitBottom_
 
std::vector< pat::ParticlefitLepton_
 
std::vector< pat::ParticlefitLight_
 
std::vector< pat::ParticlefitNeutrino_
 
int jetCorrScheme_
 
edm::Ref< std::vector< pat::Jet > > light_
 
edm::Ref< std::vector< pat::Muon > > muon_
 
edm::Ref< std::vector< pat::MET > > neutrino_
 
double pTrueBhadrSel_
 
double pTrueBJetSel_
 
double pTrueCombExist_
 
double pTrueJetComb_
 
std::vector< double > scanValues_
 
double signalLRTot_
 
double signalPur_
 
double sumDeltaRjp_
 
edm::RefProd< StGenEventtheGenEvt_
 

Friends

class StEvtSolutionMaker
 
class StKinFitter
 

Detailed Description

Definition at line 21 of file StEvtSolution.h.

Constructor & Destructor Documentation

◆ StEvtSolution()

StEvtSolution::StEvtSolution ( )

Definition at line 7 of file StEvtSolution.cc.

References bestSol_, changeBL_, chi2Prob_, deltaRB_, deltaRL_, jetCorrScheme_, pTrueBhadrSel_, pTrueBJetSel_, pTrueCombExist_, pTrueJetComb_, signalLRTot_, signalPur_, and sumDeltaRjp_.

7  {
8  jetCorrScheme_ = 0;
9  chi2Prob_ = -999.;
10  pTrueCombExist_ = -999.;
11  pTrueBJetSel_ = -999.;
12  pTrueBhadrSel_ = -999.;
13  pTrueJetComb_ = -999.;
14  signalPur_ = -999.;
15  signalLRTot_ = -999.;
16  sumDeltaRjp_ = -999.;
17  deltaRB_ = -999.;
18  deltaRL_ = -999.;
19  changeBL_ = -999;
20  bestSol_ = false;
21 }
double pTrueJetComb_
double signalLRTot_
double pTrueBhadrSel_
double sumDeltaRjp_
double pTrueCombExist_
double pTrueBJetSel_

◆ ~StEvtSolution()

StEvtSolution::~StEvtSolution ( )
virtual

Definition at line 23 of file StEvtSolution.cc.

23 {}

Member Function Documentation

◆ getBestSol()

bool StEvtSolution::getBestSol ( ) const
inline

Definition at line 92 of file StEvtSolution.h.

References bestSol_.

92 { return bestSol_; }

◆ getBottom()

pat::Jet StEvtSolution::getBottom ( ) const

Definition at line 28 of file StEvtSolution.cc.

References bottom_, and jetCorrScheme_.

Referenced by StKinFitter::addKinFitInfo(), getLept(), and getRecBottom().

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

◆ getChangeBL()

int StEvtSolution::getChangeBL ( ) const
inline

Definition at line 91 of file StEvtSolution.h.

References changeBL_.

91 { return changeBL_; }

◆ getChi2Prob()

double StEvtSolution::getChi2Prob ( ) const
inline

Definition at line 81 of file StEvtSolution.h.

References chi2Prob_.

81 { return chi2Prob_; }

◆ getDecay()

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

Definition at line 75 of file StEvtSolution.h.

References decay_.

Referenced by StKinFitter::addKinFitInfo(), getLept(), getLepW(), and getRecLept().

75 { return decay_; }
std::string decay_

◆ getDeltaRB()

double StEvtSolution::getDeltaRB ( ) const
inline

Definition at line 89 of file StEvtSolution.h.

References deltaRB_.

89 { return deltaRB_; }

◆ getDeltaRL()

double StEvtSolution::getDeltaRL ( ) const
inline

Definition at line 90 of file StEvtSolution.h.

References deltaRL_.

90 { return deltaRL_; }

◆ getElectron()

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

Definition at line 35 of file StEvtSolution.h.

References electron_.

Referenced by StKinFitter::addKinFitInfo(), getLept(), getLepW(), getRecElectron(), and getRecLept().

35 { return *electron_; };
edm::Ref< std::vector< pat::Electron > > electron_

◆ getFitBottom()

pat::Particle StEvtSolution::getFitBottom ( ) const
inline

Definition at line 65 of file StEvtSolution.h.

References fitBottom_.

Referenced by getFitLept().

65 { return (!fitBottom_.empty() ? fitBottom_.front() : pat::Particle()); };
Analysis-level particle class.
Definition: Particle.h:30
std::vector< pat::Particle > fitBottom_

◆ getFitLept()

reco::Particle StEvtSolution::getFitLept ( ) const

Definition at line 144 of file StEvtSolution.cc.

References getFitBottom(), getFitLepton(), and getFitNeutrino().

144  {
145  // FIXME: provide the correct charge from generated event
146  return reco::Particle(0, this->getFitLepton().p4() + this->getFitNeutrino().p4() + this->getFitBottom().p4());
147 }
pat::Particle getFitLepton() const
Definition: StEvtSolution.h:67
pat::Particle getFitBottom() const
Definition: StEvtSolution.h:65
pat::Particle getFitNeutrino() const
Definition: StEvtSolution.h:68

◆ getFitLepton()

pat::Particle StEvtSolution::getFitLepton ( ) const
inline

Definition at line 67 of file StEvtSolution.h.

References fitLepton_.

Referenced by getFitLept(), and getFitLepW().

67 { return (!fitLepton_.empty() ? fitLepton_.front() : pat::Particle()); };
std::vector< pat::Particle > fitLepton_
Analysis-level particle class.
Definition: Particle.h:30

◆ getFitLepW()

reco::Particle StEvtSolution::getFitLepW ( ) const

Definition at line 139 of file StEvtSolution.cc.

References getFitLepton(), and getFitNeutrino().

139  {
140  // FIXME: provide the correct charge from generated event
141  return reco::Particle(0, this->getFitLepton().p4() + this->getFitNeutrino().p4());
142 }
pat::Particle getFitLepton() const
Definition: StEvtSolution.h:67
pat::Particle getFitNeutrino() const
Definition: StEvtSolution.h:68

◆ getFitLight()

pat::Particle StEvtSolution::getFitLight ( ) const
inline

Definition at line 66 of file StEvtSolution.h.

References fitLight_.

66 { return (!fitLight_.empty() ? fitLight_.front() : pat::Particle()); };
std::vector< pat::Particle > fitLight_
Analysis-level particle class.
Definition: Particle.h:30

◆ getFitNeutrino()

pat::Particle StEvtSolution::getFitNeutrino ( ) const
inline

Definition at line 68 of file StEvtSolution.h.

References fitNeutrino_.

Referenced by getFitLept(), and getFitLepW().

68 { return (!fitNeutrino_.empty() ? fitNeutrino_.front() : pat::Particle()); };
std::vector< pat::Particle > fitNeutrino_
Analysis-level particle class.
Definition: Particle.h:30

◆ getGenBottom()

const reco::GenParticle * StEvtSolution::getGenBottom ( ) const

Definition at line 79 of file StEvtSolution.cc.

References StGenEvent::decayB(), and theGenEvt_.

79  {
80  if (!theGenEvt_)
81  return nullptr;
82  else
83  return theGenEvt_->decayB();
84 }
const reco::GenParticle * decayB() const
return decay b
Definition: StGenEvent.cc:18
edm::RefProd< StGenEvent > theGenEvt_

◆ getGenEvent()

const edm::RefProd<StGenEvent>& StEvtSolution::getGenEvent ( ) const
inline

Definition at line 43 of file StEvtSolution.h.

References theGenEvt_.

43 { return theGenEvt_; };
edm::RefProd< StGenEvent > theGenEvt_

◆ getGenLept()

const reco::GenParticle * StEvtSolution::getGenLept ( ) const

Definition at line 114 of file StEvtSolution.cc.

References StGenEvent::singleTop(), and theGenEvt_.

114  {
115  if (!theGenEvt_)
116  return nullptr;
117  else
118  return theGenEvt_->singleTop();
119 }
const reco::GenParticle * singleTop() const
return single Top
Definition: StGenEvent.cc:90
edm::RefProd< StGenEvent > theGenEvt_

◆ getGenLepton()

const reco::GenParticle * StEvtSolution::getGenLepton ( ) const

Definition at line 93 of file StEvtSolution.cc.

References StGenEvent::singleLepton(), and theGenEvt_.

93  {
94  if (!theGenEvt_)
95  return nullptr;
96  else
97  return theGenEvt_->singleLepton();
98 }
const reco::GenParticle * singleLepton() const
return single lepton if available; 0 else
Definition: StGenEvent.cc:50
edm::RefProd< StGenEvent > theGenEvt_

◆ getGenLepW()

const reco::GenParticle * StEvtSolution::getGenLepW ( ) const

Definition at line 107 of file StEvtSolution.cc.

References StGenEvent::singleW(), and theGenEvt_.

107  {
108  if (!theGenEvt_)
109  return nullptr;
110  else
111  return theGenEvt_->singleW();
112 }
const reco::GenParticle * singleW() const
return single W
Definition: StGenEvent.cc:74
edm::RefProd< StGenEvent > theGenEvt_

◆ getGenNeutrino()

const reco::GenParticle * StEvtSolution::getGenNeutrino ( ) const

Definition at line 100 of file StEvtSolution.cc.

References StGenEvent::singleNeutrino(), and theGenEvt_.

100  {
101  if (!theGenEvt_)
102  return nullptr;
103  else
104  return theGenEvt_->singleNeutrino();
105 }
const reco::GenParticle * singleNeutrino() const
return single neutrino if available; 0 else
Definition: StGenEvent.cc:62
edm::RefProd< StGenEvent > theGenEvt_

◆ getLept()

reco::Particle StEvtSolution::getLept ( ) const

Definition at line 64 of file StEvtSolution.cc.

References getBottom(), getDecay(), getElectron(), getMuon(), getNeutrino(), and AlCaHLTBitMon_ParallelJobs::p.

64  {
65  // FIXME: the charge from the genevent
67  if (this->getDecay() == "muon")
68  p = reco::Particle(0, this->getMuon().p4() + this->getNeutrino().p4() + this->getBottom().p4(), math::XYZPoint());
69  if (this->getDecay() == "electron")
70  p = reco::Particle(
71  0, this->getElectron().p4() + this->getNeutrino().p4() + this->getBottom().p4(), math::XYZPoint());
72  return p;
73 }
std::string getDecay() const
Definition: StEvtSolution.h:75
pat::Electron getElectron() const
Definition: StEvtSolution.h:35
pat::Jet getBottom() const
pat::MET getNeutrino() const
Definition: StEvtSolution.h:36
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
pat::Muon getMuon() const
Definition: StEvtSolution.h:34

◆ getLepW()

reco::Particle StEvtSolution::getLepW ( ) const

Definition at line 54 of file StEvtSolution.cc.

References getDecay(), getElectron(), getMuon(), getNeutrino(), and AlCaHLTBitMon_ParallelJobs::p.

Referenced by getRecLepW().

54  {
55  // FIXME: the charge from the genevent
57  if (this->getDecay() == "muon")
58  p = reco::Particle(0, this->getMuon().p4() + this->getNeutrino().p4(), math::XYZPoint());
59  if (this->getDecay() == "electron")
60  p = reco::Particle(0, this->getElectron().p4() + this->getNeutrino().p4(), math::XYZPoint());
61  return p;
62 }
std::string getDecay() const
Definition: StEvtSolution.h:75
pat::Electron getElectron() const
Definition: StEvtSolution.h:35
pat::MET getNeutrino() const
Definition: StEvtSolution.h:36
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
pat::Muon getMuon() const
Definition: StEvtSolution.h:34

◆ getLight()

pat::Jet StEvtSolution::getLight ( ) const

Definition at line 41 of file StEvtSolution.cc.

References jetCorrScheme_, and light_.

Referenced by StKinFitter::addKinFitInfo(), and getRecLight().

41  {
42  // WARNING this is obsolete and only
43  // kept for backwards compatibility
44  if (jetCorrScheme_ == 1) {
45  //jet calibrated according to MC truth
46  return light_->correctedJet("HAD", "UDS");
47  } else if (jetCorrScheme_ == 2) {
48  return light_->correctedJet("HAD", "UDS");
49  } else {
50  return *light_;
51  }
52 }
edm::Ref< std::vector< pat::Jet > > light_

◆ getMuon()

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

Definition at line 34 of file StEvtSolution.h.

References muon_.

Referenced by StKinFitter::addKinFitInfo(), getLept(), getLepW(), getRecLept(), and getRecMuon().

34 { return *muon_; };
edm::Ref< std::vector< pat::Muon > > muon_

◆ getNeutrino()

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

Definition at line 36 of file StEvtSolution.h.

References neutrino_.

Referenced by StKinFitter::addKinFitInfo(), getLept(), getLepW(), getRecLept(), and getRecNeutrino().

36 { return *neutrino_; };
edm::Ref< std::vector< pat::MET > > neutrino_

◆ getPtrueBhadrSel()

double StEvtSolution::getPtrueBhadrSel ( ) const
inline

Definition at line 84 of file StEvtSolution.h.

References pTrueBhadrSel_.

84 { return pTrueBhadrSel_; }
double pTrueBhadrSel_

◆ getPtrueBJetSel()

double StEvtSolution::getPtrueBJetSel ( ) const
inline

Definition at line 83 of file StEvtSolution.h.

References pTrueBJetSel_.

83 { return pTrueBJetSel_; }
double pTrueBJetSel_

◆ getPtrueCombExist()

double StEvtSolution::getPtrueCombExist ( ) const
inline

Definition at line 82 of file StEvtSolution.h.

References pTrueCombExist_.

82 { return pTrueCombExist_; }
double pTrueCombExist_

◆ getPtrueJetComb()

double StEvtSolution::getPtrueJetComb ( ) const
inline

Definition at line 85 of file StEvtSolution.h.

References pTrueJetComb_.

85 { return pTrueJetComb_; }
double pTrueJetComb_

◆ getRecBottom()

pat::Jet StEvtSolution::getRecBottom ( ) const
inline

Definition at line 54 of file StEvtSolution.h.

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

Referenced by getRecLept().

54 { return this->getBottom().correctedJet("RAW"); };
pat::Jet getBottom() const
Jet correctedJet(const std::string &level, const std::string &flavor="none", const std::string &set="") const

◆ getRecElectron()

pat::Electron StEvtSolution::getRecElectron ( ) const
inline

Definition at line 57 of file StEvtSolution.h.

References getElectron().

57 { return this->getElectron(); }; // redundant
pat::Electron getElectron() const
Definition: StEvtSolution.h:35

◆ getRecLept()

reco::Particle StEvtSolution::getRecLept ( ) const

Definition at line 124 of file StEvtSolution.cc.

References getDecay(), getElectron(), getMuon(), getNeutrino(), getRecBottom(), and AlCaHLTBitMon_ParallelJobs::p.

124  {
125  // FIXME: the charge from the genevent
127  if (this->getDecay() == "muon")
128  p = reco::Particle(
129  0, this->getMuon().p4() + this->getNeutrino().p4() + this->getRecBottom().p4(), math::XYZPoint());
130  if (this->getDecay() == "electron")
131  p = reco::Particle(
132  0, this->getElectron().p4() + this->getNeutrino().p4() + this->getRecBottom().p4(), math::XYZPoint());
133  return p;
134 }
std::string getDecay() const
Definition: StEvtSolution.h:75
pat::Electron getElectron() const
Definition: StEvtSolution.h:35
pat::MET getNeutrino() const
Definition: StEvtSolution.h:36
pat::Jet getRecBottom() const
Definition: StEvtSolution.h:54
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
pat::Muon getMuon() const
Definition: StEvtSolution.h:34

◆ getRecLepW()

reco::Particle StEvtSolution::getRecLepW ( ) const
inline

Definition at line 59 of file StEvtSolution.h.

References getLepW().

59 { return this->getLepW(); }; // redundant
reco::Particle getLepW() const

◆ getRecLight()

pat::Jet StEvtSolution::getRecLight ( ) const
inline

Definition at line 55 of file StEvtSolution.h.

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

55 { return this->getLight().correctedJet("RAW"); };
pat::Jet getLight() const
Jet correctedJet(const std::string &level, const std::string &flavor="none", const std::string &set="") const

◆ getRecMuon()

pat::Muon StEvtSolution::getRecMuon ( ) const
inline

Definition at line 56 of file StEvtSolution.h.

References getMuon().

56 { return this->getMuon(); }; // redundant
pat::Muon getMuon() const
Definition: StEvtSolution.h:34

◆ getRecNeutrino()

pat::MET StEvtSolution::getRecNeutrino ( ) const
inline

Definition at line 58 of file StEvtSolution.h.

References getNeutrino().

58 { return this->getNeutrino(); }; // redundant
pat::MET getNeutrino() const
Definition: StEvtSolution.h:36

◆ getScanValues()

std::vector<double> StEvtSolution::getScanValues ( ) const
inline

Definition at line 80 of file StEvtSolution.h.

References scanValues_.

80 { return scanValues_; }
std::vector< double > scanValues_

◆ getSignalLRTot()

double StEvtSolution::getSignalLRTot ( ) const
inline

Definition at line 87 of file StEvtSolution.h.

References signalLRTot_.

87 { return signalLRTot_; }
double signalLRTot_

◆ getSignalPur()

double StEvtSolution::getSignalPur ( ) const
inline

Definition at line 86 of file StEvtSolution.h.

References signalPur_.

86 { return signalPur_; }

◆ getSumDeltaRjp()

double StEvtSolution::getSumDeltaRjp ( ) const
inline

Definition at line 88 of file StEvtSolution.h.

References sumDeltaRjp_.

88 { return sumDeltaRjp_; }
double sumDeltaRjp_

◆ setBestSol()

void StEvtSolution::setBestSol ( bool  bs)
inlineprotected

Definition at line 157 of file StEvtSolution.h.

157 { bestSol_ = bs; };

◆ setBottom()

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

Definition at line 104 of file StEvtSolution.h.

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

Referenced by StEvtSolutionMaker::produce().

104  {
106  };
edm::Ref< std::vector< pat::Jet > > bottom_

◆ setChangeBL()

void StEvtSolution::setChangeBL ( int  bl)
inlineprotected

Definition at line 156 of file StEvtSolution.h.

References changeBL_.

156 { changeBL_ = bl; };

◆ setChi2Prob()

void StEvtSolution::setChi2Prob ( double  prob)
inlineprotected

◆ setDeltaRB()

void StEvtSolution::setDeltaRB ( double  adr)
inlineprotected

Definition at line 154 of file StEvtSolution.h.

References deltaRB_.

154 { deltaRB_ = adr; };

◆ setDeltaRL()

void StEvtSolution::setDeltaRL ( double  adr)
inlineprotected

Definition at line 155 of file StEvtSolution.h.

References deltaRL_.

155 { deltaRL_ = adr; };

◆ setElectron()

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

Definition at line 114 of file StEvtSolution.h.

References decay_, electron_, and mps_fire::i.

Referenced by StEvtSolutionMaker::produce().

114  {
116  decay_ = "electron";
117  };
edm::Ref< std::vector< pat::Electron > > electron_
std::string decay_

◆ setFitBottom()

void StEvtSolution::setFitBottom ( const pat::Particle part)
inlineprotected

Definition at line 125 of file StEvtSolution.h.

References fitBottom_.

Referenced by StKinFitter::addKinFitInfo().

125  {
126  fitBottom_.clear();
127  fitBottom_.push_back(part);
128  };
part
Definition: HCALResponse.h:20
std::vector< pat::Particle > fitBottom_

◆ setFitLepton()

void StEvtSolution::setFitLepton ( const pat::Particle part)
inlineprotected

Definition at line 133 of file StEvtSolution.h.

References fitLepton_.

Referenced by StKinFitter::addKinFitInfo().

133  {
134  fitLepton_.clear();
135  fitLepton_.push_back(part);
136  };
std::vector< pat::Particle > fitLepton_
part
Definition: HCALResponse.h:20

◆ setFitLight()

void StEvtSolution::setFitLight ( const pat::Particle part)
inlineprotected

Definition at line 129 of file StEvtSolution.h.

References fitLight_.

Referenced by StKinFitter::addKinFitInfo().

129  {
130  fitLight_.clear();
131  fitLight_.push_back(part);
132  };
std::vector< pat::Particle > fitLight_
part
Definition: HCALResponse.h:20

◆ setFitNeutrino()

void StEvtSolution::setFitNeutrino ( const pat::Particle part)
inlineprotected

Definition at line 137 of file StEvtSolution.h.

References fitNeutrino_.

Referenced by StKinFitter::addKinFitInfo().

137  {
138  fitNeutrino_.clear();
139  fitNeutrino_.push_back(part);
140  };
std::vector< pat::Particle > fitNeutrino_
part
Definition: HCALResponse.h:20

◆ setGenEvt()

void StEvtSolution::setGenEvt ( const edm::Handle< StGenEvent > &  aGenEvt)
protected

Definition at line 152 of file StEvtSolution.cc.

References theGenEvt_.

152  {
154 }
edm::RefProd< StGenEvent > theGenEvt_

◆ setJetCorrectionScheme()

void StEvtSolution::setJetCorrectionScheme ( int  scheme)
inlineprotected

Definition at line 103 of file StEvtSolution.h.

References jetCorrScheme_, and generator_cfi::scheme.

Referenced by StEvtSolutionMaker::produce().

◆ setLight()

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

Definition at line 107 of file StEvtSolution.h.

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

Referenced by StEvtSolutionMaker::produce().

107  {
109  };
edm::Ref< std::vector< pat::Jet > > light_

◆ setMuon()

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

Definition at line 110 of file StEvtSolution.h.

References decay_, mps_fire::i, HLT_2022v15_cff::muon, and muon_.

Referenced by StEvtSolutionMaker::produce().

110  {
112  decay_ = "muon";
113  };
edm::Ref< std::vector< pat::Muon > > muon_
std::string decay_

◆ setNeutrino()

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

Definition at line 118 of file StEvtSolution.h.

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

Referenced by StEvtSolutionMaker::produce().

118  {
120  };
edm::Ref< std::vector< pat::MET > > neutrino_

◆ setPtrueBhadrSel()

void StEvtSolution::setPtrueBhadrSel ( double  pbh)
inlineprotected

Definition at line 149 of file StEvtSolution.h.

References pTrueBhadrSel_.

149 { pTrueBhadrSel_ = pbh; };
double pTrueBhadrSel_

◆ setPtrueBJetSel()

void StEvtSolution::setPtrueBJetSel ( double  pbs)
inlineprotected

Definition at line 148 of file StEvtSolution.h.

References pTrueBJetSel_.

148 { pTrueBJetSel_ = pbs; };
double pTrueBJetSel_

◆ setPtrueCombExist()

void StEvtSolution::setPtrueCombExist ( double  pce)
inlineprotected

Definition at line 147 of file StEvtSolution.h.

References pTrueCombExist_.

147 { pTrueCombExist_ = pce; };
double pTrueCombExist_

◆ setPtrueJetComb()

void StEvtSolution::setPtrueJetComb ( double  pt)
inlineprotected

◆ setScanValues()

void StEvtSolution::setScanValues ( const std::vector< double > &  val)
protected

Definition at line 159 of file StEvtSolution.cc.

References mps_fire::i, scanValues_, and heppy_batch::val.

159  {
160  for (unsigned int i = 0; i < val.size(); i++)
161  scanValues_.push_back(val[i]);
162 }
std::vector< double > scanValues_

◆ setSignalLRTot()

void StEvtSolution::setSignalLRTot ( double  lrt)
inlineprotected

Definition at line 152 of file StEvtSolution.h.

References signalLRTot_.

152 { signalLRTot_ = lrt; };
double signalLRTot_

◆ setSignalPurity()

void StEvtSolution::setSignalPurity ( double  pur)
inlineprotected

Definition at line 151 of file StEvtSolution.h.

References signalPur_.

151 { signalPur_ = pur; };

◆ setSumDeltaRjp()

void StEvtSolution::setSumDeltaRjp ( double  sdr)
inlineprotected

Definition at line 153 of file StEvtSolution.h.

References sumDeltaRjp_.

153 { sumDeltaRjp_ = sdr; };
double sumDeltaRjp_

Friends And Related Function Documentation

◆ StEvtSolutionMaker

friend class StEvtSolutionMaker
friend

Definition at line 22 of file StEvtSolution.h.

◆ StKinFitter

friend class StKinFitter
friend

Definition at line 23 of file StEvtSolution.h.

Member Data Documentation

◆ bestSol_

bool StEvtSolution::bestSol_
private

Definition at line 181 of file StEvtSolution.h.

Referenced by getBestSol(), and StEvtSolution().

◆ bottom_

edm::Ref<std::vector<pat::Jet> > StEvtSolution::bottom_
private

Definition at line 164 of file StEvtSolution.h.

Referenced by getBottom(), and setBottom().

◆ changeBL_

int StEvtSolution::changeBL_
private

Definition at line 180 of file StEvtSolution.h.

Referenced by getChangeBL(), setChangeBL(), and StEvtSolution().

◆ chi2Prob_

double StEvtSolution::chi2Prob_
private

Definition at line 175 of file StEvtSolution.h.

Referenced by getChi2Prob(), setChi2Prob(), and StEvtSolution().

◆ decay_

std::string StEvtSolution::decay_
private

Definition at line 173 of file StEvtSolution.h.

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

◆ deltaRB_

double StEvtSolution::deltaRB_
private

Definition at line 179 of file StEvtSolution.h.

Referenced by getDeltaRB(), setDeltaRB(), and StEvtSolution().

◆ deltaRL_

double StEvtSolution::deltaRL_
private

Definition at line 179 of file StEvtSolution.h.

Referenced by getDeltaRL(), setDeltaRL(), and StEvtSolution().

◆ electron_

edm::Ref<std::vector<pat::Electron> > StEvtSolution::electron_
private

Definition at line 166 of file StEvtSolution.h.

Referenced by getElectron(), and setElectron().

◆ fitBottom_

std::vector<pat::Particle> StEvtSolution::fitBottom_
private

Definition at line 168 of file StEvtSolution.h.

Referenced by getFitBottom(), and setFitBottom().

◆ fitLepton_

std::vector<pat::Particle> StEvtSolution::fitLepton_
private

Definition at line 168 of file StEvtSolution.h.

Referenced by getFitLepton(), and setFitLepton().

◆ fitLight_

std::vector<pat::Particle> StEvtSolution::fitLight_
private

Definition at line 168 of file StEvtSolution.h.

Referenced by getFitLight(), and setFitLight().

◆ fitNeutrino_

std::vector<pat::Particle> StEvtSolution::fitNeutrino_
private

Definition at line 168 of file StEvtSolution.h.

Referenced by getFitNeutrino(), and setFitNeutrino().

◆ jetCorrScheme_

int StEvtSolution::jetCorrScheme_
private

Definition at line 174 of file StEvtSolution.h.

Referenced by getBottom(), getLight(), setJetCorrectionScheme(), and StEvtSolution().

◆ light_

edm::Ref<std::vector<pat::Jet> > StEvtSolution::light_
private

Definition at line 164 of file StEvtSolution.h.

Referenced by getLight(), and setLight().

◆ muon_

edm::Ref<std::vector<pat::Muon> > StEvtSolution::muon_
private

Definition at line 165 of file StEvtSolution.h.

Referenced by getMuon(), and setMuon().

◆ neutrino_

edm::Ref<std::vector<pat::MET> > StEvtSolution::neutrino_
private

Definition at line 167 of file StEvtSolution.h.

Referenced by getNeutrino(), and setNeutrino().

◆ pTrueBhadrSel_

double StEvtSolution::pTrueBhadrSel_
private

Definition at line 177 of file StEvtSolution.h.

Referenced by getPtrueBhadrSel(), setPtrueBhadrSel(), and StEvtSolution().

◆ pTrueBJetSel_

double StEvtSolution::pTrueBJetSel_
private

Definition at line 177 of file StEvtSolution.h.

Referenced by getPtrueBJetSel(), setPtrueBJetSel(), and StEvtSolution().

◆ pTrueCombExist_

double StEvtSolution::pTrueCombExist_
private

Definition at line 177 of file StEvtSolution.h.

Referenced by getPtrueCombExist(), setPtrueCombExist(), and StEvtSolution().

◆ pTrueJetComb_

double StEvtSolution::pTrueJetComb_
private

Definition at line 177 of file StEvtSolution.h.

Referenced by getPtrueJetComb(), setPtrueJetComb(), and StEvtSolution().

◆ scanValues_

std::vector<double> StEvtSolution::scanValues_
private

Definition at line 176 of file StEvtSolution.h.

Referenced by getScanValues(), and setScanValues().

◆ signalLRTot_

double StEvtSolution::signalLRTot_
private

Definition at line 178 of file StEvtSolution.h.

Referenced by getSignalLRTot(), setSignalLRTot(), and StEvtSolution().

◆ signalPur_

double StEvtSolution::signalPur_
private

Definition at line 178 of file StEvtSolution.h.

Referenced by getSignalPur(), setSignalPurity(), and StEvtSolution().

◆ sumDeltaRjp_

double StEvtSolution::sumDeltaRjp_
private

Definition at line 179 of file StEvtSolution.h.

Referenced by getSumDeltaRjp(), setSumDeltaRjp(), and StEvtSolution().

◆ theGenEvt_

edm::RefProd<StGenEvent> StEvtSolution::theGenEvt_
private