ATLAS Offline Software
|
Holds one objects of type \T in memory context Context
.
More...
#include <Helpers.h>
Holds one objects of type \T in memory context Context
.
Automatically handles memory transfers to and from other contexts in the constructors and assignment operators. If hold_object
is false
, functions as a simple non-holding pointer, just keeping track of the Context
for possible copies/transfers between memory contexts.
Definition at line 1067 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.