5#ifndef LARFCAL_REGION_H
6#define LARFCAL_REGION_H
25 LArFCAL_region(
unsigned int& minHash,
short int& nbEtaBins,
short int& nPhi,
26 float minEta,
float granulEta,
float minPhi,
float granulPhi,
bool fullSym,
27 short int& prevEtaSamp,
short int& nextEtaSamp);
35 short int phiN()
const;
short int phiN() const
number of phi bins
bool isEtaMin(const unsigned int &index) const
is the considered cell in the first eta bin of the region ?
~LArFCAL_region(void)=default
float phiGranularity() const
phi granularity
unsigned int hashMin() const
hash Id of the first cell of the region
short int prevSamplingRegion() const
region number of the prev region in sampling
bool fullTwoPi() const
true if detector covers full 2pi (== wraparound option in dictionary)
float etaGranularity() const
eta granularity
float etaMax() const
end eta
short int numberOfEta() const
number of eta bins in the whole region
bool isPhiMax(const unsigned int &index) const
is the considered cell in the last phi bin of the region ?
float phiMin() const
starting phi
float phiMax() const
end phi
float etaMin() const
starting eta
bool isEtaMax(const unsigned int &index) const
is the considered cell in the last eta bin of the region ?
bool isPhiMin(const unsigned int &index) const
is the considered cell in the first phi bin of the region ?
short int nextSamplingRegion() const
region number of the next region in sampling
unsigned int hashMax() const
hash Id of the last cell of the region +1