CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

reco::CaloMET Class Reference

#include <CaloMET.h>

Inheritance diagram for reco::CaloMET:
reco::MET reco::RecoCandidate reco::LeafCandidate reco::Candidate

List of all members.

Public Member Functions

 CaloMET ()
 CaloMET (SpecificCaloMETData calo_data_, double sumet_, const LorentzVector &fP4, const Point &fVertex)
 CaloMET (SpecificCaloMETData calo_data_, double sumet_, std::vector< CorrMETData > corr_, const LorentzVector &fP4, const Point &fVertex)
double CaloMETInmHF () const
double CaloMETInpHF () const
double CaloMETPhiInmHF () const
double CaloMETPhiInpHF () const
double CaloSETInmHF () const
double CaloSETInpHF () const
double emEtFraction () const
double emEtInEB () const
double emEtInEE () const
double emEtInHF () const
double etFractionHadronic () const
SpecificCaloMETData getSpecific () const
double hadEtInHB () const
double hadEtInHE () const
double hadEtInHF () const
double hadEtInHO () const
double maxEtInEmTowers () const
double maxEtInHadTowers () const
double metSignificance () const
void SetMetSignificance (double metsig)
virtual ~CaloMET ()

Private Member Functions

virtual bool overlap (const Candidate &) const
 check overlap with another candidate

Private Attributes

SpecificCaloMETData calo_data

Detailed Description

Definition at line 22 of file CaloMET.h.


Constructor & Destructor Documentation

CaloMET::CaloMET ( )

Definition at line 5 of file CaloMET.cc.

References calo_data, SpecificCaloMETData::CaloMETInmHF, SpecificCaloMETData::CaloMETInpHF, SpecificCaloMETData::CaloMETPhiInmHF, SpecificCaloMETData::CaloMETPhiInpHF, SpecificCaloMETData::CaloSETInmHF, SpecificCaloMETData::CaloSETInpHF, SpecificCaloMETData::EmEtInEB, SpecificCaloMETData::EmEtInEE, SpecificCaloMETData::EmEtInHF, SpecificCaloMETData::EtFractionEm, SpecificCaloMETData::EtFractionHadronic, SpecificCaloMETData::HadEtInHB, SpecificCaloMETData::HadEtInHE, SpecificCaloMETData::HadEtInHF, SpecificCaloMETData::HadEtInHO, SpecificCaloMETData::MaxEtInEmTowers, SpecificCaloMETData::MaxEtInHadTowers, and SpecificCaloMETData::METSignificance.

{
  calo_data.MaxEtInEmTowers = 0.0;  // Maximum energy in EM towers
  calo_data.MaxEtInHadTowers = 0.0;        // Maximum energy in HCAL towers
  calo_data.HadEtInHO = 0.0;          // Hadronic energy fraction in HO
  calo_data.HadEtInHB = 0.0;          // Hadronic energy in HB
  calo_data.HadEtInHF = 0.0;          // Hadronic energy in HF
  calo_data.HadEtInHE = 0.0;          // Hadronic energy in HE
  calo_data.EmEtInEB = 0.0;           // Em energy in EB
  calo_data.EmEtInEE = 0.0;           // Em energy in EE
  calo_data.EmEtInHF = 0.0;           // Em energy in HF
  calo_data.EtFractionHadronic = 0.0; // Hadronic energy fraction
  calo_data.EtFractionEm = 0.0;       // Em energy fraction
  calo_data.METSignificance = -1.0;    // MET Significance
  calo_data.CaloSETInpHF = 0.0;        // CaloSET in HF+ 
  calo_data.CaloSETInmHF = 0.0;        // CaloSET in HF- 
  calo_data.CaloMETInpHF = 0.0;        // CaloMET in HF+ 
  calo_data.CaloMETInmHF = 0.0;        // CaloMET in HF- 
  calo_data.CaloMETPhiInpHF = 0.0;     // CaloMET-phi in HF+ 
  calo_data.CaloMETPhiInmHF = 0.0;     // CaloMET-phi in HF- 

}
reco::CaloMET::CaloMET ( SpecificCaloMETData  calo_data_,
double  sumet_,
const LorentzVector fP4,
const Point fVertex 
) [inline]

Definition at line 27 of file CaloMET.h.

        : MET( sumet_, fP4, fVertex ), calo_data( calo_data_ ) {}
reco::CaloMET::CaloMET ( SpecificCaloMETData  calo_data_,
double  sumet_,
std::vector< CorrMETData corr_,
const LorentzVector fP4,
const Point fVertex 
) [inline]

Definition at line 30 of file CaloMET.h.

        : MET( sumet_, corr_, fP4, fVertex ), calo_data( calo_data_ ) {}
virtual reco::CaloMET::~CaloMET ( ) [inline, virtual]

Definition at line 35 of file CaloMET.h.

{}

Member Function Documentation

double reco::CaloMET::CaloMETInmHF ( ) const [inline]

Definition at line 69 of file CaloMET.h.

References calo_data, and SpecificCaloMETData::CaloMETInmHF.

double reco::CaloMET::CaloMETInpHF ( ) const [inline]

Definition at line 67 of file CaloMET.h.

References calo_data, and SpecificCaloMETData::CaloMETInpHF.

double reco::CaloMET::CaloMETPhiInmHF ( ) const [inline]

Definition at line 73 of file CaloMET.h.

References calo_data, and SpecificCaloMETData::CaloMETPhiInmHF.

double reco::CaloMET::CaloMETPhiInpHF ( ) const [inline]

Definition at line 71 of file CaloMET.h.

References calo_data, and SpecificCaloMETData::CaloMETPhiInpHF.

double reco::CaloMET::CaloSETInmHF ( ) const [inline]

Definition at line 65 of file CaloMET.h.

References calo_data, and SpecificCaloMETData::CaloSETInmHF.

double reco::CaloMET::CaloSETInpHF ( ) const [inline]

Definition at line 63 of file CaloMET.h.

References calo_data, and SpecificCaloMETData::CaloSETInpHF.

double reco::CaloMET::emEtFraction ( ) const [inline]
double reco::CaloMET::emEtInEB ( ) const [inline]

Definition at line 55 of file CaloMET.h.

References calo_data, and SpecificCaloMETData::EmEtInEB.

Referenced by METTester::analyze(), and CaloMETAnalyzer::fillMonitorElement().

{return calo_data.EmEtInEB;};
double reco::CaloMET::emEtInEE ( ) const [inline]

Definition at line 57 of file CaloMET.h.

References calo_data, and SpecificCaloMETData::EmEtInEE.

Referenced by METTester::analyze(), and CaloMETAnalyzer::fillMonitorElement().

{return calo_data.EmEtInEE;};
double reco::CaloMET::emEtInHF ( ) const [inline]

Definition at line 59 of file CaloMET.h.

References calo_data, and SpecificCaloMETData::EmEtInHF.

Referenced by METTester::analyze(), and CaloMETAnalyzer::fillMonitorElement().

{return calo_data.EmEtInHF;};
double reco::CaloMET::etFractionHadronic ( ) const [inline]
SpecificCaloMETData reco::CaloMET::getSpecific ( ) const [inline]

Definition at line 79 of file CaloMET.h.

References calo_data.

Referenced by reco::GlobalHaloData::GetCorrectedCaloMET(), pat::MET::MET(), and TauMETAlgo::run().

{return calo_data;}
double reco::CaloMET::hadEtInHB ( ) const [inline]

Definition at line 47 of file CaloMET.h.

References calo_data, and SpecificCaloMETData::HadEtInHB.

Referenced by METTester::analyze(), and CaloMETAnalyzer::fillMonitorElement().

{return calo_data.HadEtInHB;};
double reco::CaloMET::hadEtInHE ( ) const [inline]

Definition at line 51 of file CaloMET.h.

References calo_data, and SpecificCaloMETData::HadEtInHE.

Referenced by METTester::analyze(), and CaloMETAnalyzer::fillMonitorElement().

{return calo_data.HadEtInHE;};
double reco::CaloMET::hadEtInHF ( ) const [inline]

Definition at line 53 of file CaloMET.h.

References calo_data, and SpecificCaloMETData::HadEtInHF.

Referenced by METTester::analyze(), and CaloMETAnalyzer::fillMonitorElement().

{return calo_data.HadEtInHF;};
double reco::CaloMET::hadEtInHO ( ) const [inline]

Definition at line 49 of file CaloMET.h.

References calo_data, and SpecificCaloMETData::HadEtInHO.

Referenced by METTester::analyze(), and CaloMETAnalyzer::fillMonitorElement().

{return calo_data.HadEtInHO;};
double reco::CaloMET::maxEtInEmTowers ( ) const [inline]
double reco::CaloMET::maxEtInHadTowers ( ) const [inline]
double reco::CaloMET::metSignificance ( ) const [inline]

Definition at line 61 of file CaloMET.h.

References reco::MET::significance().

{return this->significance();};
bool CaloMET::overlap ( const Candidate ) const [private, virtual]

check overlap with another candidate

Reimplemented from reco::MET.

Definition at line 28 of file CaloMET.cc.

{
  return false;
}
void reco::CaloMET::SetMetSignificance ( double  metsig) [inline]

Definition at line 76 of file CaloMET.h.

References calo_data, and SpecificCaloMETData::METSignificance.

Referenced by cms::METProducer::produce().

{ calo_data.METSignificance = metsig; }

Member Data Documentation