14#include "GaudiKernel/ThreadLocalContext.h"
35 const std::string& ) {
42 thinningSvc = cache->trigNavigationThinningSvc();
48 std::vector< unsigned int > temp;
49 const EventContext& ctx = Gaudi::Hive::currentContext();
50 if ( thinningSvc->
doSlimming(ctx, temp).isFailure() ) {
51 ATH_MSG_WARNING(
"Failed to slim and store Trigger Navigation data in the output xAODTrigNavigation object");
#define ATH_MSG_WARNING(x)
Define interface for doing TrigNavigation thinning.
Define interface for doing TrigNavigation thinning.
virtual StatusCode doSlimming(const EventContext &ctx, std::vector< uint32_t > &slimmed_and_serialized) const =0
Return slimmed data for TrigNavigation.
void setStore(const SG::IConstAuxStore *store)
Set the store associated with this object.
Interface for const operations on an auxiliary store.
Cache thinning decisions for converters.
xAODTrigNavigationAuxInfoCnv(ISvcLocator *svcLoc)
Converter constructor.
virtual xAOD::TrigNavigationAuxInfo * createPersistentWithKey(xAOD::TrigNavigationAuxInfo *trans, const std::string &key) override
Function preparing the container to be written out.
void setSerialized(const std::vector< unsigned int > &value)
sets the serialized form of the navigation from the argument
Helper to copy an aux store while applying thinning.
Helpers to retrieve the current thinning cache from the event context.
const SG::ThinningCache * getThinningCache(const EventContext &ctx)
Retrieve the current thinning cache from the event context.
TrigNavigationAuxInfo_v1 TrigNavigationAuxInfo
Define the latest version of the trigger navigation auxiliary information class.
TrigNavigation_v1 TrigNavigation
Define the latest version of the trigger navigation class.
T_AthenaPoolAuxContainerCnv< xAOD::TrigNavigationAuxInfo > xAODTrigNavigationAuxInfoCnvBase
Base class for the converter.