ATLAS Offline Software
Namespaces | Typedefs | Functions
FeatureRequestHelpers.h File Reference
#include "AsgDataHandles/ReadHandleKey.h"
#include "xAODTrigger/TrigCompositeContainer.h"
#include "xAODTrigger/TrigCompositeAuxContainer.h"
#include "FeatureRequestDescriptor.h"
#include "TrigCompositeUtils/NavGraph.h"
#include "TrigCompositeUtils/LinkInfo.h"
#include "TrigCompositeUtils/TypelessLinkInfo.h"
#include "CxxUtils/sgkey_utilities.h"
#include <vector>
#include "FeatureRequestHelpers.icc"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 FeatureRequestHelpers
 

Typedefs

using FeatureRequestHelpers::sgkey_t = SG::sgkey_t
 

Functions

template<class CONTAINER >
std::vector< TrigCompositeUtils::LinkInfo< CONTAINER > > FeatureRequestHelpers::typedFeaturesWrapper (const std::vector< TrigCompositeUtils::TypelessLinkInfo > &typelessLinkInfos, const EventContext &ctx, const asg::EventStoreType *eventStore=nullptr)
 Wrapper function to convert between vector<TypelessLinkInfo> and vector<LinkInfo<T>>. More...
 
std::vector< TrigCompositeUtils::TypelessLinkInfoFeatureRequestHelpers::typelessFeaturesImplimentation (const Trig::FeatureRequestDescriptor &frd, const CLID clid, const SG::ReadHandleKey< TrigCompositeUtils::DecisionContainer > &navRH, MsgStream &msg, const EventContext &ctx, const asg::EventStoreType *eventStore=nullptr, const bool printWarningMessages=true)
 Standalone implementation of feature retrieval, common between TrigDecisionTool and TrigDecisionToolLite This is a type erased implementation which accepts a CLID. More...
 
const std::vector< TrigCompositeUtils::TypelessLinkInfoFeatureRequestHelpers::typelessGetFeatures (const TrigCompositeUtils::NavGraph &navGraph, const Trig::FeatureRequestDescriptor &frd, const CLID clid, const TrigCompositeUtils::DecisionIDContainer chainIDs, const EventContext &ctx, const asg::EventStoreType *eventStore=nullptr)
 Extract features from the supplied navGraph (obtained through typelessGetFeaturesInternal). More...
 
void FeatureRequestHelpers::typelessGetFeaturesInternal (std::vector< TrigCompositeUtils::TypelessLinkInfo > &features, std::set< const TrigCompositeUtils::NavGraphNode * > &fullyExploredFrom, const TrigCompositeUtils::NavGraphNode *navGraphNode, const Trig::FeatureRequestDescriptor &frd, const CLID clid, const TrigCompositeUtils::DecisionIDContainer chainIDs, const EventContext &ctx, const asg::EventStoreType *eventStore=nullptr)
 Internal implementation called by typelessGetFeatures, and by itself. More...
 
void FeatureRequestHelpers::filterLinkVectorByContainerKey (const std::regex &expression, std::vector< sgkey_t > &keyVec, std::vector< CLID > &clidVec, std::vector< TrigCompositeUtils::Decision::index_type > &indexVec, const EventContext &ctx, const asg::EventStoreType *eventStore=nullptr)
 Removes type erased element links from the supplied vectors if they do not come from the specified collection (regex match). More...