ATLAS Offline Software
InnerDetector
InDetG4
BCM_G4_SD
src
BCMSensorSDTool.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
// BCM Sensitive Detector Tool
7
//
8
//###############################################
9
10
// Class header
11
#include "
BCMSensorSDTool.h
"
12
13
// For the SD itself
14
#include "
BCMSensorSD.h
"
15
16
BCMSensorSDTool::BCMSensorSDTool
(
const
std::string&
type
,
const
std::string&
name
,
const
IInterface *
parent
) :
17
SensitiveDetectorBase
(
type
,
name
,
parent
)
18
{
19
}
20
21
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
22
23
G4VSensitiveDetector*
BCMSensorSDTool::makeSD
()
const
24
{
25
ATH_MSG_DEBUG
(
"Initializing SD"
);
26
27
// Create a fresh SD
28
return
new
BCMSensorSD
(
name
(),
m_outputCollectionNames
[0]);
29
}
30
31
BCMSensorSDTool::BCMSensorSDTool
BCMSensorSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
BCMSensorSDTool.cxx:16
SensitiveDetectorBase
Common base class for tools that create and manage Geant4 sensitive detectors.
Definition:
SensitiveDetectorBase.h:42
BCMSensorSD.h
BCMSensorSDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition:
BCMSensorSDTool.cxx:23
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition:
AthMsgStreamMacros.h:29
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
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:221
BCMSensorSD
Definition:
BCMSensorSD.h:25
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
BCMSensorSDTool.h
Generated on Thu Nov 7 2024 21:10:43 for ATLAS Offline Software by
1.8.18