ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetG4
BCM_G4_SD
src
BCMSensorSDTool.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
//###############################################
6
// BCM Sensitive Detector class
7
// Bostjan Macek 17.may.2007
8
//###############################################
9
10
#ifndef BCM_G4_SD_BCMSENSORSDTOOL_H
11
#define BCM_G4_SD_BCMSENSORSDTOOL_H
12
13
// Base class
14
#include "
G4AtlasTools/SensitiveDetectorBase.h
"
15
16
class
BCMSensorSDTool
:
public
SensitiveDetectorBase
17
{
18
public
:
19
// Constructor
20
BCMSensorSDTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface *parent);
21
22
virtual
StatusCode
SetupEvent
(
HitCollectionMap
&)
override
;
23
virtual
StatusCode
Gather
(
HitCollectionMap
&)
override
;
24
25
protected
:
26
// Make me an SD!
27
G4VSensitiveDetector*
makeSD
()
const
override
final
;
28
29
};
30
31
#endif
//BCM_G4_SD_BCMSENSORSDTOOL_H
SensitiveDetectorBase.h
BCMSensorSDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition
BCMSensorSDTool.cxx:36
BCMSensorSDTool::SetupEvent
virtual StatusCode SetupEvent(HitCollectionMap &) override
Beginning of an athena event.
Definition
BCMSensorSDTool.cxx:23
BCMSensorSDTool::BCMSensorSDTool
BCMSensorSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
BCMSensorSDTool.cxx:18
BCMSensorSDTool::Gather
virtual StatusCode Gather(HitCollectionMap &) override
End of an athena event.
Definition
BCMSensorSDTool.cxx:29
HitCollectionMap
Small wrapper around hit collection map to facilitate accessing the hit collection.
Definition
HitCollectionMap.h:23
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