CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
CalculateHLT Class Reference

#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...
 

Detailed Description

Definition at line 72 of file TopHLTOfflineDQMHelper.h.

Constructor & Destructor Documentation

CalculateHLT::CalculateHLT ( int  maxNJets,
double  wMass 
)

default constructor

Definition at line 81 of file TopHLTOfflineDQMHelper.cc.

CalculateHLT::~CalculateHLT ( )
inline

default destructor

Definition at line 77 of file TopHLTOfflineDQMHelper.h.

Member Function Documentation

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.

double CalculateHLT::massTopQuark ( const std::vector< reco::Jet > &  jets)

calculate top quark mass estimate

Definition at line 95 of file TopHLTOfflineDQMHelper.cc.

double CalculateHLT::massWBoson ( const std::vector< reco::Jet > &  jets)

calculate W boson mass estimate

Definition at line 88 of file TopHLTOfflineDQMHelper.cc.

void CalculateHLT::operator() ( const std::vector< reco::Jet > &  jets)
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.

void CalculateHLT::operator() ( const reco::Jet bJet,
reco::RecoCandidate lepton,
const reco::MET met 
)
private

Definition at line 153 of file TopHLTOfflineDQMHelper.cc.

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.

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.

Member Data Documentation

bool CalculateHLT::failed_
private

indicate failed associations

Definition at line 105 of file TopHLTOfflineDQMHelper.h.

double CalculateHLT::massTopQuark_
private

cache of top quark mass estimate

Definition at line 113 of file TopHLTOfflineDQMHelper.h.

double CalculateHLT::massWBoson_
private

cache of w boson mass estimate

Definition at line 111 of file TopHLTOfflineDQMHelper.h.

int CalculateHLT::maxNJets_
private

max. number of jets to be considered

Definition at line 107 of file TopHLTOfflineDQMHelper.h.

double CalculateHLT::mlb_
private

cache of mlb estimate

Definition at line 119 of file TopHLTOfflineDQMHelper.h.

double CalculateHLT::tmassTopQuark_
private

cache of top quark transverse mass estimate

Definition at line 117 of file TopHLTOfflineDQMHelper.h.

double CalculateHLT::tmassWBoson_
private

cache of W boson transverse mass estimate

Definition at line 115 of file TopHLTOfflineDQMHelper.h.

double CalculateHLT::wMass_
private

paramater of the w boson mass

Definition at line 109 of file TopHLTOfflineDQMHelper.h.