|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef JETEVENT_JETMAPBASE_H
8 #define JETEVENT_JETMAPBASE_H
52 typedef std::map<key_t, record_ptr_t>
map_t;
156 #if !defined(__REFLEX__) && !defined(__CLING__)
190 #if !defined(__REFLEX__) && !defined(__CLING__)
JetConstituentVector::iterator iterator
const record_t * get() const
char data[hepevt_bytes_allocation_ATLAS]
JetMapBase(const JetMapBase &base)=delete
No copy ctor, assignment.
Basic data class defines behavior for all Jet objects The Jet class is the principal data class for...
JetMapBase & operator=(const JetMapBase &base)=delete
map_t m_store
Store last valid record index / mutable size_t m_lastIndex; not used so remove it for simplicity /!
SG::OwnershipPolicy ownPolicy()
P data_t
Publish payload data type.
pointer wrapper, just to make certain the default pointers in maps are NULL
size_t key_t
Publish key type.
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
virtual size_t numberOfMoments(size_t jetIndex) const
const map_t & map() const
virtual void removeRecord(size_t jetIndex) const
remove a record
virtual void transferRecord(const JetMapBase< P > *fromMap, size_t oldIndex, size_t newIndex) const
transfer a record from an other map
record_ptr_t(record_t *r=NULL)
virtual ~JetMapBase()
destructor
const record_t * operator->() const
virtual bool retrieveData(size_t jetIndex, size_t keyIndex, data_t &data) const
Retrieve data.
virtual void clear(SG::OwnershipPolicy)
virtual bool addRecord(size_t jetIndex) const
Add a record.
virtual const data_t & accessData(size_t jetIndex, size_t keyIndex) const
virtual void assignRecord(size_t jetIndex, record_t *rec) const
assign a given record to a given jet
std::map< key_t, record_ptr_t > map_t
publish store type
const record_t & operator*() const
virtual void addData(size_t jetIndex, size_t keyIndex, const data_t &data) const
Add data.
virtual const record_t * getRecord(size_t jetIndex) const
get the full record for a given jet
std::vector< data_t > record_t
Publish record type.
SG::OwnershipPolicy m_ownPolicy
static const data_t m_nullData
Null data reference.