Helper class for the calculation of a top and a W boson mass estime. More...
#include "DQM/Physics/interface/TopDQMHelpers.h"
Public Member Functions | |
Calculate (int maxNJets, double wMass) | |
default constructor More... | |
double | massTopQuark (const std::vector< reco::Jet > &jets) |
calculate W boson mass estimate More... | |
double | massWBoson (const std::vector< reco::Jet > &jets) |
calculate W boson mass estimate More... | |
~Calculate () | |
default destructor More... | |
Private Member Functions | |
void | operator() (const std::vector< reco::Jet > &jets) |
Private Attributes | |
bool | failed_ |
indicate failed associations More... | |
double | massTopQuark_ |
cache of top quark mass estimate More... | |
double | massWBoson_ |
cache of w boson mass estimate More... | |
int | maxNJets_ |
max. number of jets to be considered More... | |
double | wMass_ |
paramater of the w boson mass More... | |
Helper class for the calculation of a top and a W boson mass estime.
Helper class for the calculation of a top and a W boson mass estimate. The core implementation originates from the plugin TtSemiLepHypMaxSumPtWMass in TopQuarkAnalysis/TopJetCombination package. It may be extended to include b tag information.
Definition at line 65 of file TopDQMHelpers.h.
Calculate::Calculate | ( | int | maxNJets, |
double | wMass | ||
) |
default constructor
Definition at line 3 of file TopDQMHelpers.cc.
|
inline |
double Calculate::massTopQuark | ( | const std::vector< reco::Jet > & | jets | ) |
calculate W boson mass estimate
Definition at line 15 of file TopDQMHelpers.cc.
References failed_, massTopQuark_, and operator()().
Referenced by TopSingleLepton::MonitorEnsemble::fill().
double Calculate::massWBoson | ( | const std::vector< reco::Jet > & | jets | ) |
calculate W boson mass estimate
Definition at line 9 of file TopDQMHelpers.cc.
References failed_, massWBoson_, and operator()().
Referenced by TopSingleLepton::MonitorEnsemble::fill().
|
private |
do the calculation; this is called only once per event by the first function call to return a mass estimate. The once calculated values are cached afterwards
Definition at line 21 of file TopDQMHelpers.cc.
References failed_, scaleCards::mass, massTopQuark_, massWBoson_, maxNJets_, and wMass_.
Referenced by massTopQuark(), and massWBoson().
|
private |
indicate failed associations
Definition at line 85 of file TopDQMHelpers.h.
Referenced by massTopQuark(), massWBoson(), and operator()().
|
private |
cache of top quark mass estimate
Definition at line 93 of file TopDQMHelpers.h.
Referenced by massTopQuark(), and operator()().
|
private |
cache of w boson mass estimate
Definition at line 91 of file TopDQMHelpers.h.
Referenced by massWBoson(), and operator()().
|
private |
max. number of jets to be considered
Definition at line 87 of file TopDQMHelpers.h.
Referenced by operator()().
|
private |
paramater of the w boson mass
Definition at line 89 of file TopDQMHelpers.h.
Referenced by operator()().