ATLAS Offline Software
Loading...
Searching...
No Matches
TriggerDecisionProxyLoader.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
6// TriggerDecisionProxyLoader.h, (c) ATLAS Detector software
8// Author: Thomas Gillam (thomas.gillam@cern.ch),
9// James Catmore (james.catmore@cern.ch)
10// ExpressionParsing library
12
13#ifndef TRIGGERDECISIONPROXYLOADER_H
14#define TRIGGERDECISIONPROXYLOADER_H
15
17#include "GaudiKernel/ServiceHandle.h"
18#include "GaudiKernel/ToolHandle.h"
20
21namespace ExpressionParsing {
23 public:
24
25 TriggerDecisionProxyLoader(ToolHandle<Trig::TrigDecisionTool>& trigDecTool) : m_trigDec(trigDecTool) { }
27 virtual void reset() override;
28
29 virtual IAccessor::VariableType variableTypeFromString(const std::string &varname) const override;
30
31 virtual int loadInt(const EventContext& ctx,const std::string &varname) const override;
32 virtual double loadDouble(const EventContext& ctx,const std::string &varname) const override;
33 virtual std::vector<int> loadVecInt(const EventContext& ctx,const std::string &varname) const override;
34 virtual std::vector<double> loadVec(const EventContext& ctx,const std::string &varname) const override;
35
36 private:
37 ToolHandle<Trig::TrigDecisionTool> m_trigDec;
38 };
39}
40
41#endif // TRIGGERDECISIONPROXYLOADER_H
virtual std::vector< double > loadVec(const EventContext &ctx, const std::string &varname) const override
TriggerDecisionProxyLoader(ToolHandle< Trig::TrigDecisionTool > &trigDecTool)
virtual double loadDouble(const EventContext &ctx, const std::string &varname) const override
virtual IAccessor::VariableType variableTypeFromString(const std::string &varname) const override
virtual int loadInt(const EventContext &ctx, const std::string &varname) const override
virtual std::vector< int > loadVecInt(const EventContext &ctx, const std::string &varname) const override
Namespace holding all the expression evaluation code.