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
37  reco::CaloMET GetCorrectedCaloMET(const reco::CaloMET& RawMET) const;
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
edm::RefVector< EcalRecHitCollection > ecalebrhRefs
const std::vector< PhiWedge > & GetMatchedEcalPhiWedges() const
bool GetHaloPatternFoundHB() const
void SetSegmentIsEECaloMatched(bool b)
bool GetSegmentIsHECaloMatched() const
const edm::RefVector< EcalRecHitCollection > & GetEERechits() const
void SetMETOverSumEt(float x)
bool GetHaloPatternFoundEB() const
std::vector< PhiWedge > & GetMatchedEcalPhiWedges()
edm::RefVector< EcalRecHitCollection > ecaleerhRefs
const edm::RefVector< EcalRecHitCollection > & GetEBRechits() const
void SetHaloPatternFoundHE(bool b)
bool GetSegmentIsEECaloMatched() const
const edm::RefVector< HBHERecHitCollection > & GetHBHERechits() const
void SetHaloPatternFoundEE(bool b)
edm::RefVector< HBHERecHitCollection > & GetHBHERechits()
float METOverSumEt() const
const std::vector< PhiWedge > & GetMatchedHcalPhiWedges() const
void SetSegmentIsEBCaloMatched(bool b)
float DeltaSumEt() const
std::vector< PhiWedge > EcalPhiWedges
reco::CaloMET GetCorrectedCaloMET(const reco::CaloMET &RawMET) const
float DeltaMEx() const
void SetMETCorrections(float x, float y)
double b
Definition: hdecay.h:120
bool GetHaloPatternFoundEE() const
std::vector< PhiWedge > HcalPhiWedges
float DeltaMEy() const
fixed size matrix
std::vector< PhiWedge > & GetMatchedHcalPhiWedges()
float x
void SetSegmentIsHECaloMatched(bool b)
edm::RefVector< HBHERecHitCollection > hbherhRefs
edm::RefVector< EcalRecHitCollection > & GetEBRechits()
bool GetSegmentIsEBCaloMatched() const
void SetSegmentIsHBCaloMatched(bool b)
edm::RefVector< EcalRecHitCollection > & GetEERechits()
bool GetHaloPatternFoundHE() const
void SetHaloPatternFoundHB(bool b)
bool GetSegmentIsHBCaloMatched() const
void SetHaloPatternFoundEB(bool b)