148 bool isPositive =
false;
153 for (
int ich = ich1; ich < ich2; ich++) {
166 else if (
id.channel() <= 0)
185 std::vector<DetId> vNeighborsDetId;
189 bool isPositive =
false;
190 if (zdcId.
zside() == 1)
194 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
195 return vNeighborsDetId;
199 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
200 return vNeighborsDetId;
203 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
205 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
207 return vNeighborsDetId;
211 std::vector<DetId> vNeighborsDetId;
215 bool isPositive =
false;
216 if (zdcId.
zside() == 1)
220 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
221 return vNeighborsDetId;
225 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
226 return vNeighborsDetId;
229 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
231 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
234 bool isPositive =
false;
235 if (zdcId.
zside() == 1)
239 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
240 return vNeighborsDetId;
244 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
245 return vNeighborsDetId;
249 bool isPositive =
false;
250 if (zdcId.
zside() == 1)
254 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
255 return vNeighborsDetId;
259 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
260 return vNeighborsDetId;
263 return vNeighborsDetId;
267 edm::LogVerbatim(
"ForwardGeom") <<
"ZdcTopology::east() not yet implemented";
268 std::vector<DetId> vNeighborsDetId;
269 return vNeighborsDetId;
273 edm::LogVerbatim(
"ForwardGeom") <<
"ZdcTopology::west() not yet implemented";
274 std::vector<DetId> vNeighborsDetId;
275 return vNeighborsDetId;
279 edm::LogVerbatim(
"ForwardGeom") <<
"ZdcTopology::north() not yet implemented";
280 std::vector<DetId> vNeighborsDetId;
281 return vNeighborsDetId;
284 edm::LogVerbatim(
"ForwardGeom") <<
"ZdcTopology::south() not yet implemented";
285 std::vector<DetId> vNeighborsDetId;
286 return vNeighborsDetId;
290 std::vector<DetId> vNeighborsDetId;
291 return vNeighborsDetId;
294 edm::LogVerbatim(
"ForwardGeom") <<
"ZdcTopology::down() not yet implemented";
295 std::vector<DetId> vNeighborsDetId;
296 return vNeighborsDetId;
static const int ICH_LUM_MAX
static const int ICH_EM_MAX
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 const int ICH_RPD_MAX
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
constexpr Section section() const
get the section
bool validRaw(const HcalZDCDetId &id) const
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)
static const int ICH_HAD_MAX
virtual std::vector< DetId > longitudinal(const DetId &id) const