![]() |
ATLAS Offline Software
|
Define a hook for running code after an object has been read. More...
#include <ToTransient.h>
Public Types | |
| using | noToTransient = int |
This definition flags taht we can skip actually calling toTransient for this type. | |
Static Public Member Functions | |
| static void | toTransient (T &) |
| static void | toTransient (T &, const EventContext &) |
Define a hook for running code after an object has been read.
Some objects need additional processing after reading in order to be usable. (ROOT read rules are often not ideal since there is no way to pass them an EventContext other than via the global thread-local lookup.) ToTransient<U>::toTransient will be called for the container of an xAOD auxiliary variable after it has been read (for an auxiliary variable of type T, this will usually be std::vector<T>). It will also be called from ATLAS POOL converters after an object has been read.
If noToTransient is defined, then the converters may skip actually making the toTransient calls for this type.
Definition at line 39 of file ToTransient.h.
| using SG::ToTransient< T >::noToTransient = int |
This definition flags taht we can skip actually calling toTransient for this type.
It should be aliased to int.
Definition at line 44 of file ToTransient.h.
|
inlinestatic |
Definition at line 53 of file ToTransient.h.
|
inlinestatic |
Definition at line 65 of file ToTransient.h.