ATLAS Offline Software
|
This software was developed for the ATLAS project. More...
Classes | |
class | ArenaHandlePrefetch |
Wrapper for SG::ArenaHandle with pre-fetching. More... | |
Functions | |
template<typename Iter > | |
void | nextDDE (Iter iter, Iter endIter) |
Prefetch next CaloDDE. More... | |
template<typename Iter > | |
void | nextDDE (Iter iter, Iter endIter, int count) |
Prefetch few next CaloDDEs. More... | |
This software was developed for the ATLAS project.
If you use all or part of it, please give an appropriate acknowledgment.
|
inline |
Prefetch next CaloDDE.
This prefetch method should be used with the collection of CaloCell pointers. It prefetches CaloCell objects two iterations ahead and CaloDDE object from CaloCell for the next iteration. On input iter must not be equal to endIter (this is not checked).
Definition at line 47 of file CaloPrefetch.h.
|
inline |
Prefetch few next CaloDDEs.
More generic version of the DDE prefetching mechanism intended for use in tighter loops when pre-fetching one step ahead is not enough. Argument specifies how many DDEs need to be prefetched.
Above specialization for one-iteration prefetch is still useful, this generic method is more complex and may have issues with inlining.
Definition at line 72 of file CaloPrefetch.h.