ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonG4
MuonG4SD
src
sTGCSensitiveDetectorTool.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 sTGCSensitiveDetectorTool_H
6
#define sTGCSensitiveDetectorTool_H
7
8
#include "
G4AtlasTools/SensitiveDetectorBase.h
"
9
10
class
sTGCSensitiveDetectorTool
:
public
SensitiveDetectorBase
{
11
12
public
:
14
sTGCSensitiveDetectorTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface *parent);
15
virtual
StatusCode
SetupEvent
(
HitCollectionMap
& hitCollections)
override
;
16
virtual
StatusCode
Gather
(
HitCollectionMap
& hitCollections)
override
;
17
protected
:
18
G4VSensitiveDetector*
makeSD
()
const
override
final
;
19
Gaudi::Property<bool>
m_onSqLite
{
this
,
"onSqLite"
,
false
,
"Runs on Sqlite -> adapt base depth of the detector to 1"
};
20
};
21
22
#endif
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
sTGCSensitiveDetectorTool::SetupEvent
virtual StatusCode SetupEvent(HitCollectionMap &hitCollections) override
Beginning of an athena event.
Definition
sTGCSensitiveDetectorTool.cxx:22
sTGCSensitiveDetectorTool::Gather
virtual StatusCode Gather(HitCollectionMap &hitCollections) override
End of an athena event.
Definition
sTGCSensitiveDetectorTool.cxx:28
sTGCSensitiveDetectorTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition
sTGCSensitiveDetectorTool.cxx:16
sTGCSensitiveDetectorTool::m_onSqLite
Gaudi::Property< bool > m_onSqLite
Definition
sTGCSensitiveDetectorTool.h:19
sTGCSensitiveDetectorTool::sTGCSensitiveDetectorTool
sTGCSensitiveDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
construction/destruction
Definition
sTGCSensitiveDetectorTool.cxx:11
type
Generated on
for ATLAS Offline Software by
1.17.0