CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
reco::GlobalHaloData Class Reference

#include <GlobalHaloData.h>

Public Member Functions

float DeltaMEx () const
 
float DeltaMEy () const
 
float DeltaSumEt () const
 
reco::CaloMET GetCorrectedCaloMET (const reco::CaloMET &RawMET) const
 
edm::RefVector< EcalRecHitCollection > & GetEBRechits ()
 
const edm::RefVector< EcalRecHitCollection > & GetEBRechits () const
 
edm::RefVector< EcalRecHitCollection > & GetEERechits ()
 
const edm::RefVector< EcalRecHitCollection > & GetEERechits () const
 
bool GetHaloPatternFoundEB () const
 
bool GetHaloPatternFoundEE () const
 
bool GetHaloPatternFoundHB () const
 
bool GetHaloPatternFoundHE () const
 
edm::RefVector< HBHERecHitCollection > & GetHBHERechits ()
 
const edm::RefVector< HBHERecHitCollection > & GetHBHERechits () const
 
std::vector< PhiWedge > & GetMatchedEcalPhiWedges ()
 
const std::vector< PhiWedge > & GetMatchedEcalPhiWedges () const
 
std::vector< PhiWedge > & GetMatchedHcalPhiWedges ()
 
const std::vector< PhiWedge > & GetMatchedHcalPhiWedges () const
 
bool GetSegmentIsEBCaloMatched () const
 
bool GetSegmentIsEECaloMatched () const
 
bool GetSegmentIsHBCaloMatched () const
 
bool GetSegmentIsHECaloMatched () const
 
 GlobalHaloData ()
 
float METOverSumEt () const
 
void SetHaloPatternFoundEB (bool b)
 
void SetHaloPatternFoundEE (bool b)
 
void SetHaloPatternFoundHB (bool b)
 
void SetHaloPatternFoundHE (bool b)
 
void SetMETCorrections (float x, float y)
 
void SetMETOverSumEt (float x)
 
void SetSegmentIsEBCaloMatched (bool b)
 
void SetSegmentIsEECaloMatched (bool b)
 
void SetSegmentIsHBCaloMatched (bool b)
 
void SetSegmentIsHECaloMatched (bool b)
 
 ~GlobalHaloData ()
 

Private Attributes

float dMEx_
 
float dMEy_
 
float dSumEt_
 
edm::RefVector< EcalRecHitCollectionecalebrhRefs
 
edm::RefVector< EcalRecHitCollectionecaleerhRefs
 
std::vector< PhiWedgeEcalPhiWedges
 
bool halopatternfoundEB
 
bool halopatternfoundEE
 
bool halopatternfoundHB
 
bool halopatternfoundHE
 
edm::RefVector< HBHERecHitCollectionhbherhRefs
 
std::vector< PhiWedgeHcalPhiWedges
 
float METOverSumEt_
 
bool segmentisEBcalomatched
 
bool segmentisEEcalomatched
 
bool segmentisHBcalomatched
 
bool segmentisHEcalomatched
 

Detailed Description

Definition at line 17 of file GlobalHaloData.h.

Constructor & Destructor Documentation

◆ GlobalHaloData()

GlobalHaloData::GlobalHaloData ( )

Definition at line 14 of file GlobalHaloData.cc.

14  {
15  METOverSumEt_ = 0.;
16  dMEx_ = 0.;
17  dMEy_ = 0.;
18  dSumEt_ = 0.;
19 }

References dMEx_, dMEy_, dSumEt_, and METOverSumEt_.

◆ ~GlobalHaloData()

reco::GlobalHaloData::~GlobalHaloData ( )
inline

Definition at line 22 of file GlobalHaloData.h.

22 {}

Member Function Documentation

◆ DeltaMEx()

float reco::GlobalHaloData::DeltaMEx ( ) const
inline

Definition at line 28 of file GlobalHaloData.h.

28 { return dMEx_; }

References dMEx_.

Referenced by BeamHaloAnalyzer::analyze().

◆ DeltaMEy()

float reco::GlobalHaloData::DeltaMEy ( ) const
inline

Definition at line 31 of file GlobalHaloData.h.

31 { return dMEy_; }

References dMEy_.

Referenced by BeamHaloAnalyzer::analyze().

◆ DeltaSumEt()

float reco::GlobalHaloData::DeltaSumEt ( ) const
inline

Definition at line 34 of file GlobalHaloData.h.

34 { return dSumEt_; }

References dSumEt_.

◆ GetCorrectedCaloMET()

reco::CaloMET GlobalHaloData::GetCorrectedCaloMET ( const reco::CaloMET RawMET) const

Definition at line 21 of file GlobalHaloData.cc.

21  {
22  double mex = RawMET.px() + dMEx_;
23  double mey = RawMET.py() + dMEy_;
24  double mez = RawMET.pz();
25  double sumet = RawMET.sumEt() + dSumEt_;
26  const math::XYZTLorentzVector p4(mex, mey, mez, std::sqrt(mex * mex + mey * mey + mez * mez));
27  const math::XYZPoint vtx(0., 0., 0.);
28 
29  reco::CaloMET CorrectedMET(RawMET.getSpecific(), sumet, p4, vtx);
30  return CorrectedMET;
31 }

References dMEx_, dMEy_, dSumEt_, p4, nanoDQM_cfi::RawMET, mathSSE::sqrt(), and badGlobalMuonTaggersAOD_cff::vtx.

Referenced by BeamHaloAnalyzer::analyze().

◆ GetEBRechits() [1/2]

edm::RefVector<EcalRecHitCollection>& reco::GlobalHaloData::GetEBRechits ( )
inline

Definition at line 45 of file GlobalHaloData.h.

45 { return ecalebrhRefs; }

References ecalebrhRefs.

Referenced by GlobalHaloAlgo::AddtoBeamHaloEBEERechits(), and CaloRecHitsBeamHaloCleaned::produce().

◆ GetEBRechits() [2/2]

const edm::RefVector<EcalRecHitCollection>& reco::GlobalHaloData::GetEBRechits ( ) const
inline

Definition at line 46 of file GlobalHaloData.h.

46 { return ecalebrhRefs; }

References ecalebrhRefs.

◆ GetEERechits() [1/2]

edm::RefVector<EcalRecHitCollection>& reco::GlobalHaloData::GetEERechits ( )
inline

Definition at line 48 of file GlobalHaloData.h.

48 { return ecaleerhRefs; }

References ecaleerhRefs.

Referenced by GlobalHaloAlgo::AddtoBeamHaloEBEERechits(), and CaloRecHitsBeamHaloCleaned::produce().

◆ GetEERechits() [2/2]

const edm::RefVector<EcalRecHitCollection>& reco::GlobalHaloData::GetEERechits ( ) const
inline

Definition at line 49 of file GlobalHaloData.h.

49 { return ecaleerhRefs; }

References ecaleerhRefs.

◆ GetHaloPatternFoundEB()

bool reco::GlobalHaloData::GetHaloPatternFoundEB ( ) const
inline

Definition at line 59 of file GlobalHaloData.h.

59 { return halopatternfoundEB; }

References halopatternfoundEB.

Referenced by reco::BeamHaloSummaryProducer::produce().

◆ GetHaloPatternFoundEE()

bool reco::GlobalHaloData::GetHaloPatternFoundEE ( ) const
inline

Definition at line 60 of file GlobalHaloData.h.

60 { return halopatternfoundEE; }

References halopatternfoundEE.

Referenced by reco::BeamHaloSummaryProducer::produce().

◆ GetHaloPatternFoundHB()

bool reco::GlobalHaloData::GetHaloPatternFoundHB ( ) const
inline

Definition at line 61 of file GlobalHaloData.h.

61 { return halopatternfoundHB; }

References halopatternfoundHB.

Referenced by reco::BeamHaloSummaryProducer::produce().

◆ GetHaloPatternFoundHE()

bool reco::GlobalHaloData::GetHaloPatternFoundHE ( ) const
inline

Definition at line 62 of file GlobalHaloData.h.

62 { return halopatternfoundHE; }

References halopatternfoundHE.

Referenced by reco::BeamHaloSummaryProducer::produce().

◆ GetHBHERechits() [1/2]

edm::RefVector<HBHERecHitCollection>& reco::GlobalHaloData::GetHBHERechits ( )
inline

Definition at line 51 of file GlobalHaloData.h.

51 { return hbherhRefs; }

References hbherhRefs.

Referenced by GlobalHaloAlgo::AddtoBeamHaloHBHERechits(), and CaloRecHitsBeamHaloCleaned::produce().

◆ GetHBHERechits() [2/2]

const edm::RefVector<HBHERecHitCollection>& reco::GlobalHaloData::GetHBHERechits ( ) const
inline

Definition at line 52 of file GlobalHaloData.h.

52 { return hbherhRefs; }

References hbherhRefs.

◆ GetMatchedEcalPhiWedges() [1/2]

std::vector<PhiWedge>& reco::GlobalHaloData::GetMatchedEcalPhiWedges ( )
inline

◆ GetMatchedEcalPhiWedges() [2/2]

const std::vector<PhiWedge>& reco::GlobalHaloData::GetMatchedEcalPhiWedges ( ) const
inline

Definition at line 43 of file GlobalHaloData.h.

43 { return EcalPhiWedges; }

References EcalPhiWedges.

◆ GetMatchedHcalPhiWedges() [1/2]

std::vector<PhiWedge>& reco::GlobalHaloData::GetMatchedHcalPhiWedges ( )
inline

◆ GetMatchedHcalPhiWedges() [2/2]

const std::vector<PhiWedge>& reco::GlobalHaloData::GetMatchedHcalPhiWedges ( ) const
inline

Definition at line 40 of file GlobalHaloData.h.

40 { return HcalPhiWedges; }

References HcalPhiWedges.

◆ GetSegmentIsEBCaloMatched()

bool reco::GlobalHaloData::GetSegmentIsEBCaloMatched ( ) const
inline

Definition at line 56 of file GlobalHaloData.h.

56 { return segmentisEBcalomatched; }

References segmentisEBcalomatched.

Referenced by reco::BeamHaloSummaryProducer::produce().

◆ GetSegmentIsEECaloMatched()

bool reco::GlobalHaloData::GetSegmentIsEECaloMatched ( ) const
inline

Definition at line 57 of file GlobalHaloData.h.

57 { return segmentisEEcalomatched; }

References segmentisEEcalomatched.

Referenced by reco::BeamHaloSummaryProducer::produce().

◆ GetSegmentIsHBCaloMatched()

bool reco::GlobalHaloData::GetSegmentIsHBCaloMatched ( ) const
inline

Definition at line 54 of file GlobalHaloData.h.

54 { return segmentisHBcalomatched; }

References segmentisHBcalomatched.

Referenced by reco::BeamHaloSummaryProducer::produce().

◆ GetSegmentIsHECaloMatched()

bool reco::GlobalHaloData::GetSegmentIsHECaloMatched ( ) const
inline

Definition at line 55 of file GlobalHaloData.h.

55 { return segmentisHEcalomatched; }

References segmentisHEcalomatched.

Referenced by reco::BeamHaloSummaryProducer::produce().

◆ METOverSumEt()

float reco::GlobalHaloData::METOverSumEt ( ) const
inline

Definition at line 25 of file GlobalHaloData.h.

25 { return METOverSumEt_; }

References METOverSumEt_.

◆ SetHaloPatternFoundEB()

void reco::GlobalHaloData::SetHaloPatternFoundEB ( bool  b)
inline

Definition at line 75 of file GlobalHaloData.h.

75 { halopatternfoundEB = b; }

References b, and halopatternfoundEB.

Referenced by GlobalHaloAlgo::Calculate().

◆ SetHaloPatternFoundEE()

void reco::GlobalHaloData::SetHaloPatternFoundEE ( bool  b)
inline

Definition at line 76 of file GlobalHaloData.h.

76 { halopatternfoundEE = b; }

References b, and halopatternfoundEE.

Referenced by GlobalHaloAlgo::Calculate().

◆ SetHaloPatternFoundHB()

void reco::GlobalHaloData::SetHaloPatternFoundHB ( bool  b)
inline

Definition at line 77 of file GlobalHaloData.h.

77 { halopatternfoundHB = b; }

References b, and halopatternfoundHB.

Referenced by GlobalHaloAlgo::Calculate().

◆ SetHaloPatternFoundHE()

void reco::GlobalHaloData::SetHaloPatternFoundHE ( bool  b)
inline

Definition at line 78 of file GlobalHaloData.h.

78 { halopatternfoundHE = b; }

References b, and halopatternfoundHE.

Referenced by GlobalHaloAlgo::Calculate().

◆ SetMETCorrections()

void reco::GlobalHaloData::SetMETCorrections ( float  x,
float  y 
)
inline

Definition at line 66 of file GlobalHaloData.h.

66  {
67  dMEx_ = x;
68  dMEy_ = y;
69  }

References dMEx_, and dMEy_.

Referenced by GlobalHaloAlgo::Calculate().

◆ SetMETOverSumEt()

void reco::GlobalHaloData::SetMETOverSumEt ( float  x)
inline

Definition at line 65 of file GlobalHaloData.h.

65 { METOverSumEt_ = x; }

References METOverSumEt_.

Referenced by GlobalHaloAlgo::Calculate().

◆ SetSegmentIsEBCaloMatched()

void reco::GlobalHaloData::SetSegmentIsEBCaloMatched ( bool  b)
inline

Definition at line 73 of file GlobalHaloData.h.

References b, and segmentisEBcalomatched.

Referenced by GlobalHaloAlgo::Calculate().

◆ SetSegmentIsEECaloMatched()

void reco::GlobalHaloData::SetSegmentIsEECaloMatched ( bool  b)
inline

Definition at line 74 of file GlobalHaloData.h.

References b, and segmentisEEcalomatched.

Referenced by GlobalHaloAlgo::Calculate().

◆ SetSegmentIsHBCaloMatched()

void reco::GlobalHaloData::SetSegmentIsHBCaloMatched ( bool  b)
inline

Definition at line 71 of file GlobalHaloData.h.

References b, and segmentisHBcalomatched.

Referenced by GlobalHaloAlgo::Calculate().

◆ SetSegmentIsHECaloMatched()

void reco::GlobalHaloData::SetSegmentIsHECaloMatched ( bool  b)
inline

Definition at line 72 of file GlobalHaloData.h.

References b, and segmentisHEcalomatched.

Referenced by GlobalHaloAlgo::Calculate().

Member Data Documentation

◆ dMEx_

float reco::GlobalHaloData::dMEx_
private

Definition at line 82 of file GlobalHaloData.h.

Referenced by DeltaMEx(), GetCorrectedCaloMET(), GlobalHaloData(), and SetMETCorrections().

◆ dMEy_

float reco::GlobalHaloData::dMEy_
private

Definition at line 83 of file GlobalHaloData.h.

Referenced by DeltaMEy(), GetCorrectedCaloMET(), GlobalHaloData(), and SetMETCorrections().

◆ dSumEt_

float reco::GlobalHaloData::dSumEt_
private

Definition at line 84 of file GlobalHaloData.h.

Referenced by DeltaSumEt(), GetCorrectedCaloMET(), and GlobalHaloData().

◆ ecalebrhRefs

edm::RefVector<EcalRecHitCollection> reco::GlobalHaloData::ecalebrhRefs
private

Definition at line 92 of file GlobalHaloData.h.

Referenced by GetEBRechits().

◆ ecaleerhRefs

edm::RefVector<EcalRecHitCollection> reco::GlobalHaloData::ecaleerhRefs
private

Definition at line 93 of file GlobalHaloData.h.

Referenced by GetEERechits().

◆ EcalPhiWedges

std::vector<PhiWedge> reco::GlobalHaloData::EcalPhiWedges
private

Definition at line 87 of file GlobalHaloData.h.

Referenced by GetMatchedEcalPhiWedges().

◆ halopatternfoundEB

bool reco::GlobalHaloData::halopatternfoundEB
private

Definition at line 90 of file GlobalHaloData.h.

Referenced by GetHaloPatternFoundEB(), and SetHaloPatternFoundEB().

◆ halopatternfoundEE

bool reco::GlobalHaloData::halopatternfoundEE
private

Definition at line 90 of file GlobalHaloData.h.

Referenced by GetHaloPatternFoundEE(), and SetHaloPatternFoundEE().

◆ halopatternfoundHB

bool reco::GlobalHaloData::halopatternfoundHB
private

Definition at line 90 of file GlobalHaloData.h.

Referenced by GetHaloPatternFoundHB(), and SetHaloPatternFoundHB().

◆ halopatternfoundHE

bool reco::GlobalHaloData::halopatternfoundHE
private

Definition at line 90 of file GlobalHaloData.h.

Referenced by GetHaloPatternFoundHE(), and SetHaloPatternFoundHE().

◆ hbherhRefs

edm::RefVector<HBHERecHitCollection> reco::GlobalHaloData::hbherhRefs
private

Definition at line 94 of file GlobalHaloData.h.

Referenced by GetHBHERechits().

◆ HcalPhiWedges

std::vector<PhiWedge> reco::GlobalHaloData::HcalPhiWedges
private

Definition at line 86 of file GlobalHaloData.h.

Referenced by GetMatchedHcalPhiWedges().

◆ METOverSumEt_

float reco::GlobalHaloData::METOverSumEt_
private

Definition at line 81 of file GlobalHaloData.h.

Referenced by GlobalHaloData(), METOverSumEt(), and SetMETOverSumEt().

◆ segmentisEBcalomatched

bool reco::GlobalHaloData::segmentisEBcalomatched
private

Definition at line 89 of file GlobalHaloData.h.

Referenced by GetSegmentIsEBCaloMatched(), and SetSegmentIsEBCaloMatched().

◆ segmentisEEcalomatched

bool reco::GlobalHaloData::segmentisEEcalomatched
private

Definition at line 89 of file GlobalHaloData.h.

Referenced by GetSegmentIsEECaloMatched(), and SetSegmentIsEECaloMatched().

◆ segmentisHBcalomatched

bool reco::GlobalHaloData::segmentisHBcalomatched
private

Definition at line 89 of file GlobalHaloData.h.

Referenced by GetSegmentIsHBCaloMatched(), and SetSegmentIsHBCaloMatched().

◆ segmentisHEcalomatched

bool reco::GlobalHaloData::segmentisHEcalomatched
private

Definition at line 89 of file GlobalHaloData.h.

Referenced by GetSegmentIsHECaloMatched(), and SetSegmentIsHECaloMatched().

DDAxes::y
reco::GlobalHaloData::halopatternfoundHE
bool halopatternfoundHE
Definition: GlobalHaloData.h:90
reco::GlobalHaloData::EcalPhiWedges
std::vector< PhiWedge > EcalPhiWedges
Definition: GlobalHaloData.h:87
reco::GlobalHaloData::segmentisEBcalomatched
bool segmentisEBcalomatched
Definition: GlobalHaloData.h:89
reco::GlobalHaloData::halopatternfoundHB
bool halopatternfoundHB
Definition: GlobalHaloData.h:90
DDAxes::x
reco::GlobalHaloData::dSumEt_
float dSumEt_
Definition: GlobalHaloData.h:84
reco::CaloMET
Definition: CaloMET.h:21
reco::GlobalHaloData::dMEy_
float dMEy_
Definition: GlobalHaloData.h:83
reco::GlobalHaloData::HcalPhiWedges
std::vector< PhiWedge > HcalPhiWedges
Definition: GlobalHaloData.h:86
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
reco::GlobalHaloData::halopatternfoundEB
bool halopatternfoundEB
Definition: GlobalHaloData.h:90
b
double b
Definition: hdecay.h:118
badGlobalMuonTaggersAOD_cff.vtx
vtx
Definition: badGlobalMuonTaggersAOD_cff.py:5
reco::GlobalHaloData::segmentisEEcalomatched
bool segmentisEEcalomatched
Definition: GlobalHaloData.h:89
reco::GlobalHaloData::hbherhRefs
edm::RefVector< HBHERecHitCollection > hbherhRefs
Definition: GlobalHaloData.h:94
reco::GlobalHaloData::halopatternfoundEE
bool halopatternfoundEE
Definition: GlobalHaloData.h:90
reco::GlobalHaloData::METOverSumEt_
float METOverSumEt_
Definition: GlobalHaloData.h:81
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
reco::GlobalHaloData::segmentisHEcalomatched
bool segmentisHEcalomatched
Definition: GlobalHaloData.h:89
p4
double p4[4]
Definition: TauolaWrapper.h:92
reco::GlobalHaloData::ecalebrhRefs
edm::RefVector< EcalRecHitCollection > ecalebrhRefs
Definition: GlobalHaloData.h:92
math::XYZTLorentzVector
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
reco::GlobalHaloData::dMEx_
float dMEx_
Definition: GlobalHaloData.h:82
nanoDQM_cfi.RawMET
RawMET
Definition: nanoDQM_cfi.py:512
reco::GlobalHaloData::segmentisHBcalomatched
bool segmentisHBcalomatched
Definition: GlobalHaloData.h:89
reco::GlobalHaloData::ecaleerhRefs
edm::RefVector< EcalRecHitCollection > ecaleerhRefs
Definition: GlobalHaloData.h:93