8#ifndef CELLCLUSTERLOOKUP
9#define CELLCLUSTERLOOKUP 200000
#define CELLCLUSTERLOOKUP
bool check(size_t hash) const
Safe checking if cell is used by any cluster.
CaloCellClusterWeights()
Default constructor.
std::tuple< bool, weight_t > value_t
Type of payload.
void reset()
Reset the store.
bool fastCheck(size_t hash) const
Fast checking if cell is used by any cluster.
std::vector< double > weight_t
Type of weight.
weight_t m_defaultValue
Default (empty) entry.
virtual ~CaloCellClusterWeights()
Destructor.
size_t size() const
Store size.
const weight_t & at(size_t hash) const
Accessing value using function and hash.
store_t m_hashTable
Store implementation.
void clear()
Clear the store.
void set(size_t hash, double value)
const weight_t & operator[](size_t hash) const
Data object for each calorimeter readout cell.
const CaloDetDescrElement * caloDDE() const
get pointer to CaloDetDescrElement (data member)
IdentifierHash calo_hash() const
cell calo hash