CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/RecoEcal/EgammaCoreTools/interface/EcalEtaPhiRegion.h

Go to the documentation of this file.
00001 #ifndef RecoEcal_EgammaCoreTools_EcalEtaPhiRegion_h
00002 #define RecoEcal_EgammaCoreTools_EcalEtaPhiRegion_h
00003 
00004 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
00005 
00006 class EcalEtaPhiRegion
00007 {
00008  public:
00009 
00010   EcalEtaPhiRegion(double etaLow, double etaHigh, double phiLow, double phiHigh);
00011   ~EcalEtaPhiRegion() {};
00012 
00013   double etaLow() const { return etaLow_; }
00014   double etaHigh() const { return etaHigh_; }
00015   double phiLow() const { return phiLow_; }
00016   double phiHigh() const { return phiHigh_; }
00017 
00018   bool inRegion(const GlobalPoint& position) const;
00019 
00020  private:
00021 
00022   double etaLow_;
00023   double etaHigh_;
00024   double phiLow_;
00025   double phiHigh_;
00026 
00027 };
00028 
00029 #endif