ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
AtlasGeometryCommon
CavernInfraGeoModel
src
CavernInfraDetectorFactory.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef CAVERNINFRAGEOMODEL_CAVERNINFRADETECTORFACTORY_H
6
#define CAVERNINFRAGEOMODEL_CAVERNINFRADETECTORFACTORY_H
7
8
#include "
CavernInfraDetectorManager.h
"
9
#include "GeoModelKernel/GeoVDetectorFactory.h"
10
#include "
StoreGate/StoreGateSvc.h
"
11
#include "
RDBAccessSvc/IRDBAccessSvc.h
"
12
13
#include <string>
14
15
class
CavernInfraDetectorFactory
:
public
GeoVDetectorFactory
16
{
17
public
:
18
// Constructor:
19
CavernInfraDetectorFactory
(
const
ServiceHandle<StoreGateSvc>
& pDetStore,
20
const
ServiceHandle<IRDBAccessSvc>
& pAccess);
21
22
// Illegal operations:
23
const
CavernInfraDetectorFactory
&
operator=
(
const
CavernInfraDetectorFactory
&right) =
delete
;
24
CavernInfraDetectorFactory
(
const
CavernInfraDetectorFactory
&right) =
delete
;
25
26
// Destructor:
27
~CavernInfraDetectorFactory
() =
default
;
28
29
// Creation of geometry:
30
virtual
void
create
(GeoPhysVol *world)
override
;
31
32
// Access to the results:
33
virtual
const
CavernInfraDetectorManager
*
getDetectorManager
()
const override
;
34
35
// Set version Tag and Node
36
void
setTagNode
(
const
std::string& tag,
const
std::string&
node
);
37
38
private
:
39
// The manager:
40
CavernInfraDetectorManager
*
m_detectorManager
{
nullptr
};
41
42
ServiceHandle<StoreGateSvc>
m_detectorStore
;
43
ServiceHandle<IRDBAccessSvc>
m_access
;
44
std::string
m_versionTag
;
45
std::string
m_versionNode
;
46
};
47
48
// Class CavernInfraDetectorFactory
49
#endif
50
CavernInfraDetectorManager.h
IRDBAccessSvc.h
Definition of the abstract IRDBAccessSvc interface.
StoreGateSvc.h
CavernInfraDetectorFactory::m_versionTag
std::string m_versionTag
Definition
CavernInfraDetectorFactory.h:44
CavernInfraDetectorFactory::setTagNode
void setTagNode(const std::string &tag, const std::string &node)
Definition
CavernInfraDetectorFactory.cxx:444
CavernInfraDetectorFactory::CavernInfraDetectorFactory
CavernInfraDetectorFactory(const ServiceHandle< StoreGateSvc > &pDetStore, const ServiceHandle< IRDBAccessSvc > &pAccess)
Definition
CavernInfraDetectorFactory.cxx:31
CavernInfraDetectorFactory::~CavernInfraDetectorFactory
~CavernInfraDetectorFactory()=default
CavernInfraDetectorFactory::m_access
ServiceHandle< IRDBAccessSvc > m_access
Definition
CavernInfraDetectorFactory.h:43
CavernInfraDetectorFactory::m_detectorStore
ServiceHandle< StoreGateSvc > m_detectorStore
Definition
CavernInfraDetectorFactory.h:42
CavernInfraDetectorFactory::operator=
const CavernInfraDetectorFactory & operator=(const CavernInfraDetectorFactory &right)=delete
CavernInfraDetectorFactory::getDetectorManager
virtual const CavernInfraDetectorManager * getDetectorManager() const override
Definition
CavernInfraDetectorFactory.cxx:439
CavernInfraDetectorFactory::m_detectorManager
CavernInfraDetectorManager * m_detectorManager
Definition
CavernInfraDetectorFactory.h:40
CavernInfraDetectorFactory::create
virtual void create(GeoPhysVol *world) override
Definition
CavernInfraDetectorFactory.cxx:38
CavernInfraDetectorFactory::m_versionNode
std::string m_versionNode
Definition
CavernInfraDetectorFactory.h:45
CavernInfraDetectorFactory::CavernInfraDetectorFactory
CavernInfraDetectorFactory(const CavernInfraDetectorFactory &right)=delete
CavernInfraDetectorManager
Definition
CavernInfraDetectorManager.h:13
ServiceHandle
Definition
ClusterMakerTool.h:36
node
Definition
node.h:24
Generated on
for ATLAS Offline Software by
1.17.0