ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
G4Utilities
Geo2G4
src
Geo2G4SolidFactory.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 GEO2G4_Geo2G4SolidFactory_h
6
#define GEO2G4_Geo2G4SolidFactory_h
7
8
#include <map>
9
#include <string>
10
11
#include "GaudiKernel/ServiceHandle.h"
12
13
#include "
AthenaBaseComps/AthMessaging.h
"
14
#include "
CxxUtils/checker_macros.h
"
15
#include "
StoreGate/StoreGateSvc.h
"
16
#include "
LArWheelSolid_type.h
"
17
18
class
G4VSolid;
19
class
GeoShape;
20
class
GeoUnidentifiedShape;
21
struct
EMECData
;
22
class
Geo2G4SolidFactory
:
public
AthMessaging
23
{
24
public
:
25
typedef
ServiceHandle<StoreGateSvc>
StoreGateSvc_t
;
26
typedef
std::pair<LArWheelSolid_t, int>
LArWheelSolidDef_t
;
27
typedef
std::map<std::string, LArWheelSolidDef_t>
LArWheelSolid_typemap
;
28
29
Geo2G4SolidFactory
();
30
G4VSolid* Build
ATLAS_NOT_THREAD_SAFE
(
const
GeoShape*,
const
std::string & name=
""
);
31
32
private
:
33
G4VSolid* createLArWheelSolid
ATLAS_NOT_THREAD_SAFE
(
const
std::string& name,
const
LArWheelSolidDef_t
& lwsdef,
const
EMECData
&emecData)
const
;
34
G4VSolid* createLArWheelSliceSolid
ATLAS_NOT_THREAD_SAFE
(
const
GeoUnidentifiedShape* ,
const
EMECData
&emecData)
const
;
35
36
static
const
LArWheelSolid_typemap
s_lwsTypes
;
38
StoreGateSvc_t
m_detStore
;
39
};
40
41
#endif
AthMessaging.h
LArWheelSolid_type.h
StoreGateSvc.h
checker_macros.h
Define macros for attributes used to control the static checker.
AthMessaging::AthMessaging
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
Definition
AthMessaging.cxx:13
Geo2G4SolidFactory::StoreGateSvc_t
ServiceHandle< StoreGateSvc > StoreGateSvc_t
Definition
Geo2G4SolidFactory.h:25
Geo2G4SolidFactory::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default).
Definition
Geo2G4SolidFactory.h:38
Geo2G4SolidFactory::LArWheelSolidDef_t
std::pair< LArWheelSolid_t, int > LArWheelSolidDef_t
Definition
Geo2G4SolidFactory.h:26
Geo2G4SolidFactory::s_lwsTypes
static const LArWheelSolid_typemap s_lwsTypes
Definition
Geo2G4SolidFactory.h:78
Geo2G4SolidFactory::Geo2G4SolidFactory
Geo2G4SolidFactory()
Definition
Geo2G4SolidFactory.cxx:146
Geo2G4SolidFactory::ATLAS_NOT_THREAD_SAFE
G4VSolid *createLArWheelSolid ATLAS_NOT_THREAD_SAFE(const std::string &name, const LArWheelSolidDef_t &lwsdef, const EMECData &emecData) const
Geo2G4SolidFactory::ATLAS_NOT_THREAD_SAFE
G4VSolid *Build ATLAS_NOT_THREAD_SAFE(const GeoShape *, const std::string &name="")
Geo2G4SolidFactory::LArWheelSolid_typemap
std::map< std::string, LArWheelSolidDef_t > LArWheelSolid_typemap
Definition
Geo2G4SolidFactory.h:27
Geo2G4SolidFactory::ATLAS_NOT_THREAD_SAFE
G4VSolid *createLArWheelSliceSolid ATLAS_NOT_THREAD_SAFE(const GeoUnidentifiedShape *, const EMECData &emecData) const
ServiceHandle
Definition
ClusterMakerTool.h:36
EMECData
Definition
EMECData.h:131
Generated on
for ATLAS Offline Software by
1.17.0