|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef TRIGGER_DECISION_TOOL_FEATUREREQUESTDESCRIPTOR_H
8 #define TRIGGER_DECISION_TOOL_FEATUREREQUESTDESCRIPTOR_H
29 class FeatureRequestDescriptor {
38 const std::string& containerSGKey =
"",
41 const int restrictToLegIndex = -1);
138 const std::string&
SGKey()
const;
148 const std::string&
linkName()
const;
167 #endif // TRIGGER_DECISION_TOOL_FEATUREREQUESTDESCRIPTOR_H
FeatureRequestDescriptor & setCondition(const unsigned int condition)
Set the Condition: TrigDefs::Physics - (default), only returns features from paths through the naviga...
The common trigger namespace for trigger analysis tools.
unsigned int featureCollectionMode() const
std::string m_chainGroupName
FeatureRequestDescriptor & setChainGroup(const std::string &chainGroupName)
Set the desired Chain or Chain Group.
void print(MsgStream &msg, const MSG::Level level=MSG::INFO)
Print the configuration of the FeatureRequestDescriptor to the supplied message stream.
const std::string & linkName() const
FeatureRequestDescriptor(const std::string &chainGroupName="HLT_.*", const unsigned int condition=TrigDefs::Physics, const std::string &containerSGKey="", const unsigned int featureCollectionMode=TrigDefs::lastFeatureOfType, const std::string &navElementLinkKey=TrigCompositeUtils::featureString(), const int restrictToLegIndex=-1)
Default Constructor supplying all properties.
int m_featureCollectionMode
unsigned int condition() const
std::string m_navElementLinkKey
void reset()
Reset the FeatureRequestDescriptor to its default configuration.
const std::string & chainGroup() const
FeatureRequestDescriptor & setRestrictRequestToLeg(const int restrictToLegIndex)
Set to -1 by default, indicating that all legs of multi-leg chains are searched.
const std::string & featureString()
std::string m_containerSGKey
FeatureRequestDescriptor & setRequireSGKey(const std::string &containerSGKey)
Set the StoreGate key filter.
FeatureRequestDescriptor & setLinkName(const std::string &navElementLinkKey)
Set the Link Name Key.
const std::string & SGKey() const
~FeatureRequestDescriptor()=default
Default destructor.
int restrictRequestToLeg() const
FeatureRequestDescriptor & setFeatureCollectionMode(const unsigned int featureCollectionMode)
Set the Feature Collection Mode: TrigDefs::lastFeatureOfType - (default) stop exploring up each path ...