14 for (
IdentifierHash cellHash=emHashBegin;cellHash != emHashEnd; cellHash+=1) {
22 if (!emHashRanges[sys].is_valid())
23 emHashRanges[sys]=cellHash;
bool is_em_endcap(const Identifier id) const
test if the id belongs to the EM Endcap
bool is_em_barrel(const Identifier id) const
test if the id belongs to the EM barrel
void calo_cell_hash_range(const Identifier id, IdentifierHash &caloCellMin, IdentifierHash &caloCellMax) const
to loop on 'global' cell hashes of one sub-calorimeter alone
int pos_neg(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
Identifier cell_id(const int subCalo, const int barec_or_posneg, const int sampling_or_fcalmodule, const int region_or_dummy, const int eta, const int phi) const
Make a cell (== channel) ID from constituting fields and subCalo index; for (Mini)FCAL,...
Helper class for offline cell identifiers.
std::size_t m_maxLArCells
std::size_t m_maxTileCells
std::map< SYSTEM, IdentifierHash > m_hashOffsets
CaloNoiseHashRanges()=delete
This is a "hash" representation of an Identifier.