ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TileCalorimeter
TileG4
TileAncillary
MuonWall
src
MuonWallSDTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//**************************************************************
6
//
7
// Class MuonWallSDTool
8
//
9
// Tool for configuring the sensitive detector for the Muon Wall
10
//
11
//**************************************************************
12
13
#ifndef MUONWALL_MUONWALLSDTOOL_H
14
#define MUONWALL_MUONWALLSDTOOL_H
15
16
// Base class header
17
#include "
G4AtlasTools/SensitiveDetectorBase.h
"
18
19
//STL headers
20
#include <string>
21
22
class
G4VSensitiveDetector;
23
24
class
MuonWallSDTool
:
public
SensitiveDetectorBase
{
25
public
:
26
MuonWallSDTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface *parent);
27
28
~MuonWallSDTool
();
29
30
virtual
StatusCode
SetupEvent
(
HitCollectionMap
&)
override
final
;
31
32
virtual
StatusCode
Gather
(
HitCollectionMap
&)
override
final
;
33
34
protected
:
35
// Make me an SD!
36
G4VSensitiveDetector*
makeSD
()
const
override
final
;
37
};
38
39
#endif
// MUONWALL_MUONWALLSDTOOL_H
SensitiveDetectorBase.h
HitCollectionMap
Small wrapper around hit collection map to facilitate accessing the hit collection.
Definition
HitCollectionMap.h:23
MuonWallSDTool::MuonWallSDTool
MuonWallSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
MuonWallSDTool.cxx:21
MuonWallSDTool::Gather
virtual StatusCode Gather(HitCollectionMap &) override final
End of an athena event.
Definition
MuonWallSDTool.cxx:41
MuonWallSDTool::~MuonWallSDTool
~MuonWallSDTool()
Definition
MuonWallSDTool.cxx:27
MuonWallSDTool::SetupEvent
virtual StatusCode SetupEvent(HitCollectionMap &) override final
Beginning of an athena event.
Definition
MuonWallSDTool.cxx:33
MuonWallSDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition
MuonWallSDTool.cxx:50
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.17.0