#include <TopHLTDQMHelper.h>
Public Member Functions | |
CalculateHLT (int maxNJets, double wMass) | |
default constructor More... | |
double | masslb (reco::RecoCandidate *mu, const reco::MET &met, const reco::Jet &b) |
calculate mlb estimate More... | |
double | massTopQuark (const std::vector< reco::Jet > &jets) |
calculate top quark mass estimate More... | |
double | massWBoson (const std::vector< reco::Jet > &jets) |
calculate W boson mass estimate More... | |
double | tmassTopQuark (reco::RecoCandidate *mu, const reco::MET &met, const reco::Jet &b) |
calculate top quark transverse mass estimate More... | |
double | tmassWBoson (reco::RecoCandidate *mu, const reco::MET &met, const reco::Jet &b) |
calculate W boson transverse mass estimate More... | |
~CalculateHLT () | |
default destructor More... | |
Private Member Functions | |
void | operator() (const std::vector< reco::Jet > &jets) |
void | operator() (const reco::Jet &bJet, reco::RecoCandidate *lepton, const reco::MET &met) |
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 | mlb_ |
cache of mlb estimate More... | |
double | tmassTopQuark_ |
cache of top quark transverse mass estimate More... | |
double | tmassWBoson_ |
cache of W boson transverse mass estimate More... | |
double | wMass_ |
paramater of the w boson mass More... | |
Definition at line 67 of file TopHLTDQMHelper.h.
CalculateHLT::CalculateHLT | ( | int | maxNJets, |
double | wMass | ||
) |
default constructor
Definition at line 7 of file TopHLTDQMHelper.cc.
|
inline |
double CalculateHLT::masslb | ( | reco::RecoCandidate * | mu, |
const reco::MET & | met, | ||
const reco::Jet & | b | ||
) |
calculate mlb estimate
Definition at line 66 of file TopHLTDQMHelper.cc.
References failed_, mlb_, and operator()().
Referenced by TopHLTSingleLepton::MonitorEnsemble::fill().
double CalculateHLT::massTopQuark | ( | const std::vector< reco::Jet > & | jets | ) |
calculate top quark mass estimate
Definition at line 21 of file TopHLTDQMHelper.cc.
References failed_, massTopQuark_, and operator()().
Referenced by TopHLTSingleLepton::MonitorEnsemble::fill().
double CalculateHLT::massWBoson | ( | const std::vector< reco::Jet > & | jets | ) |
calculate W boson mass estimate
Definition at line 14 of file TopHLTDQMHelper.cc.
References failed_, massWBoson_, and operator()().
Referenced by TopHLTSingleLepton::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 94 of file TopHLTDQMHelper.cc.
References failed_, scaleCards::mass, massTopQuark_, massWBoson_, maxNJets_, and wMass_.
Referenced by masslb(), massTopQuark(), massWBoson(), tmassTopQuark(), and tmassWBoson().
|
private |
Definition at line 79 of file TopHLTDQMHelper.cc.
References gather_cfg::cout, mlb_, reco::LeafCandidate::p4(), funct::pow(), reco::LeafCandidate::pt(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), mathSSE::sqrt(), tmassTopQuark_, and tmassWBoson_.
double CalculateHLT::tmassTopQuark | ( | reco::RecoCandidate * | mu, |
const reco::MET & | met, | ||
const reco::Jet & | b | ||
) |
calculate top quark transverse mass estimate
Definition at line 73 of file TopHLTDQMHelper.cc.
References failed_, operator()(), and tmassTopQuark_.
Referenced by TopHLTSingleLepton::MonitorEnsemble::fill().
double CalculateHLT::tmassWBoson | ( | reco::RecoCandidate * | mu, |
const reco::MET & | met, | ||
const reco::Jet & | b | ||
) |
calculate W boson transverse mass estimate
calculate W boson transverse mass estimate
Definition at line 59 of file TopHLTDQMHelper.cc.
References failed_, operator()(), and tmassWBoson_.
Referenced by TopHLTSingleLepton::MonitorEnsemble::fill().
|
private |
indicate failed associations
Definition at line 100 of file TopHLTDQMHelper.h.
Referenced by masslb(), massTopQuark(), massWBoson(), operator()(), tmassTopQuark(), and tmassWBoson().
|
private |
cache of top quark mass estimate
Definition at line 108 of file TopHLTDQMHelper.h.
Referenced by massTopQuark(), and operator()().
|
private |
cache of w boson mass estimate
Definition at line 106 of file TopHLTDQMHelper.h.
Referenced by massWBoson(), and operator()().
|
private |
max. number of jets to be considered
Definition at line 102 of file TopHLTDQMHelper.h.
Referenced by operator()().
|
private |
cache of mlb estimate
Definition at line 114 of file TopHLTDQMHelper.h.
Referenced by masslb(), and operator()().
|
private |
cache of top quark transverse mass estimate
Definition at line 112 of file TopHLTDQMHelper.h.
Referenced by operator()(), and tmassTopQuark().
|
private |
cache of W boson transverse mass estimate
Definition at line 110 of file TopHLTDQMHelper.h.
Referenced by operator()(), and tmassWBoson().
|
private |
paramater of the w boson mass
Definition at line 104 of file TopHLTDQMHelper.h.
Referenced by operator()().