#include <HcalItemCollById.h>
Public Types | |
typedef Item | value_type |
Public Member Functions | |
const Item & | at (const HcalDetId &id) const |
const Item * | get (const HcalDetId &id) const |
const Item * | getByIndex (const unsigned index) const |
const Item * | getDefault () const |
unsigned | getIndex (const HcalDetId &id) const |
HcalItemCollById () | |
HcalItemCollById (const HcalItemColl< Item > &coll, const HcalIndexLookup &indexLookupTable, const unsigned detIdTransformCode, std::unique_ptr< Item > defaultItem) | |
void | setDefault (std::unique_ptr< Item > f) |
std::size_t | size () const |
~HcalItemCollById () override | |
Public Member Functions inherited from AbsHcalAlgoData | |
bool | operator!= (const AbsHcalAlgoData &r) const |
bool | operator== (const AbsHcalAlgoData &r) const |
virtual | ~AbsHcalAlgoData () |
Protected Member Functions | |
bool | isEqual (const AbsHcalAlgoData &other) const override |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, unsigned) |
Private Attributes | |
HcalItemColl< Item > | coll_ |
std::shared_ptr< Item > | default_ |
HcalIndexLookup | lookup_ |
uint32_t | transformCode_ |
Friends | |
class | boost::serialization::access |
Definition at line 27 of file HcalItemCollById.h.
typedef Item HcalItemCollById< Item >::value_type |
Definition at line 29 of file HcalItemCollById.h.
|
inline |
Definition at line 32 of file HcalItemCollById.h.
|
inline |
Definition at line 35 of file HcalItemCollById.h.
References HcalItemCollById< Item >::coll_, HcalIndexLookup::hasDuplicateIds(), HcalIndexLookup::InvalidIndex, HcalIndexLookup::largestIndex(), HcalItemCollById< Item >::lookup_, ApeEstimator_cff::maxIndex, HcalItemCollById< Item >::transformCode_, and HcalDetIdTransform::validateCode().
|
inlineoverride |
Definition at line 57 of file HcalItemCollById.h.
|
inline |
Definition at line 90 of file HcalItemCollById.h.
References Exception, HcalItemCollById< Item >::getByIndex(), and HcalItemCollById< Item >::getIndex().
Referenced by HFFlexibleTimeCheck::reconstruct().
|
inline |
Definition at line 86 of file HcalItemCollById.h.
References HcalItemCollById< Item >::getByIndex(), and HcalItemCollById< Item >::getIndex().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
inline |
Definition at line 77 of file HcalItemCollById.h.
References HcalItemCollById< Item >::coll_, and HcalItemCollById< Item >::default_.
Referenced by HcalItemCollById< Item >::at(), and HcalItemCollById< Item >::get().
|
inline |
|
inline |
Definition at line 69 of file HcalItemCollById.h.
References HcalIndexLookup::find(), HcalItemCollById< Item >::lookup_, HcalDetIdTransform::transform(), and HcalItemCollById< Item >::transformCode_.
Referenced by HcalItemCollById< Item >::at(), and HcalItemCollById< Item >::get().
|
inlineoverrideprotectedvirtual |
Implements AbsHcalAlgoData.
Definition at line 98 of file HcalItemCollById.h.
References HcalItemCollById< Item >::coll_, HcalItemCollById< Item >::default_, HcalItemCollById< Item >::lookup_, trackingPlots::other, alignCSCRings::r, and HcalItemCollById< Item >::transformCode_.
|
inlineprivate |
Definition at line 126 of file HcalItemCollById.h.
References HcalItemCollById< Item >::coll_, HcalItemCollById< Item >::default_, HcalItemCollById< Item >::lookup_, and HcalItemCollById< Item >::transformCode_.
|
inline |
Definition at line 60 of file HcalItemCollById.h.
References HcalItemCollById< Item >::default_, and f.
Referenced by VarParsing.VarParsing::__setattr__(), VarParsing.VarParsing::parseArguments(), and VarParsing.VarParsing::setType().
|
inline |
Definition at line 63 of file HcalItemCollById.h.
References HcalItemCollById< Item >::coll_.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
friend |
Definition at line 123 of file HcalItemCollById.h.
|
private |
Definition at line 118 of file HcalItemCollById.h.
Referenced by HcalItemCollById< Item >::getByIndex(), HcalItemCollById< Item >::HcalItemCollById(), HcalItemCollById< Item >::isEqual(), HcalItemCollById< Item >::serialize(), and HcalItemCollById< Item >::size().
|
private |
Definition at line 120 of file HcalItemCollById.h.
Referenced by HcalItemCollById< Item >::getByIndex(), HcalItemCollById< Item >::getDefault(), HcalItemCollById< Item >::isEqual(), HcalItemCollById< Item >::serialize(), and HcalItemCollById< Item >::setDefault().
|
private |
Definition at line 119 of file HcalItemCollById.h.
Referenced by HcalItemCollById< Item >::getIndex(), HcalItemCollById< Item >::HcalItemCollById(), HcalItemCollById< Item >::isEqual(), and HcalItemCollById< Item >::serialize().
|
private |
Definition at line 121 of file HcalItemCollById.h.
Referenced by HcalItemCollById< Item >::getIndex(), HcalItemCollById< Item >::HcalItemCollById(), HcalItemCollById< Item >::isEqual(), and HcalItemCollById< Item >::serialize().