ATLAS Offline Software
ForwardDetectors
LUCID
LUCID_G4_SD
src
LUCID_SensitiveDetectorTool.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
6
// Class header
7
#include "
LUCID_SensitiveDetectorTool.h
"
8
9
// Package includes
10
#include "
LUCID_SensitiveDetector.h
"
11
12
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
13
14
LUCID_SensitiveDetectorTool::LUCID_SensitiveDetectorTool
(
const
std::string&
type
,
const
std::string&
name
,
const
IInterface*
parent
)
15
:
SensitiveDetectorBase
(
type
,
name
,
parent
)
16
{
17
}
18
19
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
20
21
G4VSensitiveDetector*
LUCID_SensitiveDetectorTool::makeSD
()
const
22
{
23
ATH_MSG_DEBUG
(
"Initializing SD"
);
24
// Create a fresh SD
25
return
new
LUCID_SensitiveDetector
(
name
(),
m_outputCollectionNames
[0]);
26
}
SensitiveDetectorBase
Common base class for tools that create and manage Geant4 sensitive detectors.
Definition:
SensitiveDetectorBase.h:42
LUCID_SensitiveDetectorTool.h
LUCID_SensitiveDetector.h
LUCID_SensitiveDetector
Definition:
LUCID_SensitiveDetector.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition:
AthMsgStreamMacros.h:29
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
LUCID_SensitiveDetectorTool::LUCID_SensitiveDetectorTool
LUCID_SensitiveDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
LUCID_SensitiveDetectorTool.cxx:14
SensitiveDetectorBase::m_outputCollectionNames
Gaudi::Property< std::vector< std::string > > m_outputCollectionNames
Names of all output collections written out by this SD.
Definition:
SensitiveDetectorBase.h:84
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
LUCID_SensitiveDetectorTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition:
LUCID_SensitiveDetectorTool.cxx:21
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
Generated on Fri Jan 10 2025 21:13:40 for ATLAS Offline Software by
1.8.18