#include <TopHLTOfflineDQMHelper.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 72 of file TopHLTOfflineDQMHelper.h.
CalculateHLT::CalculateHLT | ( | int | maxNJets, |
double | wMass | ||
) |
default constructor
Definition at line 81 of file TopHLTOfflineDQMHelper.cc.
|
inline |
double CalculateHLT::masslb | ( | reco::RecoCandidate * | mu, |
const reco::MET & | met, | ||
const reco::Jet & | b | ||
) |
calculate mlb estimate
Definition at line 140 of file TopHLTOfflineDQMHelper.cc.
References failed_, mlb_, and operator()().
Referenced by HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::fill().
double CalculateHLT::massTopQuark | ( | const std::vector< reco::Jet > & | jets | ) |
calculate top quark mass estimate
Definition at line 95 of file TopHLTOfflineDQMHelper.cc.
References failed_, massTopQuark_, and operator()().
Referenced by HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::fill().
double CalculateHLT::massWBoson | ( | const std::vector< reco::Jet > & | jets | ) |
calculate W boson mass estimate
Definition at line 88 of file TopHLTOfflineDQMHelper.cc.
References failed_, massWBoson_, and operator()().
Referenced by HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::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 168 of file TopHLTOfflineDQMHelper.cc.
References failed_, customizeTrackingMonitorSeedNumber::idx, ResonanceBuilder::mass, massTopQuark_, massWBoson_, maxNJets_, and wMass_.
Referenced by masslb(), massTopQuark(), massWBoson(), tmassTopQuark(), and tmassWBoson().
|
private |
Definition at line 153 of file TopHLTOfflineDQMHelper.cc.
References mlb_, reco::LeafCandidate::p4(), funct::pow(), 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 147 of file TopHLTOfflineDQMHelper.cc.
References failed_, operator()(), and tmassTopQuark_.
Referenced by HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::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 133 of file TopHLTOfflineDQMHelper.cc.
References failed_, operator()(), and tmassWBoson_.
Referenced by HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::fill().
|
private |
indicate failed associations
Definition at line 105 of file TopHLTOfflineDQMHelper.h.
Referenced by masslb(), massTopQuark(), massWBoson(), operator()(), tmassTopQuark(), and tmassWBoson().
|
private |
cache of top quark mass estimate
Definition at line 113 of file TopHLTOfflineDQMHelper.h.
Referenced by massTopQuark(), and operator()().
|
private |
cache of w boson mass estimate
Definition at line 111 of file TopHLTOfflineDQMHelper.h.
Referenced by massWBoson(), and operator()().
|
private |
max. number of jets to be considered
Definition at line 107 of file TopHLTOfflineDQMHelper.h.
Referenced by operator()().
|
private |
cache of mlb estimate
Definition at line 119 of file TopHLTOfflineDQMHelper.h.
Referenced by masslb(), and operator()().
|
private |
cache of top quark transverse mass estimate
Definition at line 117 of file TopHLTOfflineDQMHelper.h.
Referenced by operator()(), and tmassTopQuark().
|
private |
cache of W boson transverse mass estimate
Definition at line 115 of file TopHLTOfflineDQMHelper.h.
Referenced by operator()(), and tmassWBoson().
|
private |
paramater of the w boson mass
Definition at line 109 of file TopHLTOfflineDQMHelper.h.
Referenced by operator()().