ATLAS Offline Software
Loading...
Searching...
No Matches
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
10
11// package includes
13
14//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
15
16TrackRecorderSDTool::TrackRecorderSDTool(const std::string& type, const std::string& name, const IInterface* parent)
17 : SensitiveDetectorBase( type , name , parent )
18 , m_SD_type(1)
19{
20 declareProperty("SD_type", m_SD_type);
21}
22
23//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
24
25G4VSensitiveDetector* 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}
#define ATH_MSG_DEBUG(x)
Gaudi::Property< std::vector< std::string > > m_outputCollectionNames
Names of all output collections written out by this SD.
SensitiveDetectorBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
TrackRecorderSDTool(const std::string &type, const std::string &name, const IInterface *parent)
G4VSensitiveDetector * makeSD() const override final