this is a simple class that takes care of building a dense index for a set of categories the maximum number of items expected in each category is encoded in the IndexRanges_t the class is templated for the number of categories to use More...
#include <HGCalDenseIndexerBase.h>
Public Member Functions | |
uint32_t | denseIndex (std::vector< uint32_t > v) const |
uint32_t | getMaxIndex () const |
HGCalDenseIndexerBase () | |
HGCalDenseIndexerBase (int n) | |
HGCalDenseIndexerBase (std::vector< uint32_t > const &o) | |
std::vector< uint32_t > | unpackDenseIndex (uint32_t rtn) const |
void | updateRanges (std::vector< uint32_t > const &o) |
~HGCalDenseIndexerBase ()=default | |
Private Member Functions | |
void | check (size_t osize) const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
uint32_t | maxIdx_ |
uint32_t | n_ |
std::vector< uint32_t > | vmax_ |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
this is a simple class that takes care of building a dense index for a set of categories the maximum number of items expected in each category is encoded in the IndexRanges_t the class is templated for the number of categories to use
Definition at line 14 of file HGCalDenseIndexerBase.h.
|
inline |
Definition at line 16 of file HGCalDenseIndexerBase.h.
|
inline |
Definition at line 18 of file HGCalDenseIndexerBase.h.
|
inline |
Definition at line 20 of file HGCalDenseIndexerBase.h.
References EcalTangentSkim_cfg::o, and updateRanges().
|
default |
|
inlineprivate |
Definition at line 53 of file HGCalDenseIndexerBase.h.
Referenced by updateRanges().
|
inline |
Definition at line 28 of file HGCalDenseIndexerBase.h.
References mps_fire::i, n_, findQualityFiles::v, and vmax_.
Referenced by HGCalMappingModuleIndexer::denseIndexingFor(), and HGCalMappingModuleIndexer::processNewModule().
|
inline |
|
private |
|
inline |
|
inline |
Definition at line 22 of file HGCalDenseIndexerBase.h.
References check(), maxIdx_, EcalTangentSkim_cfg::o, and vmax_.
Referenced by HGCalDenseIndexerBase().
|
friend |
Definition at line 63 of file HGCalDenseIndexerBase.h.
|
friend |
Definition at line 63 of file HGCalDenseIndexerBase.h.
|
private |
Definition at line 60 of file HGCalDenseIndexerBase.h.
Referenced by getMaxIndex(), and updateRanges().
|
private |
Definition at line 59 of file HGCalDenseIndexerBase.h.
Referenced by check(), denseIndex(), and unpackDenseIndex().
|
private |
Definition at line 61 of file HGCalDenseIndexerBase.h.
Referenced by denseIndex(), unpackDenseIndex(), and updateRanges().