#include <CellIDEncoder.h>
Inheritance diagram for UTIL::CellIDEncoder< T >:

Public Types | |
| typedef std::map< std::string, unsigned int > | IndexMap |
Public Member Functions | |
| CellIDEncoder (const std::string &cellIDEncoding, LCCollection *col) | |
| void | setCellID (T *hit) |
| void | setCellIDFlag () |
| lcio::long64 | getValue () |
| void | setValue (lcio::long64 value) |
| BitFieldValue & | operator[] (size_t index) |
| const BitFieldValue & | operator[] (size_t index) const |
| BitFieldValue & | operator[] (const std::string &name) |
| const BitFieldValue & | operator[] (const std::string &name) const |
| unsigned | highestBit () |
| size_t | size () |
| size_t | index (const std::string &name) const |
| unsigned | lowWord () const |
| unsigned | highWord () const |
| std::string | fieldDescription () const |
| std::string | valueString () const |
Protected Member Functions | |
| int | cellID1Bit () |
| void | addField (const std::string &name, unsigned offset, int width) |
| void | init (const std::string &initString) |
Protected Attributes | |
| LCCollection * | _col |
| T * | _oldHit |
| std::vector< BitFieldValue * > | _fields |
| lcio::long64 | _value |
| IndexMap | _map |
| lcio::long64 | _joined |
Definition at line 43 of file CellIDEncoder.h.
|
|
Definition at line 138 of file BitField64.h. |
|
||||||||||||||||
|
Constructor reads encoding string from collection parameter LCIO::CellIDEncoding. Definition at line 49 of file CellIDEncoder.h. |
|
||||||||||||||||
|
Add an additional field to the list Definition at line 169 of file BitField64.cc. References UTIL::BitField64::_fields, UTIL::BitField64::_joined, UTIL::BitField64::_map, UTIL::BitField64::_value, and UTIL::BitFieldValue::mask(). Referenced by UTIL::BitField64::init(). |
|
|||||||||
|
Definition at line 94 of file CellIDEncoder.h. |
|
|
Return a valid description string of all fields Definition at line 133 of file BitField64.cc. References UTIL::BitField64::_fields. |
|
|
Returns the current 64bit value Definition at line 168 of file BitField64.h. |
|
|
Highest bit used in fields [0-63] Definition at line 106 of file BitField64.cc. References UTIL::BitField64::_fields. |
|
|
The high word, bits 32-63 Definition at line 218 of file BitField64.h. |
|
|
Index for field named 'name' Definition at line 94 of file BitField64.cc. References UTIL::BitField64::_map. |
|
|
Decode the initialization string as described in the constructor. Definition at line 192 of file BitField64.cc. References UTIL::BitField64::addField(). |
|
|
The low word, bits 0-31 Definition at line 214 of file BitField64.h. |
|
|
Const Access to field through name . Definition at line 206 of file BitField64.h. |
|
|
Access to field through name . Definition at line 200 of file BitField64.h. |
|
|
Const acces to field through index Definition at line 183 of file BitField64.h. |
|
|
Acces to field through index Definition at line 177 of file BitField64.h. |
|
||||||||||
|
Definition at line 60 of file CellIDEncoder.h. |
|
|||||||||
|
Helper method that sets/unsets the proper bit for storing a second cellid word Definition at line 70 of file CellIDEncoder.h. |
|
|
Set a new 64bit value Definition at line 172 of file BitField64.h. Referenced by UTIL::CellIDDecoder< T >::operator()(). |
|
|
Number of values Definition at line 192 of file BitField64.h. |
|
|
Return a string with a comma separated list of the current sub field values Definition at line 119 of file BitField64.cc. References UTIL::BitField64::_fields. |
|
|||||
|
Definition at line 97 of file CellIDEncoder.h. |
|
|
Definition at line 246 of file BitField64.h. Referenced by UTIL::BitField64::addField(), UTIL::BitField64::fieldDescription(), UTIL::BitField64::highestBit(), and UTIL::BitField64::valueString(). |
|
|
Definition at line 249 of file BitField64.h. Referenced by UTIL::BitField64::addField(). |
|
|
Definition at line 248 of file BitField64.h. Referenced by UTIL::BitField64::addField(), UTIL::BitField64::index(), and UTIL::operator<<(). |
|
|||||
|
Definition at line 98 of file CellIDEncoder.h. |
|
|
Definition at line 247 of file BitField64.h. Referenced by UTIL::BitField64::addField(), and UTIL::operator<<(). |
1.3.9.1