9 auto& zone0 =
zones_.emplace_back();
10 zone0.lut_[0] = {4, 26};
11 zone0.lut_[3] = {4, 25};
12 zone0.lut_[5] = {4, 25};
13 zone0.lut_[7] = {4, 25};
14 zone0.lut_[9] = {17, 26};
15 zone0.lut_[12] = {7, 25};
16 zone0.lut_[14] = {4, 25};
17 zone0.lut_[16] = {4, 25};
18 zone0.lut_[18] = {4, 23};
20 auto& zone1 =
zones_.emplace_back();
21 zone1.lut_[0] = {24, 53};
22 zone1.lut_[1] = {46, 54};
23 zone1.lut_[3] = {23, 49};
24 zone1.lut_[5] = {23, 41};
25 zone1.lut_[6] = {44, 54};
26 zone1.lut_[7] = {23, 35};
27 zone1.lut_[8] = {38, 54};
28 zone1.lut_[9] = {24, 52};
29 zone1.lut_[10] = {52, 56};
30 zone1.lut_[12] = {23, 46};
31 zone1.lut_[14] = {23, 36};
32 zone1.lut_[15] = {40, 52};
33 zone1.lut_[16] = {23, 31};
34 zone1.lut_[17] = {35, 54};
36 auto& zone2 =
zones_.emplace_back();
37 zone2.lut_[1] = {52, 88};
38 zone2.lut_[4] = {52, 88};
39 zone2.lut_[6] = {50, 88};
40 zone2.lut_[8] = {50, 88};
41 zone2.lut_[10] = {52, 84};
42 zone2.lut_[13] = {52, 88};
43 zone2.lut_[15] = {48, 84};
44 zone2.lut_[17] = {52, 84};
59 for (
const auto& zone :
zones_) {
60 bool in_zone = zone.contains(
host,
theta);
76 for (
const auto& zone :
zones_) {
77 bool in_zone = zone.contains(
host, theta1, theta2);
97 auto& theta_range =
found->second;
99 if (theta_range.first <=
theta &&
theta <= theta_range.second) {
114 auto& theta_range =
found->second;
116 if (theta_range.first <= theta1 && theta1 <= theta_range.second) {
120 if (theta_range.first <= theta2 && theta2 <= theta_range.second) {
void update(const edm::Event &, const edm::EventSetup &)
std::map< int, std::pair< int, int > > lut_
int getZones(const int &, const int &) const
std::vector< Zone > zones_
bool contains(const int &, const int &) const
Geom::Theta< T > theta() const