Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  master (d98a2936)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
DODBasicMapper.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #pragma once
12 
13 #include <GaudiKernel/AlgTool.h>
14 #include <GaudiKernel/HashMap.h>
17 
25 class DODBasicMapper : public extends<AlgTool, IDODAlgMapper, IDODNodeMapper> {
26 public:
28  using extends::extends;
29 
31  Gaudi::Utils::TypeNameString algorithmForPath( const std::string& path ) override;
32 
34  std::string nodeTypeForPath( const std::string& path ) override;
35 
36 private:
37  template <class T>
39 
41  this, "Nodes", {}, "map of the type of nodes to be associated to paths (path -> data_type)." };
43  this, "Algorithms", {}, "map of algorithms to be used to produce entries (path -> alg_name)." };
44 };
AtlasMCRecoFullPrecedenceDump.path
path
Definition: AtlasMCRecoFullPrecedenceDump.py:49
DODBasicMapper
Definition: DODBasicMapper.h:25
IDODNodeMapper.h
IDODAlgMapper.h
DODBasicMapper::algorithmForPath
Gaudi::Utils::TypeNameString algorithmForPath(const std::string &path) override
Definition: DODBasicMapper.cpp:35
HashMap.h
Gaudi::Utils::TypeNameString
Helper class to parse a string of format "type/name".
Definition: TypeNameString.h:19
DODBasicMapper::m_nodeMap
MapProp< std::string > m_nodeMap
Definition: DODBasicMapper.h:40
extends
Base class used to extend a class implementing other interfaces.
Definition: extends.h:19
DODBasicMapper::nodeTypeForPath
std::string nodeTypeForPath(const std::string &path) override
Definition: DODBasicMapper.cpp:40
DODBasicMapper::m_algMap
MapProp< Gaudi::Utils::TypeNameString > m_algMap
Definition: DODBasicMapper.h:42
AlgTool.h
Gaudi::Property
Implementation of property with value of concrete type.
Definition: Property.h:35