#include <GlobalHaloData.h>
Public Member Functions | |
float | DeltaMEx () const |
float | DeltaMEy () const |
float | DeltaSumEt () const |
reco::CaloMET | GetCorrectedCaloMET (const reco::CaloMET &RawMET) const |
std::vector< PhiWedge > & | GetMatchedEcalPhiWedges () |
const std::vector< PhiWedge > & | GetMatchedEcalPhiWedges () const |
const std::vector< PhiWedge > & | GetMatchedHcalPhiWedges () const |
std::vector< PhiWedge > & | GetMatchedHcalPhiWedges () |
GlobalHaloData () | |
float | METOverSumEt () const |
void | SetMETCorrections (float x, float y) |
void | SetMETOverSumEt (float x) |
~GlobalHaloData () | |
Private Attributes | |
float | dMEx_ |
float | dMEy_ |
float | dSumEt_ |
std::vector< PhiWedge > | EcalPhiWedges |
std::vector< PhiWedge > | HcalPhiWedges |
float | METOverSumEt_ |
Definition at line 17 of file GlobalHaloData.h.
GlobalHaloData::GlobalHaloData | ( | ) |
Definition at line 15 of file GlobalHaloData.cc.
References dMEx_, dMEy_, dSumEt_, and METOverSumEt_.
{ METOverSumEt_ = 0.; dMEx_ = 0.; dMEy_ = 0.; dSumEt_ = 0.; }
reco::GlobalHaloData::~GlobalHaloData | ( | ) | [inline] |
Definition at line 23 of file GlobalHaloData.h.
{}
float reco::GlobalHaloData::DeltaMEx | ( | ) | const [inline] |
Definition at line 29 of file GlobalHaloData.h.
References dMEx_.
Referenced by BeamHaloAnalyzer::analyze().
{return dMEx_;}
float reco::GlobalHaloData::DeltaMEy | ( | ) | const [inline] |
Definition at line 32 of file GlobalHaloData.h.
References dMEy_.
Referenced by BeamHaloAnalyzer::analyze().
{return dMEy_;}
float reco::GlobalHaloData::DeltaSumEt | ( | ) | const [inline] |
reco::CaloMET GlobalHaloData::GetCorrectedCaloMET | ( | const reco::CaloMET & | RawMET | ) | const |
Definition at line 24 of file GlobalHaloData.cc.
References dMEx_, dMEy_, dSumEt_, reco::CaloMET::getSpecific(), p4, reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::pz(), mathSSE::sqrt(), and reco::MET::sumEt().
Referenced by BeamHaloAnalyzer::analyze().
{ double mex = RawMET.px() + dMEx_; double mey = RawMET.py() + dMEy_; double mez = RawMET.pz() ; double sumet = RawMET.sumEt() + dSumEt_ ; const math::XYZTLorentzVector p4( mex, mey, mez, std::sqrt(mex*mex + mey*mey + mez*mez)); const math::XYZPoint vtx (0., 0., 0.); reco::CaloMET CorrectedMET( RawMET.getSpecific(), sumet, p4, vtx ); return CorrectedMET; }
const std::vector<PhiWedge>& reco::GlobalHaloData::GetMatchedEcalPhiWedges | ( | ) | const [inline] |
std::vector<PhiWedge>& reco::GlobalHaloData::GetMatchedEcalPhiWedges | ( | ) | [inline] |
Definition at line 43 of file GlobalHaloData.h.
References EcalPhiWedges.
Referenced by BeamHaloAnalyzer::analyze(), GlobalHaloAlgo::Calculate(), and reco::BeamHaloSummaryProducer::produce().
{return EcalPhiWedges;}
const std::vector<PhiWedge>& reco::GlobalHaloData::GetMatchedHcalPhiWedges | ( | ) | const [inline] |
std::vector<PhiWedge>& reco::GlobalHaloData::GetMatchedHcalPhiWedges | ( | ) | [inline] |
Definition at line 40 of file GlobalHaloData.h.
References HcalPhiWedges.
Referenced by BeamHaloAnalyzer::analyze(), GlobalHaloAlgo::Calculate(), and reco::BeamHaloSummaryProducer::produce().
{return HcalPhiWedges;}
float reco::GlobalHaloData::METOverSumEt | ( | ) | const [inline] |
void reco::GlobalHaloData::SetMETCorrections | ( | float | x, |
float | y | ||
) | [inline] |
Definition at line 48 of file GlobalHaloData.h.
References dMEx_, dMEy_, x, and detailsBasic3DVector::y.
Referenced by GlobalHaloAlgo::Calculate().
void reco::GlobalHaloData::SetMETOverSumEt | ( | float | x | ) | [inline] |
Definition at line 47 of file GlobalHaloData.h.
References METOverSumEt_, and x.
Referenced by GlobalHaloAlgo::Calculate().
{METOverSumEt_=x;}
float reco::GlobalHaloData::dMEx_ [private] |
Definition at line 52 of file GlobalHaloData.h.
Referenced by DeltaMEx(), GetCorrectedCaloMET(), GlobalHaloData(), and SetMETCorrections().
float reco::GlobalHaloData::dMEy_ [private] |
Definition at line 53 of file GlobalHaloData.h.
Referenced by DeltaMEy(), GetCorrectedCaloMET(), GlobalHaloData(), and SetMETCorrections().
float reco::GlobalHaloData::dSumEt_ [private] |
Definition at line 54 of file GlobalHaloData.h.
Referenced by DeltaSumEt(), GetCorrectedCaloMET(), and GlobalHaloData().
std::vector<PhiWedge> reco::GlobalHaloData::EcalPhiWedges [private] |
Definition at line 57 of file GlobalHaloData.h.
Referenced by GetMatchedEcalPhiWedges().
std::vector<PhiWedge> reco::GlobalHaloData::HcalPhiWedges [private] |
Definition at line 56 of file GlobalHaloData.h.
Referenced by GetMatchedHcalPhiWedges().
float reco::GlobalHaloData::METOverSumEt_ [private] |
Definition at line 51 of file GlobalHaloData.h.
Referenced by GlobalHaloData(), METOverSumEt(), and SetMETOverSumEt().