14 : detIds_(), id_(0), iter_(detIds_.
begin()) {
16 <<
" Constructing object...";
24 <<
" Constructing object...";
27 std::vector<DetId>::const_iterator iter = det_ids.begin();
28 for (; iter != det_ids.end(); ++iter) {
29 detIds_.push_back(iter->rawId());
38 <<
" Constructing object...";
47 <<
" Constructing object...";
54 <<
" Destructing object...";
64 for (; iter != raw_ids.end(); ++iter) {
72 <<
" DetId 0x" << std::hex << std::setw(8) << std::setfill(
'0') << *iter
73 <<
" is not from the strip tracker!";
87 ss <<
"[SiStripHashedDetId::" << __func__ <<
"]" 88 <<
" Found " << input.
end() - input.
begin() <<
" entries in DetId hash map:" << std::endl;
90 for (; iter != input.
end(); ++iter) {
91 ss <<
" Index: " <<
std::dec << std::setw(5) << std::setfill(
' ') << iter - input.
begin() <<
" DetId: 0x" 92 << std::hex << std::setw(8) << std::setfill(
'0') << *iter << std::endl;
std::vector< uint32_t >::const_iterator const_iterator
static const uint32_t invalid32_
Provides dense hash map in place of DetId.
static std::string const input
const_iterator begin() const
static const char mlCabling_[]
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
std::vector< uint32_t > detIds_
const_iterator end() const
static const uint16_t invalid_
void init(const std::vector< uint32_t > &)
std::ostream & operator<<(std::ostream &os, const SiStripHashedDetId &input)
constexpr Detector det() const
get the detector field from this detid