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