ATLAS Offline Software
Namespaces | Functions
registerKeys.h File Reference

Helper functions for registering hash keys with the SG service. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 EventSelectorAthenaPoolUtil
 

Functions

void EventSelectorAthenaPoolUtil::registerKeys (const DataHeaderElement &dhe, StoreGateSvc *store)
 Register all hash keys for one DH Element. More...
 
void EventSelectorAthenaPoolUtil::registerKeys (const DataHeader &dh, StoreGateSvc *store)
 Register all hash keys from a DataHeader. More...
 

Detailed Description

Helper functions for registering hash keys with the SG service.

Author
scott snyder
Date
Dec, 2007 Each SG key/CLID pair can also be represented as an integer hash code. This hash is stored in the DataHeader. While one can always calculate the hash given the key/CLID, sometimes one needs to go the other way as well. To make this possible, the hash codes are stored in the DataHeader, along with the SG key/CLIDs. When a DataHeader is read, these mappings from hash code to SG key/CLID are registered with the appropriate SG service. These helper functions perform this operation.

Definition in file registerKeys.h.