|
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef CALOEVENT_CALOCELLCLUSTERWEIGHTS_H
5 #define CALOEVENT_CALOCELLCLUSTERWEIGHTS_H
29 typedef std::tuple<bool,weight_t>
value_t;
136 static std::string
key(
const std::string& pref);
JetConstituentVector::iterator iterator
virtual ~CaloCellClusterWeights()
Destructor.
store_t m_hashTable
Store implementation.
store_t::iterator iterator
Iterator type.
void reset()
Reset the store.
std::vector< double > weight_t
Type of weight.
bool check(size_t hash) const
Safe checking if cell is used by any cluster.
const store_t & store() const
Read-only access to underlying store.
const_iterator begin() const
Constant access iterator pointing to beginning of the store.
bool fastCheck(size_t hash) const
Fast checking if cell is used by any cluster.
void set(size_t hash, double value)
const weight_t & at(size_t hash) const
Accessing value using function and hash.
const weight_t & operator[](size_t hash) const
std::vector< value_t > store_t
Store type.
static std::string key(const std::string &pref)
Construct a SG key for this object.
size_t reserve() const
Reserved memory.
size_t size() const
Store size.
std::tuple< bool, weight_t > value_t
Type of payload.
void clear()
Clear the store.
Hash lookup of calibration weights for calorimeter cells.
Data object for each calorimeter readout cell.
store_t::const_iterator const_iterator
Iterator type for const access.
CaloCellClusterWeights()
Default constructor.
const_iterator end() const
Constant iterator indicating the end of the store.
macros to associate a CLID to a type
weight_t m_defaultValue
Default (empty) entry.