ATLAS Offline Software
BLMSensorSDTool.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 // BLM Sensitive Detector tool
7 //
8 //###############################################
9 
10 // Class header
11 #include "BLMSensorSDTool.h"
12 
13 // Package headers
14 #include "BLMSensorSD.h"
15 
16 
17 BLMSensorSDTool::BLMSensorSDTool(const std::string& type, const std::string& name, const IInterface *parent)
19 {
20 }
21 
22 G4VSensitiveDetector* BLMSensorSDTool::makeSD() const
23 {
24  ATH_MSG_DEBUG( "Initializing SD" );
25 
26  // Create a fresh SD
27  return new BLMSensorSD(name(), m_outputCollectionNames[0]);
28 }
SensitiveDetectorBase
Common base class for tools that create and manage Geant4 sensitive detectors.
Definition: SensitiveDetectorBase.h:42
BLMSensorSDTool.h
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
test_pyathena.parent
parent
Definition: test_pyathena.py:15
BLMSensorSDTool::BLMSensorSDTool
BLMSensorSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: BLMSensorSDTool.cxx:17
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
BLMSensorSD.h
BLMSensorSD
Definition: BLMSensorSD.h:25
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
BLMSensorSDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition: BLMSensorSDTool.cxx:22