ATLAS Offline Software
DetectorDescription
GeoModel
GeoModelExamples
GeoModelExamples
SimplestToyDetectorFactory.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef SimplestToyDetectorFactory_h
6
#define SimplestToyDetectorFactory_h 1
7
#include "GeoModelKernel/GeoVDetectorFactory.h"
8
#include "
GeoModelExamples/ToyDetectorManager.h
"
9
class
StoreGateSvc
;
10
class
SimplestToyDetectorFactory
:
public
GeoVDetectorFactory {
11
12
public
:
13
14
// Constructor:
15
SimplestToyDetectorFactory
(
StoreGateSvc
*pDetStore);
16
17
// Destructor:
18
~SimplestToyDetectorFactory
();
19
20
// Creation of geometry:
21
virtual
void
create
(GeoPhysVol *world);
22
23
// Access to the results:
24
virtual
const
ToyDetectorManager
*
getDetectorManager
()
const
;
25
26
private
:
27
28
// Illegal operations:
29
const
SimplestToyDetectorFactory
&
operator=
(
const
SimplestToyDetectorFactory
&right);
30
SimplestToyDetectorFactory
(
const
SimplestToyDetectorFactory
&right);
31
32
// The manager:
33
ToyDetectorManager
*
m_detectorManager
;
34
35
StoreGateSvc
*
m_detectorStore
;
36
};
37
38
// Class SimplestToyDetectorFactory
39
#endif
SimplestToyDetectorFactory::SimplestToyDetectorFactory
SimplestToyDetectorFactory(const SimplestToyDetectorFactory &right)
SimplestToyDetectorFactory::getDetectorManager
virtual const ToyDetectorManager * getDetectorManager() const
Definition:
SimplestToyDetectorFactory.cxx:85
SimplestToyDetectorFactory::create
virtual void create(GeoPhysVol *world)
Definition:
SimplestToyDetectorFactory.cxx:38
SimplestToyDetectorFactory::SimplestToyDetectorFactory
SimplestToyDetectorFactory(StoreGateSvc *pDetStore)
Definition:
SimplestToyDetectorFactory.cxx:29
StoreGateSvc
The Athena Transient Store API.
Definition:
StoreGateSvc.h:125
SimplestToyDetectorFactory::~SimplestToyDetectorFactory
~SimplestToyDetectorFactory()
Definition:
SimplestToyDetectorFactory.cxx:33
SimplestToyDetectorFactory::m_detectorManager
ToyDetectorManager * m_detectorManager
Definition:
SimplestToyDetectorFactory.h:33
ToyDetectorManager.h
SimplestToyDetectorFactory::m_detectorStore
StoreGateSvc * m_detectorStore
Definition:
SimplestToyDetectorFactory.h:35
SimplestToyDetectorFactory
Definition:
SimplestToyDetectorFactory.h:10
ToyDetectorManager
Definition:
ToyDetectorManager.h:13
SimplestToyDetectorFactory::operator=
const SimplestToyDetectorFactory & operator=(const SimplestToyDetectorFactory &right)
Generated on Sun Dec 22 2024 21:18:13 for ATLAS Offline Software by
1.8.18