ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
LUCID
LUCID_G4_SD
src
LUCID_SensitiveDetectorTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LUCID_G4_SD_LUCID_SensitiveDetectorTool_h
6
#define LUCID_G4_SD_LUCID_SensitiveDetectorTool_h
7
8
// Base class
9
#include "
G4AtlasTools/SensitiveDetectorBase.h
"
10
11
// STL headers
12
#include <string>
13
14
class
G4VSensitiveDetector;
15
16
class
LUCID_SensitiveDetectorTool
:
public
SensitiveDetectorBase
{
17
public
:
18
// Constructor
19
LUCID_SensitiveDetectorTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
20
21
// Destructor
22
~LUCID_SensitiveDetectorTool
() {}
23
24
protected
:
26
StatusCode
SetupEvent
(
HitCollectionMap
&)
override
final
;
28
StatusCode
Gather
(
HitCollectionMap
&)
override
final
;
29
// Make me an SD!
30
G4VSensitiveDetector*
makeSD
()
const
override final;
31
32
};
33
34
#endif
//LUCID_G4_SD_LUCID_SensitiveDetectorTool_h
SensitiveDetectorBase.h
HitCollectionMap
Small wrapper around hit collection map to facilitate accessing the hit collection.
Definition
HitCollectionMap.h:23
LUCID_SensitiveDetectorTool::LUCID_SensitiveDetectorTool
LUCID_SensitiveDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
LUCID_SensitiveDetectorTool.cxx:17
LUCID_SensitiveDetectorTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition
LUCID_SensitiveDetectorTool.cxx:39
LUCID_SensitiveDetectorTool::SetupEvent
StatusCode SetupEvent(HitCollectionMap &) override final
Beginning of an athena event.
Definition
LUCID_SensitiveDetectorTool.cxx:24
LUCID_SensitiveDetectorTool::Gather
StatusCode Gather(HitCollectionMap &) override final
End of an athena event.
Definition
LUCID_SensitiveDetectorTool.cxx:31
LUCID_SensitiveDetectorTool::~LUCID_SensitiveDetectorTool
~LUCID_SensitiveDetectorTool()
Definition
LUCID_SensitiveDetectorTool.h:22
SensitiveDetectorBase::SensitiveDetectorBase
SensitiveDetectorBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition
SensitiveDetectorBase.cxx:17
const
type
Generated on
for ATLAS Offline Software by
1.17.0