28 double pMin = 0.,
double pMax = 0. ) :
38 return ((other.
etaMin==etaMin) && (other.
etaMax==etaMax) &&
54 return ((other.
etaMin==etaMin) && (other.
etaMax==etaMax) &&
58 return ((other.
etaMin==etaMin) && (other.
etaMax==etaMax));
61 return ((other.
phiMax==phiMax) && (other.
phiMin==phiMin));
64 return ( (other.
etaMin-1 == etaMax) ||
65 (etaMin-1 == other.
etaMax ) );
68 return ( (other.
phiMin-1 == phiMax) ||
69 (phiMin-1 == other.
phiMax) );
77 static void convertRegions(std::list<deadIdRegion>
const& idregions,
78 std::vector<deadRegion>& regions);
79 static TMultiGraph *
graphRegions(std::vector<deadRegion>
const& regions);
bool adjacentPhi(deadIdRegion const &other)
static double const twopi
static bool inSiPMGeom(double eta, double phi, double delta_eta=0., double delta_phi=0.)
bool sameEta(deadIdRegion const &other)
static TMultiGraph * graphRegions(std::vector< deadRegion > const ®ions)
static void mergeRegionLists(std::list< deadIdRegion > &didregions)
deadRegion(deadRegion const &other)
static std::vector< uint32_t > deadIds
static double const phiMaxR0[]
static double const phiMinR12[]
static void initIds(edm::EventSetup const &eSetup)
deadIdRegion(int eMin=0, int eMax=0, int pMin=0, int pMax=0)
deadIdRegion(deadIdRegion const &other)
static int const etaBounds
static double const phiMinR0[]
bool samePhi(deadIdRegion const &other)
static void buildDeadAreas()
static bool inNotDeadGeom(double eta, double phi, double delta_eta=0., double delta_phi=0.)
bool adjacentEta(deadIdRegion const &other)
static void buildSiPMAreas()
static std::vector< deadRegion > deadRegions
static double const phiMaxR12[]
static bool isChannelDead(uint32_t id)
static TMultiGraph * graphSiPMRegions()
static bool inGeomAccept(double eta, double phi, double delta_eta=0., double delta_phi=0.)
static int const phiSectors
static std::vector< uint32_t > SiPMIds
static void convertRegions(std::list< deadIdRegion > const &idregions, std::vector< deadRegion > ®ions)
deadRegion(double eMin=0., double eMax=0., double pMin=0., double pMax=0.)
bool operator==(deadRegion const &other)
static TMultiGraph * graphDeadRegions()
static std::vector< deadRegion > SiPMRegions
static bool isChannelSiPM(uint32_t id)
def merge(dictlist, TELL=False)