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...";
41 std::vector<uint32_t> raw_ids;
42 raw_ids.reserve(
input.size());
54 <<
" Constructing object...";
61 <<
" Destructing object...";
71 for (; iter != raw_ids.end(); ++iter) {
79 <<
" DetId 0x" << std::hex << std::setw(8) << std::setfill(
'0') << *iter
80 <<
" is not from the strip tracker!";
94 ss <<
"[SiStripHashedDetId::" << __func__ <<
"]" 95 <<
" Found " <<
input.end() -
input.begin() <<
" entries in DetId hash map:" << std::endl;
97 for (; iter !=
input.end(); ++iter) {
98 ss <<
" Index: " <<
std::dec << std::setw(5) << std::setfill(
' ') << iter -
input.begin() <<
" DetId: 0x" 99 << std::hex << std::setw(8) << std::setfill(
'0') << *iter << std::endl;
static constexpr auto TEC
std::vector< uint32_t >::const_iterator const_iterator
static const uint32_t invalid32_
constexpr Detector det() const
get the detector field from this detid
Provides dense hash map in place of DetId.
static std::string const input
static const char mlCabling_[]
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
static constexpr auto TOB
std::vector< uint32_t > detIds_
static constexpr auto TIB
static const uint16_t invalid_
Log< level::Warning, false > LogWarning
void init(const std::vector< uint32_t > &)
static constexpr auto TID
std::ostream & operator<<(std::ostream &os, const SiStripHashedDetId &input)