The Gaudi Framework  master (37c0b60a)
DODBasicMapper.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2024 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 #ifndef INCIDENTSVC_DODBASICMAPPER_H
12 #define INCIDENTSVC_DODBASICMAPPER_H 1
13 // Include files
14 // from Gaudi
15 #include <GaudiKernel/AlgTool.h>
16 #include <GaudiKernel/HashMap.h>
17 
18 // Implemented interfaces
21 
29 class DODBasicMapper : public extends<AlgTool, IDODAlgMapper, IDODNodeMapper> {
30 public:
32  using extends::extends;
33 
36 
38  std::string nodeTypeForPath( const std::string& path ) override;
39 
40 private:
41  template <class T>
43 
45  this, "Nodes", {}, "map of the type of nodes to be associated to paths (path -> data_type)." };
47  this, "Algorithms", {}, "map of algorithms to be used to produce entries (path -> alg_name)." };
48 };
49 
50 #endif // INCIDENTSVC_DODBASICMAPPER_H
std::string
STL class.
AtlasMCRecoFullPrecedenceDump.path
path
Definition: AtlasMCRecoFullPrecedenceDump.py:49
DODBasicMapper
Definition: DODBasicMapper.h:29
IDODNodeMapper.h
IDODAlgMapper.h
DODBasicMapper::algorithmForPath
Gaudi::Utils::TypeNameString algorithmForPath(const std::string &path) override
Definition: DODBasicMapper.cpp:43
HashMap.h
Gaudi::Utils::TypeNameString
Helper class to parse a string of format "type/name".
Definition: TypeNameString.h:20
DODBasicMapper::m_nodeMap
MapProp< std::string > m_nodeMap
Definition: DODBasicMapper.h:44
extends
Base class used to extend a class implementing other interfaces.
Definition: extends.h:20
DODBasicMapper::nodeTypeForPath
std::string nodeTypeForPath(const std::string &path) override
Definition: DODBasicMapper.cpp:48
DODBasicMapper::m_algMap
MapProp< Gaudi::Utils::TypeNameString > m_algMap
Definition: DODBasicMapper.h:46
AlgTool.h
Gaudi::Property
Implementation of property with value of concrete type.
Definition: Property.h:37