ATLAS Offline Software
IdDictManager.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /***************************************************************************
6  IdDictDetDescr package
7  -----------------------------------------
8  ***************************************************************************/
9 
10 
12 #include "Identifier/IdHelper.h"
13 
14 
16  :
17  m_mgr(0)
18 {}
19 
21  :
22  m_mgr(&mgr)
23 {}
24 
25 
27 {}
28 
29 const IdDictMgr*
31 {
32  return (m_mgr);
33 }
34 
35 
36 int
38 {
39  if (m_mgr) return (helper.initialize_from_dictionary(*m_mgr));
40  return (1); // otherwise error
41 }
42 
43 
IdDictManager::IdDictManager
IdDictManager()
Definition: IdDictManager.cxx:15
IdDictManager::m_mgr
const IdDictMgr * m_mgr
Definition: IdDictManager.h:40
IdHelper.h
IdDictManager.h
runBeamSpotCalibration.helper
helper
Definition: runBeamSpotCalibration.py:115
BchCleanup.mgr
mgr
Definition: BchCleanup.py:294
IdDictMgr
Definition: IdDictMgr.h:14
IdHelper
This is an abstract base class for helper classes that know how to convert Identifier <-> IdentifierH...
Definition: IdHelper.h:24
IdDictManager::initializeHelper
int initializeHelper(IdHelper &helper) const
Return value: 0 OK, >0 error.
Definition: IdDictManager.cxx:37
IdDictManager::manager
const IdDictMgr * manager(void) const
Definition: IdDictManager.cxx:30
IdDictManager::~IdDictManager
~IdDictManager()
Definition: IdDictManager.cxx:26