ATLAS Offline Software
DetDescrConverter.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /***************************************************************************
6  Detector description conversion service package
7  -----------------------------------------------
8  ***************************************************************************/
9 
11 
14 
15 StatusCode DetDescrConverter::fillObjRefs(IOpaqueAddress* /*pAddr*/,
16  DataObject* /*pObj*/) {
17  return StatusCode::SUCCESS;
18 }
19 
21  IOpaqueAddress*& /*pAddr*/) {
22  return StatusCode::SUCCESS;
23 }
24 
25 StatusCode DetDescrConverter::fillRepRefs(IOpaqueAddress* /*pAddr*/,
26  DataObject* /*pObj*/) {
27  return StatusCode::SUCCESS;
28 }
29 
31  return DetDescr_StorageType;
32 }
33 
35  ISvcLocator* svcloc,
36  const char* name /*= nullptr*/)
37  : Converter(DetDescr_StorageType, myCLID, svcloc),
38  AthMessaging(svcloc != nullptr ? msgSvc() : nullptr,
39  name ? name : "DetDescrConverter"),
40  m_detStore("DetectorStore", name ? name : "DetDescrConverter")
41 {}
DetDescr_StorageType
const long DetDescr_StorageType
Definition: DetDescrCnvSvc.cxx:20
DetDescrAddress.h
DetDescrConverter::fillRepRefs
virtual StatusCode fillRepRefs(IOpaqueAddress *pAddr, DataObject *pObj)
Definition: DetDescrConverter.cxx:25
StdJOSetup.msgSvc
msgSvc
Provide convenience handles for various services.
Definition: StdJOSetup.py:36
DetDescrConverter::fillObjRefs
virtual StatusCode fillObjRefs(IOpaqueAddress *pAddr, DataObject *pObj)
Definition: DetDescrConverter.cxx:15
DetDescrConverter::createRep
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Definition: DetDescrConverter.cxx:20
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DetDescrConverter::DetDescrConverter
DetDescrConverter(const CLID &myCLID, ISvcLocator *svcloc, const char *name=nullptr)
Definition: DetDescrConverter.cxx:34
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
Converter
Definition: Converter.h:27
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
DetDescrConverter::storageType
static long storageType()
Storage type for all DetDescrConverters.
Definition: DetDescrConverter.cxx:30
DetDescrConverter.h
DetDescrCnvSvc.h