CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
hitfit::Lepjets_Event Class Reference

Represent a simple event consisting of lepton(s) and jet(s). An instance of this class holds a list of leptons (as represented by the Lepjets_Event_Lep class) and jets (as represented by Lepjets_Event_Jet class). Also recorded are: More...

#include <Lepjets_Event.h>

Public Member Functions

void add_jet (const Lepjets_Event_Jet &jet)
 Add a new jet to the event. More...
 
void add_lep (const Lepjets_Event_Lep &lep)
 Add a new lepton to the event. More...
 
int cut_jets (double pt_cut, double eta_cut)
 Remove jets which fail transverse momentum $ p_{T} $ and pseudorapidity $ \eta $ cut. More...
 
int cut_leps (double pt_cut, double eta_cut)
 Remove leptons which fail transverse momentum $ p_{T} $ and pseudorapidity $ \eta $ cut. More...
 
double & dlb ()
 Return a reference to the value of low-bias (LB) discriminant (Irrelevant for non-D0 experiment). More...
 
double dlb () const
 Return the value of low-bias (LB) discriminant (Irrelevant for non-D0 experiment). More...
 
double & dnn ()
 Return a reference to the value of neural network (NN) discriminant (Irrelevant for non-D0 experiment). More...
 
double dnn () const
 Return a the value of neural network (NN) discriminant (Irrelevant for non-D0 experiment). More...
 
std::ostream & dump (std::ostream &s, bool full=false) const
 Print the content of this object. More...
 
int & evnum ()
 Return a reference to the event number. More...
 
const int & evnum () const
 Return a constant reference to the event number. More...
 
bool isMC () const
 Return the Monte Carlo flag. More...
 
Lepjets_Event_Jetjet (std::vector< Lepjets_Event_Jet >::size_type i)
 Return a reference to jet at index position i. More...
 
const Lepjets_Event_Jetjet (std::vector< Lepjets_Event_Jet >::size_type i) const
 Return a constant reference to jet at index position i. More...
 
std::string jet_permutation () const
 Return a string representing the jet permutation. The following notation is used for each type of jet: More...
 
std::vector< int > jet_types () const
 Return the jet types in the event. More...
 
Fourvec kt () const
 Return the sum of all objects' four-momentum and missing transverse energy. More...
 
Resolutionkt_res ()
 Return a reference to the $ k_{T} $ resolution. More...
 
const Resolutionkt_res () const
 Return a const reference to the $ k_{T} $ resolution. More...
 
Lepjets_Event_Leplep (std::vector< Lepjets_Event_Lep >::size_type i)
 Return a reference to lepton at index position i. More...
 
const Lepjets_Event_Leplep (std::vector< Lepjets_Event_Lep >::size_type i) const
 Return a constant reference to lepton at index position i. More...
 
 Lepjets_Event (int runnum, int evnum)
 Constructor. More...
 
Fourvecmet ()
 Return a reference to the missing transverse energy. More...
 
const Fourvecmet () const
 Return a constant reference to the missing transverse energy. More...
 
std::vector< Lepjets_Event_Jet >::size_type njets () const
 Return the number of jets in the event. More...
 
std::vector< Lepjets_Event_Lep >::size_type nleps () const
 Return the number of leptons in the event. More...
 
int & runnum ()
 Return a reference to the run number. More...
 
const int & runnum () const
 Return a constant reference to the run number. More...
 
bool set_jet_types (const std::vector< int > &)
 Set the jet types in the event. More...
 
void setMC (bool isMC)
 Set the Monte Carlo flag. More...
 
void smear (CLHEP::HepRandomEngine &engine, bool smear_dir=false)
 Smear the objects in the event according to their resolutions. More...
 
void sort ()
 Sort objects in the event according to their transverse momentum $ p_{T} $ . More...
 
Fourvec sum (int type) const
 Return the sum of all objects' four-momentum which have a particular type. More...
 
void trimjets (std::vector< Lepjets_Event_Jet >::size_type n)
 Remove all but the first n jets. More...
 
double & zvertex ()
 Return a reference to the value of z-vertex. More...
 
double zvertex () const
 Return the value of z-vertex. More...
 

Private Attributes

double _dlb
 
double _dnn
 
int _evnum
 
bool _isMC
 
std::vector< Lepjets_Event_Jet_jets
 
Resolution _kt_res
 
std::vector< Lepjets_Event_Lep_leps
 
Fourvec _met
 
int _runnum
 
double _zvertex
 

Detailed Description

Represent a simple event consisting of lepton(s) and jet(s). An instance of this class holds a list of leptons (as represented by the Lepjets_Event_Lep class) and jets (as represented by Lepjets_Event_Jet class). Also recorded are:

Definition at line 62 of file Lepjets_Event.h.

Constructor & Destructor Documentation

◆ Lepjets_Event()

hitfit::Lepjets_Event::Lepjets_Event ( int  runnum,
int  evnum 
)

Constructor.

Parameters
runnumThe run number.
evnumThe event number.

Definition at line 46 of file Lepjets_Event.cc.

54  : _zvertex(0), _isMC(false), _runnum(runnum), _evnum(evnum), _dlb(-1), _dnn(-1) {}

Member Function Documentation

◆ add_jet()

void hitfit::Lepjets_Event::add_jet ( const Lepjets_Event_Jet jet)

Add a new jet to the event.

Parameters
jetThe jet to be added.

Definition at line 361 of file Lepjets_Event.cc.

368  {
369  _jets.push_back(jet);
370  }

References _jets, and jet().

Referenced by hitfit::RunHitFit< AElectron, AMuon, AJet, AMet >::FitAllPermutation().

◆ add_lep()

void hitfit::Lepjets_Event::add_lep ( const Lepjets_Event_Lep lep)

Add a new lepton to the event.

Parameters
lepThe lepton to be added.

Definition at line 350 of file Lepjets_Event.cc.

357  {
358  _leps.push_back(lep);
359  }

References _leps, and lep().

Referenced by hitfit::RunHitFit< AElectron, AMuon, AJet, AMet >::AddLepton().

◆ cut_jets()

int hitfit::Lepjets_Event::cut_jets ( double  pt_cut,
double  eta_cut 
)

Remove jets which fail transverse momentum $ p_{T} $ and pseudorapidity $ \eta $ cut.

Parameters
pt_cutRemove jets which have transverse momentum $ p_{T} $ less than this value, in GeV.
eta_cutRemove jetss which have absolute pseudorapidity $ |\eta| $ more than this value.

Definition at line 481 of file Lepjets_Event.cc.

492  {
493  _jets.erase(remove_if(_jets.begin(), _jets.end(), Lepjets_Event_Cutter(pt_cut, eta_cut)), _jets.end());
494  return _jets.size();
495  }

References _jets.

◆ cut_leps()

int hitfit::Lepjets_Event::cut_leps ( double  pt_cut,
double  eta_cut 
)

Remove leptons which fail transverse momentum $ p_{T} $ and pseudorapidity $ \eta $ cut.

Parameters
pt_cutRemove leptons which have transverse momentum $ p_{T} $ less than this value, in GeV.
eta_cutRemove leptons which have absolute pseudorapidity $ |\eta| $ more than this value.

Definition at line 465 of file Lepjets_Event.cc.

476  {
477  _leps.erase(remove_if(_leps.begin(), _leps.end(), Lepjets_Event_Cutter(pt_cut, eta_cut)), _leps.end());
478  return _leps.size();
479  }

References _leps.

◆ dlb() [1/2]

double & hitfit::Lepjets_Event::dlb ( )

Return a reference to the value of low-bias (LB) discriminant (Irrelevant for non-D0 experiment).

Definition at line 281 of file Lepjets_Event.cc.

288  {
289  return _dlb;
290  }

References _dlb.

◆ dlb() [2/2]

double hitfit::Lepjets_Event::dlb ( ) const

Return the value of low-bias (LB) discriminant (Irrelevant for non-D0 experiment).

Definition at line 270 of file Lepjets_Event.cc.

277  {
278  return _dlb;
279  }

References _dlb.

◆ dnn() [1/2]

double & hitfit::Lepjets_Event::dnn ( )

Return a reference to the value of neural network (NN) discriminant (Irrelevant for non-D0 experiment).

Definition at line 303 of file Lepjets_Event.cc.

310  {
311  return _dnn;
312  }

References _dnn.

◆ dnn() [2/2]

double hitfit::Lepjets_Event::dnn ( ) const

Return a the value of neural network (NN) discriminant (Irrelevant for non-D0 experiment).

Definition at line 292 of file Lepjets_Event.cc.

299  {
300  return _dnn;
301  }

References _dnn.

◆ dump()

std::ostream & hitfit::Lepjets_Event::dump ( std::ostream &  s,
bool  full = false 
) const

Print the content of this object.

Parameters
sThe output stream to which to write
fullIf TRUE, print all information about this instance of Lepjets_Event.
If FALSE, print partial information about this instance of Lepjets_Event.

Definition at line 510 of file Lepjets_Event.cc.

521  {
522  s << "Run: " << _runnum << " Event: " << _evnum << "\n";
523  s << "Leptons:\n";
524  for (std::vector<Lepjets_Event_Lep>::size_type i = 0; i < _leps.size(); i++) {
525  s << " ";
526  _leps[i].dump(s, full);
527  s << "\n";
528  }
529  s << "Jets:\n";
530  for (std::vector<Lepjets_Event_Jet>::size_type i = 0; i < _jets.size(); i++) {
531  s << " ";
532  _jets[i].dump(s, full);
533  s << "\n";
534  }
535  s << "Missing Et: " << _met << "\n";
536  if (_zvertex != 0)
537  s << "z-vertex: " << _zvertex << "\n";
538  return s;
539  }

References full, mps_fire::i, and alignCSCRings::s.

◆ evnum() [1/2]

int & hitfit::Lepjets_Event::evnum ( )

Return a reference to the event number.

Definition at line 89 of file Lepjets_Event.cc.

96  {
97  return _evnum;
98  }

References _evnum.

◆ evnum() [2/2]

const int & hitfit::Lepjets_Event::evnum ( ) const

Return a constant reference to the event number.

Definition at line 78 of file Lepjets_Event.cc.

85  {
86  return _evnum;
87  }

References _evnum.

◆ isMC()

bool hitfit::Lepjets_Event::isMC ( ) const

Return the Monte Carlo flag.

Definition at line 248 of file Lepjets_Event.cc.

255  {
256  return _isMC;
257  }

References _isMC.

Referenced by setMC().

◆ jet() [1/2]

Lepjets_Event_Jet & hitfit::Lepjets_Event::jet ( std::vector< Lepjets_Event_Jet >::size_type  i)

Return a reference to jet at index position i.

Parameters
iThe jet index position.

Definition at line 137 of file Lepjets_Event.cc.

147  {
148  assert(i < _jets.size());
149  return _jets[i];
150  }

References _jets, cms::cuda::assert(), and mps_fire::i.

Referenced by add_jet(), jet_permutation(), jet_types(), TtSemiLepHitFitProducer< LeptonCollection >::produce(), and set_jet_types().

◆ jet() [2/2]

const Lepjets_Event_Jet & hitfit::Lepjets_Event::jet ( std::vector< Lepjets_Event_Jet >::size_type  i) const

Return a constant reference to jet at index position i.

Parameters
iThe jet index position.

Definition at line 167 of file Lepjets_Event.cc.

177  {
178  assert(i < _jets.size());
179  return _jets[i];
180  }

References cms::cuda::assert(), and mps_fire::i.

◆ jet_permutation()

std::string hitfit::Lepjets_Event::jet_permutation ( ) const

Return a string representing the jet permutation. The following notation is used for each type of jet:

  • g ISR/gluon.
  • b leptonic $ b- $ quark.
  • B hadronic $ b- $ quark.
  • w hadronic jet from $ W- $ boson.
  • H $ b- $ jet from Higgs boson.
  • ? Unknown.

Definition at line 541 of file Lepjets_Event.cc.

550  {
551  std::string permutation;
552  for (size_t jet = 0; jet != _jets.size(); ++jet) {
553  permutation = permutation + hitfit::jetTypeString(_jets[jet].type());
554  }
555  return permutation;
556  }

References _jets, jet(), hitfit::jetTypeString(), and AlCaHLTBitMon_QueryRunRegistry::string.

◆ jet_types()

std::vector< int > hitfit::Lepjets_Event::jet_types ( ) const

Return the jet types in the event.

Definition at line 408 of file Lepjets_Event.cc.

412  {
413  std::vector<int> ret;
414  for (std::vector<Lepjets_Event_Jet>::size_type ijet = 0; ijet != _jets.size(); ijet++) {
415  ret.push_back(jet(ijet).type());
416  }
417  return ret;
418  }

References _jets, jet(), and runTheMatrix::ret.

Referenced by hitfit::Fit_Result::jet_types().

◆ kt()

Fourvec hitfit::Lepjets_Event::kt ( ) const

Return the sum of all objects' four-momentum and missing transverse energy.

Definition at line 335 of file Lepjets_Event.cc.

341  {
342  Fourvec v = _met;
343  for (std::vector<Lepjets_Event_Lep>::size_type i = 0; i < _leps.size(); i++)
344  v += _leps[i].p();
345  for (std::vector<Lepjets_Event_Jet>::size_type i = 0; i < _jets.size(); i++)
346  v += _jets[i].p();
347  return v;
348  }

References _jets, _leps, _met, mps_fire::i, AlCaHLTBitMon_ParallelJobs::p, and findQualityFiles::v.

Referenced by smear().

◆ kt_res() [1/2]

Resolution & hitfit::Lepjets_Event::kt_res ( )

Return a reference to the $ k_{T} $ resolution.

Definition at line 204 of file Lepjets_Event.cc.

211  {
212  return _kt_res;
213  }

References _kt_res.

Referenced by hitfit::RunHitFit< AElectron, AMuon, AJet, AMet >::SetKtResolution(), and hitfit::RunHitFit< AElectron, AMuon, AJet, AMet >::SetMet().

◆ kt_res() [2/2]

const Resolution & hitfit::Lepjets_Event::kt_res ( ) const

Return a const reference to the $ k_{T} $ resolution.

Definition at line 215 of file Lepjets_Event.cc.

222  {
223  return _kt_res;
224  }

References _kt_res.

◆ lep() [1/2]

Lepjets_Event_Lep & hitfit::Lepjets_Event::lep ( std::vector< Lepjets_Event_Lep >::size_type  i)

Return a reference to lepton at index position i.

Parameters
iThe lepton index position.

Definition at line 122 of file Lepjets_Event.cc.

132  {
133  assert(i < _leps.size());
134  return _leps[i];
135  }

References _leps, cms::cuda::assert(), and mps_fire::i.

Referenced by add_lep(), and TtSemiLepHitFitProducer< LeptonCollection >::produce().

◆ lep() [2/2]

const Lepjets_Event_Lep & hitfit::Lepjets_Event::lep ( std::vector< Lepjets_Event_Lep >::size_type  i) const

Return a constant reference to lepton at index position i.

Parameters
iThe lepton index position.

Definition at line 152 of file Lepjets_Event.cc.

162  {
163  assert(i < _leps.size());
164  return _leps[i];
165  }

References cms::cuda::assert(), and mps_fire::i.

◆ met() [1/2]

Fourvec & hitfit::Lepjets_Event::met ( )

Return a reference to the missing transverse energy.

Definition at line 182 of file Lepjets_Event.cc.

189  {
190  return _met;
191  }

References _met.

Referenced by objects.METAnalyzer.METAnalyzer::applyDeltaMet(), TtSemiLepHitFitProducer< LeptonCollection >::produce(), and hitfit::RunHitFit< AElectron, AMuon, AJet, AMet >::SetMet().

◆ met() [2/2]

const Fourvec & hitfit::Lepjets_Event::met ( ) const

Return a constant reference to the missing transverse energy.

Definition at line 193 of file Lepjets_Event.cc.

200  {
201  return _met;
202  }

References _met.

Referenced by objects.METAnalyzer.METAnalyzer::applyDeltaMet().

◆ njets()

std::vector< Lepjets_Event_Jet >::size_type hitfit::Lepjets_Event::njets ( ) const

Return the number of jets in the event.

Definition at line 111 of file Lepjets_Event.cc.

118  {
119  return _jets.size();
120  }

References _jets.

Referenced by set_jet_types().

◆ nleps()

std::vector< Lepjets_Event_Lep >::size_type hitfit::Lepjets_Event::nleps ( ) const

Return the number of leptons in the event.

Definition at line 100 of file Lepjets_Event.cc.

107  {
108  return _leps.size();
109  }

References _leps.

◆ runnum() [1/2]

int & hitfit::Lepjets_Event::runnum ( )

Return a reference to the run number.

Definition at line 67 of file Lepjets_Event.cc.

74  {
75  return _runnum;
76  }

References _runnum.

◆ runnum() [2/2]

const int & hitfit::Lepjets_Event::runnum ( ) const

Return a constant reference to the run number.

Definition at line 56 of file Lepjets_Event.cc.

63  {
64  return _runnum;
65  }

References _runnum.

◆ set_jet_types()

bool hitfit::Lepjets_Event::set_jet_types ( const std::vector< int > &  _jet_types)

Set the jet types in the event.

Definition at line 420 of file Lepjets_Event.cc.

425  {
426  if (_jets.size() != _jet_types.size()) {
427  return false;
428  }
429  bool saw_hadw1 = false;
431  int t = _jet_types[i];
432  if (t == hadw1_label) {
433  if (saw_hadw1)
434  t = hadw2_label;
435  saw_hadw1 = true;
436  }
437  jet(i).type() = t;
438  }
439  return true;
440  }

References _jets, hitfit::hadw1_label, hitfit::hadw2_label, mps_fire::i, jet(), njets(), submitPVValidationJobs::t, and hitfit::Lepjets_Event_Lep::type().

Referenced by hitfit::RunHitFit< AElectron, AMuon, AJet, AMet >::FitAllPermutation().

◆ setMC()

void hitfit::Lepjets_Event::setMC ( bool  isMC)

Set the Monte Carlo flag.

Definition at line 259 of file Lepjets_Event.cc.

266  {
267  _isMC = isMC;
268  }

References _isMC, and isMC().

◆ smear()

void hitfit::Lepjets_Event::smear ( CLHEP::HepRandomEngine &  engine,
bool  smear_dir = false 
)

Smear the objects in the event according to their resolutions.

Parameters
engineThe underlying random number generator.
smear_dirIf TRUE, also smear the object's direction.
If FALSE, then only smear the magnitude of three-momentum.

Definition at line 372 of file Lepjets_Event.cc.

380  {
381  Fourvec before, after;
382  for (std::vector<Lepjets_Event_Lep>::size_type i = 0; i < _leps.size(); i++) {
383  before += _leps[i].p();
384  _leps[i].smear(engine, smear_dir);
385  after += _leps[i].p();
386  }
387  for (std::vector<Lepjets_Event_Jet>::size_type i = 0; i < _jets.size(); i++) {
388  before += _jets[i].p();
389  _jets[i].smear(engine, smear_dir);
390  after += _jets[i].p();
391  }
392 
393  Fourvec kt = _met + before;
396  _met = kt - after;
397  }

References _jets, _kt_res, _leps, _met, mps_fire::i, kt(), hitfit::Resolution::pick(), X, and BeamSpotPI::Y.

◆ sort()

void hitfit::Lepjets_Event::sort ( )

Sort objects in the event according to their transverse momentum $ p_{T} $ .

Definition at line 399 of file Lepjets_Event.cc.

403  {
404  std::stable_sort(_leps.begin(), _leps.end(), std::not_fn(std::less<Lepjets_Event_Lep>()));
405  std::stable_sort(_jets.begin(), _jets.end(), std::not_fn(std::less<Lepjets_Event_Lep>()));
406  }

References _jets, and _leps.

◆ sum()

Fourvec hitfit::Lepjets_Event::sum ( int  type) const

Return the sum of all objects' four-momentum which have a particular type.

Parameters
typeThe type code of the objects to be summed up.

Definition at line 314 of file Lepjets_Event.cc.

324  {
325  Fourvec out;
326  for (std::vector<Lepjets_Event_Lep>::size_type i = 0; i < _leps.size(); i++)
327  if (_leps[i].type() == type)
328  out += _leps[i].p();
329  for (std::vector<Lepjets_Event_Jet>::size_type i = 0; i < _jets.size(); i++)
330  if (_jets[i].type() == type)
331  out += _jets[i].p();
332  return out;
333  }

References mps_fire::i, MillePedeFileConverter_cfg::out, and AlCaHLTBitMon_ParallelJobs::p.

◆ trimjets()

void hitfit::Lepjets_Event::trimjets ( std::vector< Lepjets_Event_Jet >::size_type  n)

Remove all but the first n jets.

Parameters
nThe number of jets to keep.

Definition at line 497 of file Lepjets_Event.cc.

504  {
505  if (n >= _jets.size())
506  return;
507  _jets.erase(_jets.begin() + n, _jets.end());
508  }

References _jets, and dqmiodumpmetadata::n.

◆ zvertex() [1/2]

double & hitfit::Lepjets_Event::zvertex ( )

Return a reference to the value of z-vertex.

Definition at line 237 of file Lepjets_Event.cc.

244  {
245  return _zvertex;
246  }

References _zvertex.

◆ zvertex() [2/2]

double hitfit::Lepjets_Event::zvertex ( ) const

Return the value of z-vertex.

Definition at line 226 of file Lepjets_Event.cc.

233  {
234  return _zvertex;
235  }

References _zvertex.

Member Data Documentation

◆ _dlb

double hitfit::Lepjets_Event::_dlb
private

The low-bias (LB) discriminant.

Definition at line 378 of file Lepjets_Event.h.

Referenced by dlb().

◆ _dnn

double hitfit::Lepjets_Event::_dnn
private

The neural network (NN) discriminant.

Definition at line 383 of file Lepjets_Event.h.

Referenced by dnn().

◆ _evnum

int hitfit::Lepjets_Event::_evnum
private

The event number.

Definition at line 373 of file Lepjets_Event.h.

Referenced by evnum().

◆ _isMC

bool hitfit::Lepjets_Event::_isMC
private

The Monte Calro flag.

Definition at line 363 of file Lepjets_Event.h.

Referenced by isMC(), and setMC().

◆ _jets

std::vector<Lepjets_Event_Jet> hitfit::Lepjets_Event::_jets
private

The list of jets in the event.

Definition at line 342 of file Lepjets_Event.h.

Referenced by add_jet(), cut_jets(), jet(), jet_permutation(), jet_types(), kt(), njets(), set_jet_types(), smear(), sort(), and trimjets().

◆ _kt_res

Resolution hitfit::Lepjets_Event::_kt_res
private

The $ k_{T} $ resolution.

Definition at line 353 of file Lepjets_Event.h.

Referenced by kt_res(), and smear().

◆ _leps

std::vector<Lepjets_Event_Lep> hitfit::Lepjets_Event::_leps
private

The list of leptons in the event.

Definition at line 337 of file Lepjets_Event.h.

Referenced by add_lep(), cut_leps(), kt(), lep(), nleps(), smear(), and sort().

◆ _met

Fourvec hitfit::Lepjets_Event::_met
private

Missing transverse energy.

Definition at line 348 of file Lepjets_Event.h.

Referenced by kt(), met(), and smear().

◆ _runnum

int hitfit::Lepjets_Event::_runnum
private

The run number.

Definition at line 368 of file Lepjets_Event.h.

Referenced by runnum().

◆ _zvertex

double hitfit::Lepjets_Event::_zvertex
private

The $ z- $ vertex of the event.

Definition at line 358 of file Lepjets_Event.h.

Referenced by zvertex().

runTheMatrix.ret
ret
prodAgent to be discontinued
Definition: runTheMatrix.py:373
mps_fire.i
i
Definition: mps_fire.py:428
hitfit::Fourvec
CLHEP::HepLorentzVector Fourvec
Typedef for a HepLorentzVector.
Definition: fourvec.h:55
hitfit::Lepjets_Event::_evnum
int _evnum
Definition: Lepjets_Event.h:373
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
hitfit::Lepjets_Event::runnum
const int & runnum() const
Return a constant reference to the run number.
Definition: Lepjets_Event.cc:56
hitfit::Lepjets_Event::_dnn
double _dnn
Definition: Lepjets_Event.h:383
X
#define X(str)
Definition: MuonsGrabber.cc:38
hitfit::Lepjets_Event::lep
Lepjets_Event_Lep & lep(std::vector< Lepjets_Event_Lep >::size_type i)
Return a reference to lepton at index position i.
Definition: Lepjets_Event.cc:122
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
cms::cuda::assert
assert(be >=bs)
full
Definition: GenABIO.cc:168
hitfit::Lepjets_Event::evnum
const int & evnum() const
Return a constant reference to the event number.
Definition: Lepjets_Event.cc:78
findQualityFiles.v
v
Definition: findQualityFiles.py:179
hitfit::Lepjets_Event::_dlb
double _dlb
Definition: Lepjets_Event.h:378
hitfit::Lepjets_Event::_leps
std::vector< Lepjets_Event_Lep > _leps
Definition: Lepjets_Event.h:337
hitfit::hadw1_label
Definition: Lepjets_Event_Jet.h:58
hitfit::Lepjets_Event::_zvertex
double _zvertex
Definition: Lepjets_Event.h:358
alignCSCRings.s
s
Definition: alignCSCRings.py:92
trigger::size_type
uint16_t size_type
Definition: TriggerTypeDefs.h:18
hitfit::Lepjets_Event::njets
std::vector< Lepjets_Event_Jet >::size_type njets() const
Return the number of jets in the event.
Definition: Lepjets_Event.cc:111
hitfit::hadw2_label
Definition: Lepjets_Event_Jet.h:59
hitfit::Lepjets_Event::isMC
bool isMC() const
Return the Monte Carlo flag.
Definition: Lepjets_Event.cc:248
hitfit::Lepjets_Event::_met
Fourvec _met
Definition: Lepjets_Event.h:348
hitfit::Lepjets_Event::_kt_res
Resolution _kt_res
Definition: Lepjets_Event.h:353
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
hitfit::Lepjets_Event::_jets
std::vector< Lepjets_Event_Jet > _jets
Definition: Lepjets_Event.h:342
gainCalibHelper::gainCalibPI::type
type
Definition: SiPixelGainCalibHelper.h:39
hitfit::jetTypeString
std::string jetTypeString(int type)
Helper function: Translate jet type code from integer to char. The following notation is used for eac...
Definition: Lepjets_Event_Jet.cc:257
hitfit::Lepjets_Event_Lep::type
int & type()
Return a reference to the type code.
Definition: Lepjets_Event_Lep.cc:71
hitfit::Lepjets_Event::jet
Lepjets_Event_Jet & jet(std::vector< Lepjets_Event_Jet >::size_type i)
Return a reference to jet at index position i.
Definition: Lepjets_Event.cc:137
hitfit::Lepjets_Event::_isMC
bool _isMC
Definition: Lepjets_Event.h:363
hitfit::Resolution::pick
double pick(double x, double p, CLHEP::HepRandomEngine &engine) const
Generate random value from a Gaussian distribution described by this resolution. Given a value ,...
Definition: Resolution.cc:181
BeamSpotPI::Y
Definition: BeamSpotPayloadInspectorHelper.h:31
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
hitfit::Lepjets_Event::kt
Fourvec kt() const
Return the sum of all objects' four-momentum and missing transverse energy.
Definition: Lepjets_Event.cc:335
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644
hitfit::Lepjets_Event::_runnum
int _runnum
Definition: Lepjets_Event.h:368