ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
ZDC
ZDC_SD
src
ZDC_FiberSDTool.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_SD_ZDC_FIBER_SDTOOL_H
6
#define ZDC_SD_ZDC_FIBER_SDTOOL_H
7
8
#include "
G4AtlasTools/SensitiveDetectorBase.h
"
9
10
// STL headers
11
#include <string>
12
13
class
G4VSensitiveDetector;
14
15
class
ZDC_FiberSDTool
:
public
SensitiveDetectorBase
16
{
17
18
public
:
19
// Constructor
20
ZDC_FiberSDTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
21
// Destructor
22
~ZDC_FiberSDTool
() {};
24
StatusCode
SetupEvent
(
HitCollectionMap
&)
override
final
;
26
StatusCode
Gather
(
HitCollectionMap
&)
override
final
;
27
28
protected
:
29
// Make me an SD!
30
G4VSensitiveDetector*
makeSD
()
const
override final;
31
32
private
:
33
float
m_readoutPos
;
// Y position of the top of the readout fibers
34
35
};
36
37
#endif
//ZDC_SD_ZDC_STRIP_SDTOOL_H
SensitiveDetectorBase.h
HitCollectionMap
Small wrapper around hit collection map to facilitate accessing the hit collection.
Definition
HitCollectionMap.h:23
SensitiveDetectorBase::SensitiveDetectorBase
SensitiveDetectorBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition
SensitiveDetectorBase.cxx:17
ZDC_FiberSDTool::~ZDC_FiberSDTool
~ZDC_FiberSDTool()
Definition
ZDC_FiberSDTool.h:22
ZDC_FiberSDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition
ZDC_FiberSDTool.cxx:45
ZDC_FiberSDTool::m_readoutPos
float m_readoutPos
Definition
ZDC_FiberSDTool.h:33
ZDC_FiberSDTool::SetupEvent
StatusCode SetupEvent(HitCollectionMap &) override final
Beginning of an athena event.
Definition
ZDC_FiberSDTool.cxx:24
ZDC_FiberSDTool::ZDC_FiberSDTool
ZDC_FiberSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
ZDC_FiberSDTool.cxx:16
ZDC_FiberSDTool::Gather
StatusCode Gather(HitCollectionMap &) override final
End of an athena event.
Definition
ZDC_FiberSDTool.cxx:31
const
type
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0