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-2017 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// System include(s):
12#include <string>
13#include <vector>
14
15// Framework include(s):
16#include "AsgTools/IAsgTool.h"
17
18namespace Trig {
19
28 class ITrigDecisionTool : virtual public asg::IAsgTool {
30
31 public:
33
36 virtual bool isPassed( const std::string& pattern ) const = 0;
38
41 virtual bool isPassed( const std::string& pattern,
42 unsigned int condition ) const = 0;
44
47 virtual unsigned int isPassedBits( const std::string& chain ) const = 0;
48
49 }; // class ITrigDecisionTool
50
51} // namespace Trig
52
53#endif // TRIGDECISIONINTERFACE_ITRIGDECISIONTOOL_H
#define ASG_TOOL_INTERFACE(CLASSNAME)
Basic interface for the TrigDecisionTool.
virtual bool isPassed(const std::string &pattern, unsigned int condition) const =0
Get the decision for a trigger chain with a given condition.
virtual bool isPassed(const std::string &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.