#include <MHT.h>
Public Member Functions | |
double | error () const |
double | getNumberOfElectrons () const |
double | getNumberOfJets () const |
double | getNumberOfMuons () const |
double | ht () const |
double | mht () const |
MHT (const Candidate::LorentzVector &p4, double ht, double signif) | |
MHT () | |
double | phi () const |
momentum azimuthal angle | |
void | setNumberOfElectrons (const double &numberOfElectrons) |
void | setNumberOfJets (const double &numberOfJets) |
void | setNumberOfMuons (const double &numberOfMuons) |
double | significance () const |
virtual | ~MHT () |
Private Attributes | |
double | ht_ |
double | number_of_electrons_ |
double | number_of_jets_ |
double | number_of_muons_ |
double | significance_ |
pat::MHT::MHT | ( | const Candidate::LorentzVector & | p4, |
double | ht, | ||
double | signif | ||
) | [inline] |
Definition at line 13 of file MHT.h.
: CompositeRefBaseCandidate(0,p4), ht_(ht), significance_(signif) {}
double pat::MHT::error | ( | ) | const [inline] |
Definition at line 21 of file MHT.h.
References mht(), and significance().
{return 0.5*significance()*mht()*mht();};
double pat::MHT::getNumberOfElectrons | ( | ) | const |
Definition at line 32 of file MHT.cc.
{ return number_of_electrons_; }
double pat::MHT::getNumberOfJets | ( | ) | const |
Definition at line 22 of file MHT.cc.
{ return number_of_jets_; }
double pat::MHT::getNumberOfMuons | ( | ) | const |
Definition at line 10 of file MHT.cc.
{ return number_of_muons_; }
double pat::MHT::ht | ( | ) | const [inline] |
double pat::MHT::mht | ( | ) | const [inline] |
Definition at line 17 of file MHT.h.
References reco::LeafCandidate::pt().
Referenced by error().
{return pt();};
double pat::MHT::phi | ( | ) | const [inline, virtual] |
void pat::MHT::setNumberOfElectrons | ( | const double & | numberOfElectrons | ) |
Definition at line 27 of file MHT.cc.
Referenced by pat::PATMHTProducer::produce().
{ number_of_electrons_ = numberOfElectrons; }
void pat::MHT::setNumberOfJets | ( | const double & | numberOfJets | ) |
Definition at line 16 of file MHT.cc.
Referenced by pat::PATMHTProducer::produce().
{ number_of_jets_ = numberOfJets; }
void pat::MHT::setNumberOfMuons | ( | const double & | numberOfMuons | ) |
Definition at line 4 of file MHT.cc.
References number_of_muons_.
Referenced by pat::PATMHTProducer::produce().
{ number_of_muons_ = numberOfMuons; }
double pat::MHT::significance | ( | ) | const [inline] |
Definition at line 20 of file MHT.h.
References significance_.
Referenced by error().
{return significance_;};
double pat::MHT::ht_ [private] |
double pat::MHT::number_of_electrons_ [private] |
double pat::MHT::number_of_jets_ [private] |
double pat::MHT::number_of_muons_ [private] |
Definition at line 38 of file MHT.h.
Referenced by setNumberOfMuons().
double pat::MHT::significance_ [private] |
Definition at line 35 of file MHT.h.
Referenced by significance().