45 default: exed =
false;
50 std::vector<HcalZDCDetId>::const_iterator
58 std::vector<HcalZDCDetId>::iterator
93 default: exed =
false;
102 default: exed =
false;
106 bool isPositive =
false;
107 if(zside == 1)isPositive =
true;
110 for (
int ich = ich1; ich < ich2; ich++){
122 else if(
id.channel() <= 0)
142 std::vector<DetId> vNeighborsDetId;
146 bool isPositive =
false;
147 if(zdcId.
zside()==1)isPositive =
true;
150 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
151 return vNeighborsDetId;
155 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
156 return vNeighborsDetId;
159 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
161 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
163 return vNeighborsDetId;
167 std::vector<DetId> vNeighborsDetId;
171 bool isPositive =
false;
172 if(zdcId.
zside()==1)isPositive =
true;
175 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
176 return vNeighborsDetId;
180 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
181 return vNeighborsDetId;
184 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
186 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
189 bool isPositive =
false;
190 if(zdcId.
zside()==1)isPositive =
true;
193 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
194 return vNeighborsDetId;
198 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
199 return vNeighborsDetId;
203 bool isPositive =
false;
204 if(zdcId.
zside()==1)isPositive =
true;
207 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
208 return vNeighborsDetId;
212 vNeighborsDetId.emplace_back(zdcDetId.
rawId());
213 return vNeighborsDetId;
216 return vNeighborsDetId;
221 std::cout <<
"ZdcTopology::east() not yet implemented" << std::endl;
222 std::vector<DetId> vNeighborsDetId;
223 return vNeighborsDetId;
228 std::cout <<
"ZdcTopology::west() not yet implemented" << std::endl;
229 std::vector<DetId> vNeighborsDetId;
230 return vNeighborsDetId;
235 std::cout <<
"ZdcTopology::north() not yet implemented" << std::endl;
236 std::vector<DetId> vNeighborsDetId;
237 return vNeighborsDetId;
241 std::cout <<
"ZdcTopology::south() not yet implemented" << std::endl;
242 std::vector<DetId> vNeighborsDetId;
243 return vNeighborsDetId;
247 std::cout <<
"ZdcTopology::up() not yet implemented" << std::endl;
248 std::vector<DetId> vNeighborsDetId;
249 return vNeighborsDetId;
253 std::cout <<
"ZdcTopology::down() not yet implemented" << std::endl;
254 std::vector<DetId> vNeighborsDetId;
255 return vNeighborsDetId;
static const int ICH_LUM_MAX
static const int ICH_EM_MAX
std::vector< DetId > north(const DetId &id) const override
void exclude(const HcalZDCDetId &id)
virtual std::vector< DetId > transverse(const DetId &id) const
int zside() const
get the z-side of the cell (1/-1)
std::vector< DetId > up(const DetId &id) const override
std::vector< DetId > east(const DetId &id) const override
bool validRaw(const HcalZDCDetId &id) const
uint32_t rawId() const
get the raw id
std::vector< DetId > west(const DetId &id) const override
virtual bool valid(const HcalZDCDetId &id) const
int lastCell(HcalZDCDetId::Section section) const
static const int ICH_RPD_MAX
virtual unsigned int ncells() const
return a count of valid cells (for dense indexing use)
Abs< T >::type abs(const T &t)
std::vector< HcalZDCDetId > exclusionList_
std::vector< DetId > down(const DetId &id) const override
int channel() const
get the channel
Section section() const
get the section
bool isExcluded(const HcalZDCDetId &id) const
int firstCell(HcalZDCDetId::Section section) const
static const int ICH_HAD_MAX
std::vector< DetId > south(const DetId &id) const override
virtual std::vector< DetId > longitudinal(const DetId &id) const