CMS 3D CMS Logo

GlobalHaloData.h
Go to the documentation of this file.
1 #ifndef DATAFORMATS_METRECO_GLOBALHALODATA_H
2 #define DATAFORMATS_METRECO_GLOBALHALODATA_H
3 /*
4  [class]: GlobalHaloData
5  [authors]: R. Remington, The University of Florida
6  [description]: Container class to store global beam halo data synthesized from EcalHaloData, HcalHaloData, and CSCHaloData. Also stores some variables relevant to MET for possible corrections.
7  [date]: October 15, 2009
8 */
15 
16 namespace reco {
18  public:
19  // Constructor
21  // Destructor
23 
24  //A good cut-variable to isolate halo events with no overlapping physics from collisions
25  float METOverSumEt() const { return METOverSumEt_; }
26 
27  //Correction to CaloMET x-component
28  float DeltaMEx() const { return dMEx_; }
29 
30  //Correction to CaloMET y-component
31  float DeltaMEy() const { return dMEy_; }
32 
33  //Correction to SumEt
34  float DeltaSumEt() const { return dSumEt_; }
35 
36  //Get CaloMET Object corrected for BeamHalo
38 
39  std::vector<PhiWedge>& GetMatchedHcalPhiWedges() { return HcalPhiWedges; }
40  const std::vector<PhiWedge>& GetMatchedHcalPhiWedges() const { return HcalPhiWedges; }
41 
42  std::vector<PhiWedge>& GetMatchedEcalPhiWedges() { return EcalPhiWedges; }
43  const std::vector<PhiWedge>& GetMatchedEcalPhiWedges() const { return EcalPhiWedges; }
44 
47 
50 
53 
58 
59  bool GetHaloPatternFoundEB() const { return halopatternfoundEB; }
60  bool GetHaloPatternFoundEE() const { return halopatternfoundEE; }
61  bool GetHaloPatternFoundHB() const { return halopatternfoundHB; }
62  bool GetHaloPatternFoundHE() const { return halopatternfoundHE; }
63 
64  //Setters
65  void SetMETOverSumEt(float x) { METOverSumEt_ = x; }
66  void SetMETCorrections(float x, float y) {
67  dMEx_ = x;
68  dMEy_ = y;
69  }
70 
79 
80  private:
82  float dMEx_;
83  float dMEy_;
84  float dSumEt_;
85 
86  std::vector<PhiWedge> HcalPhiWedges;
87  std::vector<PhiWedge> EcalPhiWedges;
88 
91 
95  };
96 } // namespace reco
97 #endif
reco::GlobalHaloData::SetHaloPatternFoundEE
void SetHaloPatternFoundEE(bool b)
Definition: GlobalHaloData.h:76
reco::GlobalHaloData::SetMETCorrections
void SetMETCorrections(float x, float y)
Definition: GlobalHaloData.h:66
reco::GlobalHaloData::GetHaloPatternFoundEE
bool GetHaloPatternFoundEE() const
Definition: GlobalHaloData.h:60
reco::GlobalHaloData::GetHBHERechits
edm::RefVector< HBHERecHitCollection > & GetHBHERechits()
Definition: GlobalHaloData.h:51
reco::GlobalHaloData::halopatternfoundHE
bool halopatternfoundHE
Definition: GlobalHaloData.h:90
reco::GlobalHaloData::METOverSumEt
float METOverSumEt() const
Definition: GlobalHaloData.h:25
reco::GlobalHaloData::GetMatchedHcalPhiWedges
const std::vector< PhiWedge > & GetMatchedHcalPhiWedges() const
Definition: GlobalHaloData.h:40
reco::GlobalHaloData::EcalPhiWedges
std::vector< PhiWedge > EcalPhiWedges
Definition: GlobalHaloData.h:87
reco::GlobalHaloData::segmentisEBcalomatched
bool segmentisEBcalomatched
Definition: GlobalHaloData.h:89
reco::GlobalHaloData::GetCorrectedCaloMET
reco::CaloMET GetCorrectedCaloMET(const reco::CaloMET &RawMET) const
Definition: GlobalHaloData.cc:21
reco::GlobalHaloData::halopatternfoundHB
bool halopatternfoundHB
Definition: GlobalHaloData.h:90
reco::GlobalHaloData::GetEBRechits
edm::RefVector< EcalRecHitCollection > & GetEBRechits()
Definition: GlobalHaloData.h:45
reco::GlobalHaloData::DeltaMEx
float DeltaMEx() const
Definition: GlobalHaloData.h:28
reco::GlobalHaloData::GetSegmentIsEBCaloMatched
bool GetSegmentIsEBCaloMatched() const
Definition: GlobalHaloData.h:56
edm::RefVector
Definition: EDProductfwd.h:27
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
reco::GlobalHaloData::GetMatchedHcalPhiWedges
std::vector< PhiWedge > & GetMatchedHcalPhiWedges()
Definition: GlobalHaloData.h:39
reco::GlobalHaloData::SetSegmentIsHECaloMatched
void SetSegmentIsHECaloMatched(bool b)
Definition: GlobalHaloData.h:72
reco::GlobalHaloData::dSumEt_
float dSumEt_
Definition: GlobalHaloData.h:84
reco::GlobalHaloData::SetHaloPatternFoundHB
void SetHaloPatternFoundHB(bool b)
Definition: GlobalHaloData.h:77
reco::CaloMET
Definition: CaloMET.h:21
reco::GlobalHaloData::dMEy_
float dMEy_
Definition: GlobalHaloData.h:83
reco::GlobalHaloData::GetHaloPatternFoundHE
bool GetHaloPatternFoundHE() const
Definition: GlobalHaloData.h:62
reco::GlobalHaloData::HcalPhiWedges
std::vector< PhiWedge > HcalPhiWedges
Definition: GlobalHaloData.h:86
reco::GlobalHaloData::GlobalHaloData
GlobalHaloData()
Definition: GlobalHaloData.cc:14
CaloMET.h
reco::GlobalHaloData::GetSegmentIsHBCaloMatched
bool GetSegmentIsHBCaloMatched() const
Definition: GlobalHaloData.h:54
reco::GlobalHaloData::DeltaMEy
float DeltaMEy() const
Definition: GlobalHaloData.h:31
PhiWedge.h
reco::GlobalHaloData::halopatternfoundEB
bool halopatternfoundEB
Definition: GlobalHaloData.h:90
b
double b
Definition: hdecay.h:118
reco::GlobalHaloData::segmentisEEcalomatched
bool segmentisEEcalomatched
Definition: GlobalHaloData.h:89
reco::GlobalHaloData::hbherhRefs
edm::RefVector< HBHERecHitCollection > hbherhRefs
Definition: GlobalHaloData.h:94
reco::GlobalHaloData::SetSegmentIsHBCaloMatched
void SetSegmentIsHBCaloMatched(bool b)
Definition: GlobalHaloData.h:71
reco::GlobalHaloData::GetEERechits
edm::RefVector< EcalRecHitCollection > & GetEERechits()
Definition: GlobalHaloData.h:48
reco::GlobalHaloData::halopatternfoundEE
bool halopatternfoundEE
Definition: GlobalHaloData.h:90
reco::GlobalHaloData::METOverSumEt_
float METOverSumEt_
Definition: GlobalHaloData.h:81
EcalHaloData.h
reco::GlobalHaloData::SetHaloPatternFoundEB
void SetHaloPatternFoundEB(bool b)
Definition: GlobalHaloData.h:75
HcalHaloData.h
reco::GlobalHaloData::SetMETOverSumEt
void SetMETOverSumEt(float x)
Definition: GlobalHaloData.h:65
reco::GlobalHaloData::GetEERechits
const edm::RefVector< EcalRecHitCollection > & GetEERechits() const
Definition: GlobalHaloData.h:49
reco::GlobalHaloData
Definition: GlobalHaloData.h:17
reco::GlobalHaloData::GetMatchedEcalPhiWedges
const std::vector< PhiWedge > & GetMatchedEcalPhiWedges() const
Definition: GlobalHaloData.h:43
reco::GlobalHaloData::segmentisHEcalomatched
bool segmentisHEcalomatched
Definition: GlobalHaloData.h:89
reco::GlobalHaloData::SetSegmentIsEECaloMatched
void SetSegmentIsEECaloMatched(bool b)
Definition: GlobalHaloData.h:74
reco::GlobalHaloData::~GlobalHaloData
~GlobalHaloData()
Definition: GlobalHaloData.h:22
reco::GlobalHaloData::ecalebrhRefs
edm::RefVector< EcalRecHitCollection > ecalebrhRefs
Definition: GlobalHaloData.h:92
reco::GlobalHaloData::GetHaloPatternFoundHB
bool GetHaloPatternFoundHB() const
Definition: GlobalHaloData.h:61
MET.h
reco::GlobalHaloData::GetSegmentIsEECaloMatched
bool GetSegmentIsEECaloMatched() const
Definition: GlobalHaloData.h:57
reco::GlobalHaloData::GetHaloPatternFoundEB
bool GetHaloPatternFoundEB() const
Definition: GlobalHaloData.h:59
reco::GlobalHaloData::SetHaloPatternFoundHE
void SetHaloPatternFoundHE(bool b)
Definition: GlobalHaloData.h:78
reco::GlobalHaloData::GetSegmentIsHECaloMatched
bool GetSegmentIsHECaloMatched() const
Definition: GlobalHaloData.h:55
reco::GlobalHaloData::dMEx_
float dMEx_
Definition: GlobalHaloData.h:82
nanoDQM_cfi.RawMET
RawMET
Definition: nanoDQM_cfi.py:600
reco::GlobalHaloData::GetMatchedEcalPhiWedges
std::vector< PhiWedge > & GetMatchedEcalPhiWedges()
Definition: GlobalHaloData.h:42
reco::GlobalHaloData::GetHBHERechits
const edm::RefVector< HBHERecHitCollection > & GetHBHERechits() const
Definition: GlobalHaloData.h:52
CSCHaloData.h
reco::GlobalHaloData::SetSegmentIsEBCaloMatched
void SetSegmentIsEBCaloMatched(bool b)
Definition: GlobalHaloData.h:73
reco::GlobalHaloData::segmentisHBcalomatched
bool segmentisHBcalomatched
Definition: GlobalHaloData.h:89
reco::GlobalHaloData::ecaleerhRefs
edm::RefVector< EcalRecHitCollection > ecaleerhRefs
Definition: GlobalHaloData.h:93
reco::GlobalHaloData::GetEBRechits
const edm::RefVector< EcalRecHitCollection > & GetEBRechits() const
Definition: GlobalHaloData.h:46
reco::GlobalHaloData::DeltaSumEt
float DeltaSumEt() const
Definition: GlobalHaloData.h:34