![]() |
AliPhysics
5f29099 (5f29099)
|
Public Types | |
enum | { kInvalidTime = 0xFFFFFFFFFFFFFFFF } |
typedef std::map< ULong64_t, ULong64_t > | Map |
typedef Map::key_type | Key |
typedef Map::mapped_type | Value |
typedef Map::value_type | Pair |
typedef Map::iterator | Iterator |
typedef Map::const_iterator | ConstIterator |
Public Member Functions | |
EventTimeMap () | |
virtual | ~EventTimeMap () |
const char * | GetName () const |
Value & | operator[] (const Key &k) |
Iterator | Find (const Key &k) |
ConstIterator | Find (const Key &k) const |
Iterator | Begin () |
ConstIterator | Begin () const |
Iterator | End () |
ConstIterator | End () const |
Value | Get (const Key ×tamp) const |
void | Set (const Key ×tamp, const Value &diff) |
ULong64_t | Size () const |
Public Attributes | |
Map | fMap |
A map of event time-stamp to distance to previous event
Definition at line 383 of file EventTimeTask.C.
typedef Map::const_iterator EventTimeMap::ConstIterator |
Constant iterator type
Definition at line 396 of file EventTimeTask.C.
typedef Map::iterator EventTimeMap::Iterator |
Iterator type
Definition at line 394 of file EventTimeTask.C.
typedef Map::key_type EventTimeMap::Key |
Key type
Definition at line 388 of file EventTimeTask.C.
typedef std::map<ULong64_t,ULong64_t> EventTimeMap::Map |
Map type
Definition at line 386 of file EventTimeTask.C.
typedef Map::value_type EventTimeMap::Pair |
Element type
Definition at line 392 of file EventTimeTask.C.
typedef Map::mapped_type EventTimeMap::Value |
Mapped value type
Definition at line 390 of file EventTimeTask.C.
anonymous enum |
Enumerator | |
---|---|
kInvalidTime |
Definition at line 481 of file EventTimeTask.C.
|
inline |
Constructor
Definition at line 400 of file EventTimeTask.C.
|
inlinevirtual |
Destructor
Definition at line 404 of file EventTimeTask.C.
|
inline |
Get forward iterator pointing beginning of the container
Definition at line 450 of file EventTimeTask.C.
|
inline |
Get forward iterator pointing beginning of the container
Definition at line 459 of file EventTimeTask.C.
|
inline |
Get forward iterator pointing just beyond the end of the container
Definition at line 468 of file EventTimeTask.C.
|
inline |
Get forward iterator pointing just beyond the end of the container
Definition at line 477 of file EventTimeTask.C.
Find the element whos key is k
k | Key to look for |
Definition at line 430 of file EventTimeTask.C.
|
inline |
Find the element whos key is k
k | Key to look for |
Definition at line 441 of file EventTimeTask.C.
Get the time difference to previous event from a event with a given time stamp.
timestamp | Time stamp of the event |
Definition at line 492 of file EventTimeTask.C.
Referenced by ELossTimeTask::Event(), and EventTimeSorter::Test().
|
inline |
Get name of this object - always the same
Definition at line 410 of file EventTimeTask.C.
Element access. If the key k doesn't already exist, it is created
k | Key |
Definition at line 419 of file EventTimeTask.C.
Set the time to previous event for a given event time stamp
timestamp | Event time stamp |
diff | Time to previous event |
Definition at line 504 of file EventTimeTask.C.
|
inline |
Definition at line 508 of file EventTimeTask.C.
Map EventTimeMap::fMap |
Our embeded map
Definition at line 510 of file EventTimeTask.C.