ATLAS Offline Software
TrackRecorderSDTool.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // Track Recorder Sensitive Detector Tool.
6 //
7 
8 // class header
9 #include "TrackRecorderSDTool.h"
10 
11 // package includes
13 
14 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
15 
16 TrackRecorderSDTool::TrackRecorderSDTool(const std::string& type, const std::string& name, const IInterface* parent)
18  , m_SD_type(1)
19 {
20  declareProperty("SD_type", m_SD_type);
21 }
22 
23 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
24 
25 G4VSensitiveDetector* TrackRecorderSDTool::makeSD() const
26 {
27  ATH_MSG_DEBUG( "Initializing SD" );
28  //SD name has to be the same as the collection name for now in order
29  //to fit with how the old configuration works...
31 }
TrackFastSimSD
Definition: TrackFastSimSD.h:24
TrackFastSimSD.h
SensitiveDetectorBase
Common base class for tools that create and manage Geant4 sensitive detectors.
Definition: SensitiveDetectorBase.h:42
TrackRecorderSDTool::TrackRecorderSDTool
TrackRecorderSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrackRecorderSDTool.cxx:16
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:195
TrackRecorderSDTool.h
TrackRecorderSDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition: TrackRecorderSDTool.cxx:25
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TrackRecorderSDTool::m_SD_type
int m_SD_type
Definition: TrackRecorderSDTool.h:35
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15