ATLAS Offline Software
|
Describes the possible index tracking policies. More...
Go to the source code of this file.
Namespaces | |
SG | |
Forward declaration. | |
Enumerations | |
enum | SG::IndexTrackingPolicy { SG::DEFAULT_TRACK_INDICES, SG::ALWAYS_TRACK_INDICES, SG::NEVER_TRACK_INDICES } |
Describes the possible index tracking policies.
SG::AuxElement
, then the container does not track indices (and thus cannot have associated aux data). If it does, whether a container will track indices (and potentially have aux data) is governed by both the ownership policy and the index tracking policy. The default value for the index tracking policy is DEFAULT_TRACK_INDICES. In that case, we track indices if this container owns its elements (OWN_ELEMENTS) and we don't if the container does not down its elements (VIEW_ELEMENTS). This is the usual case. However, the index tracking policy may also be set to ALWAYS_TRACK_INDICES or NEVER_TRACK_INDICES to override this. (The major foreseen use case for this is to allow index tracking for a view container populated with objects allocated from a DataPool
.) Definition in file IndexTrackingPolicy.h.