1 #ifndef DataFormats_Math_RectangularEtaPhiRegion_h
2 #define DataFormats_Math_RectangularEtaPhiRegion_h
9 :
ceta(0.5
f * (etaHigh + etaLow)),
deta(0.5
f * std::
abs(etaHigh - etaLow)) {
10 phiHigh =
proxim(phiHigh, phiLow);
11 constexpr
float c1 = 2. *
M_PI;
constexpr T proxim(T b, T a)
Abs< T >::type abs(const T &t)
RectangularEtaPhiRegion(float etaLow, float etaHigh, float phiLow, float phiHigh)
bool inRegion(float eta, float phi) const