ATLAS Offline Software
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 
17  public:
18  ZDC_ModuleBase(){ m_detectorStore = nullptr; m_side = 0; m_module = -1; m_zdcID = nullptr;}
21  m_side( side ),
22  m_module( module ),
23  m_zdcID( zdcID )
24  {}
25 
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 
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