Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
MuonSpectrometer
MuonG4
MuonG4SD
src
TGCSensitiveDetector.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
61
#ifndef TGCSENSITIVEDETECTOR_H
62
#define TGCSENSITIVEDETECTOR_H
63
64
#include "G4VSensitiveDetector.hh"
65
#include "
StoreGate/WriteHandle.h
"
66
67
#include "
MuonSimEvent/TGCSimHitCollection.h
"
68
#include "
MuonSimEvent/TgcHitIdHelper.h
"
69
#include <gtest/gtest_prod.h>
70
71
class
TGCSensitiveDetector
:
public
G4VSensitiveDetector {
72
FRIEND_TEST
( TGCSensitiveDetectortest,
Initialize
);
73
FRIEND_TEST
( TGCSensitiveDetectortest,
ProcessHits
);
74
75
public
:
77
TGCSensitiveDetector
(
const
std::string&
name
,
const
std::string& hitCollectionName);
78
~TGCSensitiveDetector
() {}
79
81
void
Initialize
(G4HCofThisEvent* HCE)
override
final
;
82
G4bool
ProcessHits
(G4Step* aStep, G4TouchableHistory* ROHist)
override
final
;
83
84
private
:
86
SG::WriteHandle<TGCSimHitCollection>
m_myTGCHitColl
;
87
const
TgcHitIdHelper
*
m_muonHelper
;
88
};
89
90
#endif
TGCSensitiveDetector::FRIEND_TEST
FRIEND_TEST(TGCSensitiveDetectortest, ProcessHits)
TGCSensitiveDetector::m_muonHelper
const TgcHitIdHelper * m_muonHelper
Definition:
TGCSensitiveDetector.h:87
TGCSensitiveDetector::ProcessHits
G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROHist) override final
Definition:
TGCSensitiveDetector.cxx:29
TGCSensitiveDetector::TGCSensitiveDetector
TGCSensitiveDetector(const std::string &name, const std::string &hitCollectionName)
construction/destruction
Definition:
TGCSensitiveDetector.cxx:16
TgcHitIdHelper
Definition:
TgcHitIdHelper.h:13
WriteHandle.h
Handle class for recording to StoreGate.
TGCSensitiveDetector::~TGCSensitiveDetector
~TGCSensitiveDetector()
Definition:
TGCSensitiveDetector.h:78
TGCSensitiveDetector::Initialize
void Initialize(G4HCofThisEvent *HCE) override final
member functions
Definition:
TGCSensitiveDetector.cxx:24
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
TGCSensitiveDetector::FRIEND_TEST
FRIEND_TEST(TGCSensitiveDetectortest, Initialize)
TGCSimHitCollection.h
SG::WriteHandle
Definition:
StoreGate/StoreGate/WriteHandle.h:73
TGCSensitiveDetector
Definition:
TGCSensitiveDetector.h:71
TgcHitIdHelper.h
TGCSensitiveDetector::m_myTGCHitColl
SG::WriteHandle< TGCSimHitCollection > m_myTGCHitColl
member data
Definition:
TGCSensitiveDetector.h:86
Generated on Tue Apr 22 2025 21:20:05 for ATLAS Offline Software by
1.8.18