#include <FWItemRandomAccessor.h>
Public Types | |
typedef COLL | collection_type |
typedef V | collection_value_type |
typedef C | container_type |
Public Member Functions | |
template<> | |
const std::string & | classPurpose () |
template<> | |
const std::string & | classPurpose () |
template<> | |
const std::string & | classRegisterTypeName () |
template<> | |
const std::string & | classRegisterTypeName () |
template<> | |
const std::string & | classTypeName () |
template<> | |
const std::string & | classTypeName () |
FWItemDetSetAccessor (const TClass *iClass) | |
const void * | modelData (int iIndex) const |
const std::string & | purpose () const |
unsigned int | size () const |
const std::string & | typeName () const |
Public Member Functions inherited from FWItemRandomAccessorBase | |
const void * | data () const |
bool | isCollection () const |
const TClass * | modelType () const |
virtual void | reset () |
void | setData (const edm::ObjectWithDict &) |
override if id of an object should be different than the index More... | |
const TClass * | type () const |
virtual | ~FWItemRandomAccessorBase () |
Public Member Functions inherited from FWItemAccessorBase | |
FWItemAccessorBase () | |
virtual | ~FWItemAccessorBase () |
Static Public Member Functions | |
static const std::string & | classPurpose () |
static const std::string & | classRegisterTypeName () |
static const std::string & | classTypeName () |
Additional Inherited Members | |
Protected Member Functions inherited from FWItemRandomAccessorBase | |
FWItemRandomAccessorBase (const TClass *type, const std::type_info &modelTypeName) | |
void * | getDataPtr () const |
Protected Attributes inherited from FWItemRandomAccessorBase | |
void * | m_data |
const TClass * | m_modelType |
const TClass * | m_type |
Generic class for creating accessors for containers which are implemented as a container of containers. This for example includes DetSetVector
hence the name. Both the outer and the inner containers must follow the Random Access Container model and in particular must have a size() method. The outer collection must be iterable, while the inner collections must have an array subscript operator.
Definition at line 108 of file FWItemRandomAccessor.h.
typedef COLL FWItemDetSetAccessor< C, COLL, V >::collection_type |
Definition at line 112 of file FWItemRandomAccessor.h.
typedef V FWItemDetSetAccessor< C, COLL, V >::collection_value_type |
Definition at line 113 of file FWItemRandomAccessor.h.
typedef C FWItemDetSetAccessor< C, COLL, V >::container_type |
Definition at line 111 of file FWItemRandomAccessor.h.
|
inline |
Definition at line 115 of file FWItemRandomAccessor.h.
const std::string & FWItemDetSetAccessor< edm::DetSetVector< SiStripDigi > >::classPurpose | ( | ) |
Definition at line 35 of file FWItemTrackAccessors.cc.
const std::string & FWItemDetSetAccessor< edm::DetSetVector< PixelDigi > >::classPurpose | ( | ) |
Definition at line 36 of file FWItemTrackAccessors.cc.
|
static |
const std::string & FWItemDetSetAccessor< edm::DetSetVector< SiStripDigi > >::classRegisterTypeName | ( | ) |
Definition at line 35 of file FWItemTrackAccessors.cc.
const std::string & FWItemDetSetAccessor< edm::DetSetVector< PixelDigi > >::classRegisterTypeName | ( | ) |
Definition at line 36 of file FWItemTrackAccessors.cc.
|
static |
const std::string & FWItemDetSetAccessor< edm::DetSetVector< SiStripDigi > >::classTypeName | ( | ) |
Definition at line 35 of file FWItemTrackAccessors.cc.
const std::string & FWItemDetSetAccessor< edm::DetSetVector< PixelDigi > >::classTypeName | ( | ) |
Definition at line 36 of file FWItemTrackAccessors.cc.
|
static |
|
inlinevirtual |
Implements FWItemAccessorBase.
Definition at line 121 of file FWItemRandomAccessor.h.
References EnergyCorrector::c, FWItemRandomAccessorBase::getDataPtr(), mps_fire::i, and FWItemAccessorBase::size().
|
inline |
Definition at line 119 of file FWItemRandomAccessor.h.
|
inlinevirtual |
Implements FWItemAccessorBase.
Definition at line 138 of file FWItemRandomAccessor.h.
References EnergyCorrector::c, MillePedeFileConverter_cfg::e, FWItemRandomAccessorBase::getDataPtr(), and mps_fire::i.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
inline |
Definition at line 119 of file FWItemRandomAccessor.h.