9 using namespace sistrip;
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;
static constexpr auto TEC
std::vector< uint32_t >::const_iterator const_iterator
static const uint32_t invalid32_
std::ostream & operator<<(std::ostream &out, const ALILine &li)
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) ...
static constexpr auto TOB
std::vector< uint32_t > detIds_
static constexpr auto TIB
const_iterator end() const
static const uint16_t invalid_
Log< level::Warning, false > LogWarning
void init(const std::vector< uint32_t > &)
static constexpr auto TID
constexpr Detector det() const
get the detector field from this detid