ATLAS Offline Software
InnerDetector
InDetG4
SCT_G4_SD
src
SctSensor_CTBTool.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
// SCT Sensitive Detector Tool.
6
//
7
8
//class header
9
#include "
SctSensor_CTBTool.h
"
10
11
//package includes
12
#include "
SctSensor_CTB.h
"
13
14
// STL includes
15
#include <exception>
16
17
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
18
19
SctSensor_CTBTool::SctSensor_CTBTool
(
const
std::string&
type
,
const
std::string&
name
,
const
IInterface*
parent
)
20
:
SensitiveDetectorBase
(
type
,
name
,
parent
)
21
{
22
}
23
24
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
25
26
G4VSensitiveDetector*
SctSensor_CTBTool::makeSD
()
const
27
{
28
ATH_MSG_DEBUG
(
"Initializing SD"
);
29
30
return
new
SctSensor_CTB
(
name
(),
m_outputCollectionNames
[0]);
31
}
32
SctSensor_CTBTool::SctSensor_CTBTool
SctSensor_CTBTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
SctSensor_CTBTool.cxx:19
SctSensor_CTB.h
SensitiveDetectorBase
Common base class for tools that create and manage Geant4 sensitive detectors.
Definition:
SensitiveDetectorBase.h:42
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition:
AthMsgStreamMacros.h:29
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
SctSensor_CTBTool.h
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:195
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
SctSensor_CTB
Definition:
SctSensor_CTB.h:28
SctSensor_CTBTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition:
SctSensor_CTBTool.cxx:26
Generated on Fri Jul 5 2024 21:26:33 for ATLAS Offline Software by
1.8.18