144 bool isPositive =
false;
149 for (
int ich = ich1; ich < ich2; ich++) {
162 else if (
id.channel() <= 0)
180 std::vector<DetId> vNeighborsDetId;
184 bool isPositive =
false;
185 if (zdcId.
zside() == 1)
189 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
190 return vNeighborsDetId;
194 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
195 return vNeighborsDetId;
198 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
200 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
202 return vNeighborsDetId;
206 std::vector<DetId> vNeighborsDetId;
210 bool isPositive =
false;
211 if (zdcId.
zside() == 1)
215 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
216 return vNeighborsDetId;
220 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
221 return vNeighborsDetId;
224 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
226 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
229 bool isPositive =
false;
230 if (zdcId.
zside() == 1)
234 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
235 return vNeighborsDetId;
239 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
240 return vNeighborsDetId;
244 bool isPositive =
false;
245 if (zdcId.
zside() == 1)
249 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
250 return vNeighborsDetId;
254 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
255 return vNeighborsDetId;
258 return vNeighborsDetId;
262 edm::LogVerbatim(
"ForwardGeom") <<
"ZdcTopology::east() not yet implemented";
263 std::vector<DetId> vNeighborsDetId;
264 return vNeighborsDetId;
268 edm::LogVerbatim(
"ForwardGeom") <<
"ZdcTopology::west() not yet implemented";
269 std::vector<DetId> vNeighborsDetId;
270 return vNeighborsDetId;
274 edm::LogVerbatim(
"ForwardGeom") <<
"ZdcTopology::north() not yet implemented";
275 std::vector<DetId> vNeighborsDetId;
276 return vNeighborsDetId;
279 edm::LogVerbatim(
"ForwardGeom") <<
"ZdcTopology::south() not yet implemented";
280 std::vector<DetId> vNeighborsDetId;
281 return vNeighborsDetId;
285 std::vector<DetId> vNeighborsDetId;
286 return vNeighborsDetId;
289 edm::LogVerbatim(
"ForwardGeom") <<
"ZdcTopology::down() not yet implemented";
290 std::vector<DetId> vNeighborsDetId;
291 return vNeighborsDetId;
Log< level::Info, true > LogVerbatim
std::vector< DetId > down(const DetId &id) const override
void exclude(const HcalZDCDetId &id)
std::vector< DetId > up(const DetId &id) const override
std::vector< DetId > north(const DetId &id) const override
static constexpr int32_t kDepHAD
static constexpr int32_t kDepEM
std::vector< DetId > south(const DetId &id) const override
Abs< T >::type abs(const T &t)
virtual std::vector< DetId > transverse(const DetId &id) const
std::vector< HcalZDCDetId > exclusionList_
virtual bool valid(const HcalZDCDetId &id) const
int firstCell(HcalZDCDetId::Section section) const
std::vector< DetId > east(const DetId &id) const override
std::vector< DetId > west(const DetId &id) const override
constexpr uint32_t rawId() const
get the raw id
virtual unsigned int ncells() const
return a count of valid cells (for dense indexing use)
int lastCell(HcalZDCDetId::Section section) const
static constexpr int32_t kDepLUM
constexpr Section section() const
get the section
bool validRaw(const HcalZDCDetId &id) const
static constexpr int32_t kDepRPD
bool isExcluded(const HcalZDCDetId &id) const
constexpr int32_t channel() const
get the channel
constexpr int32_t zside() const
get the z-side of the cell (1/-1)
virtual std::vector< DetId > longitudinal(const DetId &id) const