#include <HcalItemArrayCollById.h>
Public Types | |
typedef HcalItemArrayColl< Item, N >::InputArray | InputArray |
typedef Item | value_type |
Public Member Functions | |
const Item & | at (const HcalDetId &id, const unsigned arrayIndex) const |
const Item * | get (const HcalDetId &id, const unsigned arrayIndex) const |
const Item * | getByIndex (const unsigned itemIndex, const unsigned arrayIndex) const |
const Item * | getDefault (const unsigned arrayIndex) const |
unsigned | getIndex (const HcalDetId &id) const |
HcalItemArrayCollById () | |
HcalItemArrayCollById (const HcalItemArrayColl< Item, N > &coll, const HcalIndexLookup &indexLookupTable, const unsigned detIdTransformCode, InputArray &defaultFunctors) | |
void | setDefault (InputArray &arr) |
std::size_t | size () const |
virtual | ~HcalItemArrayCollById () |
Public Member Functions inherited from AbsHcalAlgoData | |
bool | operator!= (const AbsHcalAlgoData &r) const |
bool | operator== (const AbsHcalAlgoData &r) const |
virtual | ~AbsHcalAlgoData () |
Static Public Member Functions | |
static unsigned | arraySize () |
Protected Member Functions | |
virtual bool | isEqual (const AbsHcalAlgoData &other) const override |
Private Types | |
typedef boost::array< boost::shared_ptr< Item >, N > | StoredArray |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, unsigned) |
Private Attributes | |
HcalItemArrayColl< Item, N > | coll_ |
StoredArray | default_ |
HcalIndexLookup | lookup_ |
uint32_t | transformCode_ |
Friends | |
class | boost::serialization::access |
Definition at line 27 of file HcalItemArrayCollById.h.
typedef HcalItemArrayColl<Item,N>::InputArray HcalItemArrayCollById< Item, N >::InputArray |
Definition at line 31 of file HcalItemArrayCollById.h.
|
private |
Definition at line 146 of file HcalItemArrayCollById.h.
typedef Item HcalItemArrayCollById< Item, N >::value_type |
Definition at line 30 of file HcalItemArrayCollById.h.
|
inline |
Definition at line 35 of file HcalItemArrayCollById.h.
|
inline |
Definition at line 39 of file HcalItemArrayCollById.h.
References HcalItemArrayCollById< Item, N >::coll_, HcalIndexLookup::hasDuplicateIds(), HcalIndexLookup::InvalidIndex, HcalIndexLookup::largestIndex(), HcalItemArrayCollById< Item, N >::lookup_, ApeEstimator_cff::maxIndex, HcalItemArrayCollById< Item, N >::setDefault(), HcalItemArrayCollById< Item, N >::transformCode_, and HcalDetIdTransform::validateCode().
|
inlinevirtual |
Definition at line 66 of file HcalItemArrayCollById.h.
|
inlinestatic |
|
inline |
Definition at line 111 of file HcalItemArrayCollById.h.
References Exception, f, HcalItemArrayCollById< Item, N >::getByIndex(), and HcalItemArrayCollById< Item, N >::getIndex().
|
inline |
Definition at line 106 of file HcalItemArrayCollById.h.
References HcalItemArrayCollById< Item, N >::getByIndex(), and HcalItemArrayCollById< Item, N >::getIndex().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
inline |
Definition at line 85 of file HcalItemArrayCollById.h.
References HcalItemArrayCollById< Item, N >::coll_, HcalItemArrayCollById< Item, N >::default_, f, and N.
Referenced by HcalItemArrayCollById< Item, N >::at(), and HcalItemArrayCollById< Item, N >::get().
|
inline |
Definition at line 96 of file HcalItemArrayCollById.h.
References HcalItemArrayCollById< Item, N >::default_, and N.
|
inline |
Definition at line 79 of file HcalItemArrayCollById.h.
References HcalIndexLookup::find(), HcalItemArrayCollById< Item, N >::lookup_, HcalDetIdTransform::transform(), and HcalItemArrayCollById< Item, N >::transformCode_.
Referenced by HcalItemArrayCollById< Item, N >::at(), and HcalItemArrayCollById< Item, N >::get().
|
inlineoverrideprotectedvirtual |
Implements AbsHcalAlgoData.
Definition at line 121 of file HcalItemArrayCollById.h.
References HcalItemArrayCollById< Item, N >::coll_, HcalItemArrayCollById< Item, N >::default_, HcalItemArrayCollById< Item, N >::lookup_, N, trackingPlots::other, alignCSCRings::r, and HcalItemArrayCollById< Item, N >::transformCode_.
|
inlineprivate |
Definition at line 156 of file HcalItemArrayCollById.h.
References HcalItemArrayCollById< Item, N >::transformCode_.
|
inline |
Definition at line 69 of file HcalItemArrayCollById.h.
References HcalItemArrayCollById< Item, N >::default_, mps_fire::i, N, and fetchall_from_DQM_v2::release.
Referenced by VarParsing.VarParsing::__setattr__(), HcalItemArrayCollById< Item, N >::HcalItemArrayCollById(), VarParsing.VarParsing::parseArguments(), and VarParsing.VarParsing::setType().
|
inline |
Definition at line 76 of file HcalItemArrayCollById.h.
References HcalItemArrayCollById< Item, N >::coll_.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
friend |
Definition at line 153 of file HcalItemArrayCollById.h.
|
private |
Definition at line 148 of file HcalItemArrayCollById.h.
Referenced by HcalItemArrayCollById< Item, N >::getByIndex(), HcalItemArrayCollById< Item, N >::HcalItemArrayCollById(), HcalItemArrayCollById< Item, N >::isEqual(), and HcalItemArrayCollById< Item, N >::size().
|
private |
Definition at line 150 of file HcalItemArrayCollById.h.
Referenced by HcalItemArrayCollById< Item, N >::getByIndex(), HcalItemArrayCollById< Item, N >::getDefault(), HcalItemArrayCollById< Item, N >::isEqual(), and HcalItemArrayCollById< Item, N >::setDefault().
|
private |
Definition at line 149 of file HcalItemArrayCollById.h.
Referenced by HcalItemArrayCollById< Item, N >::getIndex(), HcalItemArrayCollById< Item, N >::HcalItemArrayCollById(), and HcalItemArrayCollById< Item, N >::isEqual().
|
private |
Definition at line 151 of file HcalItemArrayCollById.h.
Referenced by HcalItemArrayCollById< Item, N >::getIndex(), HcalItemArrayCollById< Item, N >::HcalItemArrayCollById(), HcalItemArrayCollById< Item, N >::isEqual(), and HcalItemArrayCollById< Item, N >::serialize().