ATLAS Offline Software
ForwardDetectors
ZDC
ZDC_GeoM
src
ZDC_ModuleBase.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ZDC_MODULEBASE_H
6
#define ZDC_MODULEBASE_H
7
8
#include "
ZdcIdentifier/ZdcID.h
"
9
#include "GeoModelKernel/GeoFullPhysVol.h"
10
#include "GeoModelKernel/GeoAlignableTransform.h"
11
#include "
StoreGate/StoreGateSvc.h
"
12
#include "
ZdcIdentifier/ZdcID.h
"
13
14
struct
Materials;
15
16
class
ZDC_ModuleBase
{
17
public
:
18
ZDC_ModuleBase
(){
m_detectorStore
=
nullptr
;
m_side
= 0;
m_module
= -1;
m_zdcID
=
nullptr
;}
19
ZDC_ModuleBase
(
StoreGateSvc
*
detStore
,
int
side
,
int
module
,
const
ZdcID
*zdcID)
20
:
m_detectorStore
(
detStore
),
21
m_side
(
side
),
22
m_module
(
module
),
23
m_zdcID
( zdcID )
24
{}
25
26
ZDC_ModuleBase
(
ZDC_ModuleBase
*right,
int
side
,
int
module
):
27
m_detectorStore
(right->
m_detectorStore
),
28
m_side
(
side
),
29
m_module
(
module
),
30
m_zdcID
( right->
m_zdcID
)
31
{}
32
33
virtual
~ZDC_ModuleBase
() =
default
;
34
35
virtual
void
create
(GeoFullPhysVol* mother, GeoAlignableTransform*
trf
) = 0;
36
37
protected
:
38
39
StoreGateSvc
*
m_detectorStore
;
40
int
m_side
;
41
int
m_module
;
42
const
ZdcID
*
m_zdcID
;
43
44
};
45
46
47
#endif
ZDC_ModuleBase::m_module
int m_module
Definition:
ZDC_ModuleBase.h:41
ZDC_ModuleBase
Definition:
ZDC_ModuleBase.h:16
TRT::Hit::side
@ side
Definition:
HitInfo.h:83
python.PyAthena.module
module
Definition:
PyAthena.py:131
StoreGateSvc
The Athena Transient Store API.
Definition:
StoreGateSvc.h:125
ZDC_ModuleBase::m_detectorStore
StoreGateSvc * m_detectorStore
Definition:
ZDC_ModuleBase.h:39
ZDC_ModuleBase::m_zdcID
const ZdcID * m_zdcID
Definition:
ZDC_ModuleBase.h:42
ZDC_ModuleBase::ZDC_ModuleBase
ZDC_ModuleBase()
Definition:
ZDC_ModuleBase.h:18
ZDC_ModuleBase::~ZDC_ModuleBase
virtual ~ZDC_ModuleBase()=default
ZDC_ModuleBase::create
virtual void create(GeoFullPhysVol *mother, GeoAlignableTransform *trf)=0
python.PyKernel.detStore
detStore
Definition:
PyKernel.py:41
ZDC_ModuleBase::m_side
int m_side
Definition:
ZDC_ModuleBase.h:40
ZdcID.h
ZDC_ModuleBase::ZDC_ModuleBase
ZDC_ModuleBase(StoreGateSvc *detStore, int side, int module, const ZdcID *zdcID)
Definition:
ZDC_ModuleBase.h:19
ZDC_ModuleBase::ZDC_ModuleBase
ZDC_ModuleBase(ZDC_ModuleBase *right, int side, int module)
Definition:
ZDC_ModuleBase.h:26
CaloLCW_tf.trf
trf
Definition:
CaloLCW_tf.py:20
StoreGateSvc.h
ZdcID
Definition:
ZdcID.h:25
Generated on Thu Nov 7 2024 21:32:16 for ATLAS Offline Software by
1.8.18