#include <JetMomentMap.h>
|  | 
|  | JetMomentMap () | 
|  | 
| virtual | ~JetMomentMap () | 
|  | 
| 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 () | 
|  | 
- Author
- Peter Loch loch@.nosp@m.phys.nosp@m.ics.a.nosp@m.rizo.nosp@m.na.ed.nosp@m.u 
- 
Rolf Seuster Rolf..nosp@m.Seus.nosp@m.ter@c.nosp@m.ern..nosp@m.ch 
- 
Michel Lefebvre lefeb.nosp@m.vre@.nosp@m.uvic..nosp@m.ca
- Date
- June 29, 2006
DEPRECIATED. Jets now store moment internally
Keyed store for jet moments. The key is the pointer to the Jet, and the data is a JetMomentStore. 
Definition at line 20 of file JetMomentMap.h.
◆ base_t
◆ data_t
◆ float_t
◆ key_t
◆ map_t
◆ record_t
◆ tag_t
◆ JetMomentMap()
      
        
          | JetMomentMap::JetMomentMap | ( |  | ) |  | 
      
 
 
◆ ~JetMomentMap()
  
  | 
        
          | JetMomentMap::~JetMomentMap | ( |  | ) |  |  | virtualdefault | 
 
 
◆ access()
  
  | 
        
          | void JetMomentMap::access | ( |  | ) | const |  | inline | 
 
 
◆ 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 |  | virtual | 
 
 
◆ 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 |  
 
 
 
◆ 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 |  
          |  | ) |  |  |  | virtual | 
 
 
◆ setMoment() [2/2]
  
  | 
        
          | bool JetMomentMap::setMoment | ( | size_t | jetIndex, |  
          |  |  | size_t | keyIndex, |  
          |  |  | float_t | moment |  
          |  | ) |  | const |  | virtual | 
 
 
◆ 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 |  
 
 
 
◆ JetCollection
◆ 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: