ATLAS Offline Software
TriggerTranslatorSimple.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TriggerTranslatorToolSimple_H
6 #define TriggerTranslatorToolSimple_H
7 
8 #include <string>
9 #include <vector>
10 #include <map>
11 
13 #include "GaudiKernel/ServiceHandle.h"
14 #include "GaudiKernel/ToolHandle.h"
15 #include "GaudiKernel/StatusCode.h"
16 
18 
19 class IInterface;
20 
21 
33 {
34  public:
35 
36  TriggerTranslatorToolSimple( const std::string & type, const std::string & name,
37  const IInterface* parent );
38 
40 
41  virtual StatusCode initialize() override;
42 
43  virtual const std::vector<std::string> translate(const std::string&) const override;
44 
45 
46 
47 
48  private:
49  std::map<std::string, std::string> m_trigmap_property;
50  std::map<std::string, std::vector<std::string>> m_trigmap;
51 
52 
53 };
54 
55 #endif
TriggerTranslatorToolSimple::initialize
virtual StatusCode initialize() override
Definition: TriggerTranslatorSimple.cxx:20
TriggerTranslatorToolSimple::translate
virtual const std::vector< std::string > translate(const std::string &) const override
Definition: TriggerTranslatorSimple.cxx:33
TriggerTranslatorToolSimple::TriggerTranslatorToolSimple
TriggerTranslatorToolSimple(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TriggerTranslatorSimple.cxx:9
TriggerTranslatorToolSimple::m_trigmap_property
std::map< std::string, std::string > m_trigmap_property
Definition: TriggerTranslatorSimple.h:49
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
TriggerTranslatorToolSimple::~TriggerTranslatorToolSimple
virtual ~TriggerTranslatorToolSimple()
Definition: TriggerTranslatorSimple.cxx:18
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TriggerTranslatorToolSimple::m_trigmap
std::map< std::string, std::vector< std::string > > m_trigmap
Definition: TriggerTranslatorSimple.h:50
ITriggerTranslatorTool.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TriggerTranslatorToolSimple
Provides functionality for users to implement and save histograms, ntuples, and summary data,...
Definition: TriggerTranslatorSimple.h:33
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AthAlgTool
Definition: AthAlgTool.h:26
ITriggerTranslatorTool
Definition: ITriggerTranslatorTool.h:25