test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
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  //Setters
47  void SetMETOverSumEt(float x){METOverSumEt_=x;}
48  void SetMETCorrections(float x, float y) { dMEx_ =x ; dMEy_ = y;}
49  private:
50 
52  float dMEx_;
53  float dMEy_;
54  float dSumEt_;
55 
56  std::vector<PhiWedge> HcalPhiWedges;
57  std::vector<PhiWedge> EcalPhiWedges;
58  };
59 }
60 #endif
void SetMETOverSumEt(float x)
std::vector< PhiWedge > & GetMatchedEcalPhiWedges()
float DeltaMEx() const
float DeltaMEy() const
float DeltaSumEt() const
std::vector< PhiWedge > EcalPhiWedges
reco::CaloMET GetCorrectedCaloMET(const reco::CaloMET &RawMET) const
const std::vector< PhiWedge > & GetMatchedEcalPhiWedges() const
void SetMETCorrections(float x, float y)
const std::vector< PhiWedge > & GetMatchedHcalPhiWedges() const
std::vector< PhiWedge > HcalPhiWedges
float METOverSumEt() const
std::vector< PhiWedge > & GetMatchedHcalPhiWedges()