ATLAS Offline Software
MuonSpectrometer
MuonG4
MuonG4SD
src
sTGCSensitiveDetectorTool.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
sTGCSensitiveDetectorTool.h
"
6
#include "
sTGCSensitiveDetector.h
"
7
8
sTGCSensitiveDetectorTool::sTGCSensitiveDetectorTool
(
const
std::string&
type
,
const
std::string&
name
,
const
IInterface*
parent
)
9
:
SensitiveDetectorBase
(
type
,
name
,
parent
)
10
{
11
}
12
13
G4VSensitiveDetector*
sTGCSensitiveDetectorTool::makeSD
()
const
14
{
15
ATH_MSG_DEBUG
(
"Initializing SD"
);
16
return
new
sTGCSensitiveDetector
(
name
(),
m_outputCollectionNames
[0],
m_onSqLite
);
17
}
SensitiveDetectorBase
Common base class for tools that create and manage Geant4 sensitive detectors.
Definition:
SensitiveDetectorBase.h:50
sTGCSensitiveDetector.h
python.CaloAddPedShiftConfig.type
type
Definition:
CaloAddPedShiftConfig.py:42
sTGCSensitiveDetectorTool::m_onSqLite
Gaudi::Property< bool > m_onSqLite
Definition:
sTGCSensitiveDetectorTool.h:18
sTGCSensitiveDetectorTool.h
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition:
AthMsgStreamMacros.h:29
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
sTGCSensitiveDetector
Definition:
sTGCSensitiveDetector.h:18
SensitiveDetectorBase::m_outputCollectionNames
Gaudi::Property< std::vector< std::string > > m_outputCollectionNames
Names of all output collections written out by this SD.
Definition:
SensitiveDetectorBase.h:98
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
sTGCSensitiveDetectorTool::sTGCSensitiveDetectorTool
sTGCSensitiveDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
construction/destruction
Definition:
sTGCSensitiveDetectorTool.cxx:8
sTGCSensitiveDetectorTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition:
sTGCSensitiveDetectorTool.cxx:13
Generated on Tue Sep 2 2025 21:21:27 for ATLAS Offline Software by
1.8.18