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 
19  public:
20  // Constructor
22  // Destructor
24 
25  //A good cut-variable to isolate halo events with no overlapping physics from collisions
26  float METOverSumEt() const {return METOverSumEt_;}
27 
28  //Correction to CaloMET x-component
29  float DeltaMEx() const {return dMEx_;}
30 
31  //Correction to CaloMET y-component
32  float DeltaMEy() const {return dMEy_;}
33 
34  //Correction to SumEt
35  float DeltaSumEt() const { return dSumEt_;}
36 
37  //Get CaloMET Object corrected for BeamHalo
38  reco::CaloMET GetCorrectedCaloMET(const reco::CaloMET& RawMET) const ;
39 
40  std::vector<PhiWedge>& GetMatchedHcalPhiWedges(){return HcalPhiWedges;}
41  const std::vector<PhiWedge>& GetMatchedHcalPhiWedges() const {return HcalPhiWedges;}
42 
43  std::vector<PhiWedge>& GetMatchedEcalPhiWedges(){return EcalPhiWedges;}
44  const std::vector<PhiWedge>& GetMatchedEcalPhiWedges() const {return EcalPhiWedges;}
45 
46 
47 
50 
53 
56 
57 
62 
67 
68 
69 
70  //Setters
71  void SetMETOverSumEt(float x){METOverSumEt_=x;}
72  void SetMETCorrections(float x, float y) { dMEx_ =x ; dMEy_ = y;}
73 
82 
83 
84 
85 
86 
87  private:
88 
90  float dMEx_;
91  float dMEy_;
92  float dSumEt_;
93 
94  std::vector<PhiWedge> HcalPhiWedges;
95  std::vector<PhiWedge> EcalPhiWedges;
96 
99 
103 
104  };
105 }
106 #endif
bool GetSegmentIsEECaloMatched() const
edm::RefVector< EcalRecHitCollection > ecalebrhRefs
void SetSegmentIsEECaloMatched(bool b)
void SetMETOverSumEt(float x)
std::vector< PhiWedge > & GetMatchedEcalPhiWedges()
const edm::RefVector< HBHERecHitCollection > & GetHBHERechits() const
edm::RefVector< EcalRecHitCollection > ecaleerhRefs
bool GetHaloPatternFoundEE() const
const edm::RefVector< EcalRecHitCollection > & GetEBRechits() const
void SetHaloPatternFoundHE(bool b)
float DeltaMEx() const
bool GetSegmentIsHECaloMatched() const
bool GetSegmentIsEBCaloMatched() const
float DeltaMEy() const
void SetHaloPatternFoundEE(bool b)
edm::RefVector< HBHERecHitCollection > & GetHBHERechits()
void SetSegmentIsEBCaloMatched(bool b)
float DeltaSumEt() const
std::vector< PhiWedge > EcalPhiWedges
const edm::RefVector< EcalRecHitCollection > & GetEERechits() const
bool GetHaloPatternFoundHE() const
reco::CaloMET GetCorrectedCaloMET(const reco::CaloMET &RawMET) const
const std::vector< PhiWedge > & GetMatchedEcalPhiWedges() const
bool GetHaloPatternFoundHB() const
void SetMETCorrections(float x, float y)
const std::vector< PhiWedge > & GetMatchedHcalPhiWedges() const
double b
Definition: hdecay.h:120
std::vector< PhiWedge > HcalPhiWedges
fixed size matrix
float METOverSumEt() const
std::vector< PhiWedge > & GetMatchedHcalPhiWedges()
void SetSegmentIsHECaloMatched(bool b)
edm::RefVector< HBHERecHitCollection > hbherhRefs
edm::RefVector< EcalRecHitCollection > & GetEBRechits()
void SetSegmentIsHBCaloMatched(bool b)
edm::RefVector< EcalRecHitCollection > & GetEERechits()
bool GetHaloPatternFoundEB() const
bool GetSegmentIsHBCaloMatched() const
void SetHaloPatternFoundHB(bool b)
void SetHaloPatternFoundEB(bool b)