ATLAS Offline Software
Loading...
Searching...
No Matches
ForwardDetectors
LUCID
LUCID_G4_SD
src
LUCID_SensitiveDetectorTool.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
// Class header
7
#include "
LUCID_SensitiveDetectorTool.h
"
8
9
// Package includes
10
#include "
LUCID_SensitiveDetector.h
"
11
12
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
13
14
LUCID_SensitiveDetectorTool::LUCID_SensitiveDetectorTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent)
15
:
SensitiveDetectorBase
(
type
,name,parent)
16
{
17
}
18
19
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
20
21
G4VSensitiveDetector*
LUCID_SensitiveDetectorTool::makeSD
()
const
22
{
23
ATH_MSG_DEBUG
(
"Initializing SD"
);
24
// Create a fresh SD
25
return
new
LUCID_SensitiveDetector
(name(),
m_outputCollectionNames
[0]);
26
}
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition
AthMsgStreamMacros.h:29
LUCID_SensitiveDetectorTool.h
LUCID_SensitiveDetector.h
LUCID_SensitiveDetectorTool::LUCID_SensitiveDetectorTool
LUCID_SensitiveDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
LUCID_SensitiveDetectorTool.cxx:14
LUCID_SensitiveDetectorTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition
LUCID_SensitiveDetectorTool.cxx:21
LUCID_SensitiveDetector
Definition
LUCID_SensitiveDetector.h:22
SensitiveDetectorBase::m_outputCollectionNames
Gaudi::Property< std::vector< std::string > > m_outputCollectionNames
Names of all output collections written out by this SD.
Definition
SensitiveDetectorBase.h:98
SensitiveDetectorBase::SensitiveDetectorBase
SensitiveDetectorBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition
SensitiveDetectorBase.cxx:17
type
Generated on
for ATLAS Offline Software by
1.14.0