CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
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:118
std::vector< PhiWedge > HcalPhiWedges
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)