19 const std::string& name,
20 const IInterface* parent)
28 return StatusCode::SUCCESS;
34 const EventContext& eventContext)
const {
42 for (
const auto& [decision, previousDecision] : input) {
52 ATH_MSG_DEBUG(
"Skipping chain because previous step didn't pass");
58 auto getFlag = [&errorFlags,
this](
const std::string& name){
63 const bool flag = errorFlags->
getDetail<
bool>(name);
64 ATH_MSG_DEBUG(
"Error flag " << name <<
" = " << (flag ?
"true" :
"false"));
71 accept |= getFlag(
"hasTrivialFlag");
73 ATH_MSG_DEBUG(
"The accept decision is: " << (accept ?
"true" :
"false"));
79 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
void decisionIDs(const Decision *d, DecisionIDContainer &id)
Extracts DecisionIDs stored in the Decision object.
const std::string & featureString()
ElementLink implementation for ROOT usage.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
bool hasDetail(const std::string &name) const
Check if a given type of detail is available.
bool getDetail(const std::string &name, TYPE &value) const
Get an TYPE detail from the object.
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
const std::string & featureString()
bool passed(DecisionID id, const DecisionIDContainer &idSet)
checks if required decision ID is in the set of IDs in the container
std::set< DecisionID > DecisionIDContainer
void addDecisionID(DecisionID id, Decision *d)
Appends the decision (given as ID) to the decision object.
void decisionIDs(const Decision *d, DecisionIDContainer &destination)
Extracts DecisionIDs stored in the Decision object.
TrigComposite_v1 TrigComposite
Declare the latest version of the class.