ATLAS Offline Software
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 
18 namespace 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
Trig::ITrigDecisionTool::isPassed
virtual bool isPassed(const std::string &pattern) const =0
Get the decision for a trigger chain.
mergePhysValFiles.pattern
pattern
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:26
runLayerRecalibration.chain
chain
Definition: runLayerRecalibration.py:175
Trig
The common trigger namespace for trigger analysis tools.
Definition: CaloTowerVecMon.h:44
Trig::ITrigDecisionTool
Basic interface for the TrigDecisionTool.
Definition: ITrigDecisionTool.h:28
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition: IAsgTool.h:41
LArG4GenerateShowerLib.condition
condition
Definition: LArG4GenerateShowerLib.py:19
Trig::ITrigDecisionTool::isPassed
virtual bool isPassed(const std::string &pattern, unsigned int condition) const =0
Get the decision for a trigger chain with a given condition.
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition: AsgToolMacros.h:40
IAsgTool.h
Trig::ITrigDecisionTool::isPassedBits
virtual unsigned int isPassedBits(const std::string &chain) const =0
Get expert-level information about a given trigger chain.