ATLAS Offline Software
TriggerDecisionProxyLoader.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 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 
21 namespace ExpressionParsing {
23  public:
24 
25  TriggerDecisionProxyLoader(ToolHandle<Trig::TrigDecisionTool>& trigDecTool) : m_trigDec(trigDecTool) { }
27  virtual void reset();
28  virtual IProxyLoader::VariableType variableTypeFromString(const std::string &varname) const;
29  virtual int loadIntVariableFromString(const std::string &varname) const;
30  virtual double loadDoubleVariableFromString(const std::string &varname) const;
31  virtual std::vector<int> loadVecIntVariableFromString(const std::string &varname) const;
32  virtual std::vector<double> loadVecDoubleVariableFromString(const std::string &varname) const;
33 
34  private:
35  ToolHandle<Trig::TrigDecisionTool> m_trigDec;
36  };
37 }
38 
39 #endif // TRIGGERDECISIONPROXYLOADER_H
ExpressionParsing::TriggerDecisionProxyLoader::variableTypeFromString
virtual IProxyLoader::VariableType variableTypeFromString(const std::string &varname) const
Definition: TriggerDecisionProxyLoader.cxx:26
TrigDecisionTool.h
ExpressionParsing::TriggerDecisionProxyLoader::m_trigDec
ToolHandle< Trig::TrigDecisionTool > m_trigDec
Definition: TriggerDecisionProxyLoader.h:35
ExpressionParsing::TriggerDecisionProxyLoader
Definition: TriggerDecisionProxyLoader.h:22
ExpressionParsing::TriggerDecisionProxyLoader::loadVecIntVariableFromString
virtual std::vector< int > loadVecIntVariableFromString(const std::string &varname) const
Definition: TriggerDecisionProxyLoader.cxx:53
ExpressionParsing::IProxyLoader
Definition: IProxyLoader.h:19
ExpressionParsing::IProxyLoader::VariableType
VariableType
Definition: IProxyLoader.h:21
ExpressionParsing::TriggerDecisionProxyLoader::TriggerDecisionProxyLoader
TriggerDecisionProxyLoader(ToolHandle< Trig::TrigDecisionTool > &trigDecTool)
Definition: TriggerDecisionProxyLoader.h:25
ExpressionParsing::TriggerDecisionProxyLoader::loadIntVariableFromString
virtual int loadIntVariableFromString(const std::string &varname) const
Definition: TriggerDecisionProxyLoader.cxx:38
ExpressionParsing::TriggerDecisionProxyLoader::loadDoubleVariableFromString
virtual double loadDoubleVariableFromString(const std::string &varname) const
Definition: TriggerDecisionProxyLoader.cxx:48
ExpressionParsing
Namespace holding all the expression evaluation code.
Definition: ExpressionParser.h:26
ExpressionParsing::TriggerDecisionProxyLoader::~TriggerDecisionProxyLoader
virtual ~TriggerDecisionProxyLoader()
Definition: TriggerDecisionProxyLoader.cxx:18
ExpressionParsing::TriggerDecisionProxyLoader::loadVecDoubleVariableFromString
virtual std::vector< double > loadVecDoubleVariableFromString(const std::string &varname) const
Definition: TriggerDecisionProxyLoader.cxx:58
LArG4AODNtuplePlotter.varname
def varname(hname)
Definition: LArG4AODNtuplePlotter.py:37
IProxyLoader.h
ExpressionParsing::TriggerDecisionProxyLoader::reset
virtual void reset()
Definition: TriggerDecisionProxyLoader.cxx:22