ATLAS Offline Software
Loading...
Searching...
No Matches
ITrigDecisionTool.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id: ITrigDecisionTool.h 624182 2014-10-25 21:44:42Z lheinric $
8#ifndef TRIGDECISIONINTERFACE_ITRIGDECISIONTOOL_H
9#define TRIGDECISIONINTERFACE_ITRIGDECISIONTOOL_H
10
11// Framework include(s):
12#include "AsgTools/IAsgTool.h"
13// System include(s):
14#include <string>
15#include <string_view>
16#include <vector>
17
18
19
20namespace Trig {
21
30 class ITrigDecisionTool : virtual public asg::IAsgTool {
32
33 public:
35
38 virtual bool isPassed( std::string_view pattern ) const = 0;
40
43 virtual bool isPassed( std::string_view pattern,
44 unsigned int condition ) const = 0;
46
49 virtual unsigned int isPassedBits( const std::string& chain ) const = 0;
50
51 }; // class ITrigDecisionTool
52
53} // namespace Trig
54
55#endif // TRIGDECISIONINTERFACE_ITRIGDECISIONTOOL_H
#define ASG_TOOL_INTERFACE(CLASSNAME)
Basic interface for the TrigDecisionTool.
virtual bool isPassed(std::string_view pattern, unsigned int condition) const =0
Get the decision for a trigger chain with a given condition.
virtual bool isPassed(std::string_view pattern) const =0
Get the decision for a trigger chain.
virtual unsigned int isPassedBits(const std::string &chain) const =0
Get expert-level information about a given trigger chain.
Base class for the dual-use tool interface classes.
Definition IAsgTool.h:41
The common trigger namespace for trigger analysis tools.