ATLAS Offline Software
Loading...
Searching...
No Matches
DetDescrConverter.h
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
10#ifndef DETDESCRCNVSVC_DETDESCRCONVERTER_H
11#define DETDESCRCNVSVC_DETDESCRCONVERTER_H
12
13#include "GaudiKernel/Converter.h"
14#include "GaudiKernel/ServiceHandle.h"
15
19
20class DetDescrCnvSvc;
21class DetDescrAddress;
22class DataObject;
23
24
26 public:
27 virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj) = 0;
28 virtual StatusCode fillObjRefs(IOpaqueAddress* pAddr, DataObject* pObj);
29 virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr);
30 virtual StatusCode fillRepRefs(IOpaqueAddress* pAddr, DataObject* pObj);
31
34
36 static long storageType();
37
38 protected:
39 DetDescrConverter(const CLID& myCLID, ISvcLocator* svcloc, const char* name = nullptr);
40
41 private:
43};
44
45#endif // DETDESCRCNVSVC_DETDESCRCONVERTER_H
uint32_t CLID
The Class ID type.
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
virtual StatusCode fillRepRefs(IOpaqueAddress *pAddr, DataObject *pObj)
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)=0
static long storageType()
Storage type for all DetDescrConverters.
DetDescrConverter(const CLID &myCLID, ISvcLocator *svcloc, const char *name=nullptr)
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
ServiceHandle< StoreGateSvc > m_detStore
virtual StatusCode fillObjRefs(IOpaqueAddress *pAddr, DataObject *pObj)
const ServiceHandle< StoreGateSvc > & detStore() const
Handle to DetectorStore.