#include <JetMomentMap.h>
|
virtual bool | setMoment (size_t jetIndex, size_t keyIndex, float_t moment) |
|
virtual bool | setMoment (size_t jetIndex, size_t keyIndex, float_t moment) const |
|
virtual bool | getMoment (size_t jetIndex, size_t keyIndex, float_t &moment) const |
|
virtual float_t | getMoment (size_t jetIndex, size_t keyIndex) const |
|
void | access () const |
|
virtual bool | addRecord (size_t jetIndex) const |
| Add a record. More...
|
|
virtual const record_t * | getRecord (size_t jetIndex) const |
| get the full record for a given jet More...
|
|
virtual void | assignRecord (size_t jetIndex, record_t *rec) const |
| assign a given record to a given jet More...
|
|
virtual void | addData (size_t jetIndex, size_t keyIndex, const data_t &data) const |
| Add data. More...
|
|
virtual bool | retrieveData (size_t jetIndex, size_t keyIndex, data_t &data) const |
| Retrieve data. More...
|
|
virtual const data_t & | accessData (size_t jetIndex, size_t keyIndex) const |
|
virtual size_t | numberOfMoments (size_t jetIndex) const |
|
virtual void | clear () |
|
virtual void | clear (SG::OwnershipPolicy) |
|
SG::OwnershipPolicy | ownPolicy () |
|
size_t | getNewId () |
|
Definition at line 55 of file JetMomentMap.h.
◆ base_t
◆ data_t
◆ float_t
◆ key_t
◆ map_t
◆ record_t
◆ tag_t
◆ access()
void JetMomentMap::access |
( |
| ) |
const |
|
inlineinherited |
◆ accessData()
◆ addData()
Add data.
This method adds data to an existing record.
- Parameters
-
jetIndex | index of the record in the store |
keyIndex | index of the data in the record |
data | reference to non-mdoifiable data to be stored in record |
Note that this method will overwrite any previously stored data at the (jetIndex,keyIndex) position.
◆ addRecord()
Add a record.
This method adds a record to the store and returns the index of this record to the client. The returned value is false
if the record already existed
- Parameters
-
JetIndex | reference to modifiable index, will contain the last index in the store. |
◆ assignRecord()
assign a given record to a given jet
The map will 'own' the given record : it will delete it when destructed. If a record already exist at jetIndex, it will be deleted.
- Parameters
-
jetIndex | index of the record in the store |
rec | pointer to the record to store. |
◆ clear() [1/2]
◆ clear() [2/2]
◆ getMoment() [1/2]
◆ getMoment() [2/2]
bool JetMomentMap::getMoment |
( |
size_t |
jetIndex, |
|
|
size_t |
keyIndex, |
|
|
float_t & |
moment |
|
) |
| const |
|
virtualinherited |
◆ getNewId()
size_t OrphanJetCounter::getNewId |
( |
| ) |
|
|
inlineinherited |
◆ getRecord()
get the full record for a given jet
◆ map() [1/2]
◆ map() [2/2]
◆ numberOfMoments()
◆ ownPolicy()
◆ removeRecord()
|
protectedvirtualinherited |
remove a record
Destroy the record associated to an entry.
- Parameters
-
jetIndex | identifier of the record to remove |
◆ reset()
void OrphanJetCounter::reset |
( |
| ) |
|
|
inlineprotectedinherited |
◆ retrieveData()
Retrieve data.
Retrieves data by index pair and stores result in client supplied variable. Returns false
if index pair (jetIndex,keyIndex) refers to non-existing entry, i.e. at least one of (jetIndex,keyIndex) is out of range.
- Parameters
-
jetIndex | index of record in store |
keyIndex | index of data in record |
data | reference to modifiable variable storing retrieved data |
Note that in case of an invalid index pair the original value of data
is not changed.
◆ setMoment() [1/2]
bool JetMomentMap::setMoment |
( |
size_t |
jetIndex, |
|
|
size_t |
keyIndex, |
|
|
float_t |
moment |
|
) |
| |
|
virtualinherited |
◆ setMoment() [2/2]
bool JetMomentMap::setMoment |
( |
size_t |
jetIndex, |
|
|
size_t |
keyIndex, |
|
|
float_t |
moment |
|
) |
| const |
|
virtualinherited |
◆ transferRecord()
|
protectedvirtualinherited |
transfer a record from an other map
- Parameters
-
fromMap | pointer to the other map |
oldIndex | identifier of the record in the other map |
newIndex | the identifier in this map |
◆ JetGlobalEventSetup
◆ instance
◆ m_counter
size_t OrphanJetCounter::m_counter |
|
protectedinherited |
◆ m_end
◆ m_nullData
◆ m_ownPolicy
◆ m_store
|
mutableprotectedinherited |
Store last valid record index / mutable size_t m_lastIndex; not used so remove it for simplicity /!
Data store
Definition at line 160 of file JetMapBase.h.
The documentation for this class was generated from the following files: