![]() |
ATLAS Offline Software
|
Typedefs | |
| using | sgkey_t = SG::sgkey_t |
Functions | |
| std::vector< TrigCompositeUtils::TypelessLinkInfo > | 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. | |
| const std::vector< TrigCompositeUtils::TypelessLinkInfo > | 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). | |
| void | 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. | |
| void | 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). | |
| template<class CONTAINER> | |
| std::vector< TrigCompositeUtils::LinkInfo< CONTAINER > > | 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>>. | |
Definition at line 24 of file FeatureRequestHelpers.h.
| 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).
| [in] | expression | Regex compiled StoreGate key of the collection to match against. Passing "" as the string wrapped in the expression performs no filtering. |
| [in,out] | keyVec | Mutable vector of element link keys on which to filter. |
| [in,out] | clidVec | Mutable vector of element link CLIDs on which to filter. |
| [in,out] | indexVec | Mutable vector of element link indices on which to filter. |
| [in] | ctx | Event context. |
| [in] | eventStore | Optional pointer to event store, only needed in AnalysisBase. |
Definition at line 326 of file FeatureRequestHelpers.cxx.
| 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>>.
| [in] | typelessLinkInfos | Vector of type erased LinkInfo objects of which we will apply type wrapping. |
| [in] | ctx | Event context for Element Link construction. |
| [in] | eventStore | Pointer to event store, only used in AnalysisBase for Element Link construction. |
| std::vector< TrigCompositeUtils::TypelessLinkInfo > FeatureRequestHelpers::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.
Users are expected to use typed interfaces in the respective tools.
| [in] | frd | Feature request descriptor containing details of the feature request. |
| [in] | clid | The Class ID of the requested feature's container. Originates from typed caller template parameter. May be CLID of xAOD::IParticleContainer for generic four vector access. |
| [in] | navRH | Read handle key for the primary navigation container (containing the terminus node) |
| [in] | msg | Reference to message stream for printing |
| [in] | ctx | Event context for Read Handle construction and SG key hash resolution |
| [in] | eventStore | Pointer to event store, only used in AnalysisBase for SG key hash resolution |
| [in] | printWarningMessages | Flag if warnings should be printed regarding leg multiplicity checks |
Definition at line 16 of file FeatureRequestHelpers.cxx.
| const std::vector< TrigCompositeUtils::TypelessLinkInfo > FeatureRequestHelpers::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).
This is a lower level function call than typelessFeaturesImplimentation, and its use implies that the requisite sub-graph to be explored and set of chain IDs of interest have already been obtained. The feature request descriptor is still passed down as some aspects of the request are only handled at the lower levels (such as store gate key filtering, and link name matching)
| [in] | frd | Feature request descriptor containing details of the feature request. |
| [in] | clid | The Class Identifier to use instead of the CONTAINER template type in this type erased function |
| [in] | navGraph | Sub-graph of the trigger navigation which is to be considered. |
| [in] | chainIDs | Set of Chain IDs which features are being requested for. Used to set the ActiveState of returned LinkInfo objects. Empty set denotes no chain filtering. |
| [in] | ctx | Event context. |
| [in] | eventStore | Optional pointer to event store, only needed in AnalysisBase. |
Definition at line 152 of file FeatureRequestHelpers.cxx.
| 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.
| [in,out] | features | The ultimate return vector. New links are to be appended. |
| [in,out] | fullyExploredFrom | Cache of graph nodes which have been fully explored, and hence don't need exploring again should they show up. |
| [in] | navGraphNode | The current node in the navGraph which is being explored. |
Definition at line 181 of file FeatureRequestHelpers.cxx.