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
MicromegasSensitiveDetector.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MicromegasSensitiveDetector_H
6
#define MicromegasSensitiveDetector_H
7
8
#include "G4VSensitiveDetector.hh"
9
#include "
StoreGate/WriteHandle.h
"
10
#include "
MuonSimEvent/MMSimHitCollection.h
"
11
#include <gtest/gtest_prod.h>
12
13
class
MicromegasHitIdHelper
;
14
15
class
MicromegasSensitiveDetector
:
public
G4VSensitiveDetector {
16
FRIEND_TEST
( MicromegasSensitiveDetectortest,
Initialize
);
17
FRIEND_TEST
( MicromegasSensitiveDetectortest,
ProcessHits
);
18
19
public
:
21
MicromegasSensitiveDetector
(
const
std::string&
name
,
const
std::string& hitCollectionName);
22
~MicromegasSensitiveDetector
() {}
23
25
void
Initialize
(G4HCofThisEvent* HCE)
override
final
;
26
G4bool
ProcessHits
(G4Step* aStep, G4TouchableHistory* ROhist)
override
final
;
27
28
private
:
29
30
SG::WriteHandle<MMSimHitCollection>
m_MMSimHitCollection
;
31
const
MicromegasHitIdHelper
*
m_muonHelper
;
32
33
};
34
35
#endif
MicromegasSensitiveDetector::~MicromegasSensitiveDetector
~MicromegasSensitiveDetector()
Definition:
MicromegasSensitiveDetector.h:22
MicromegasSensitiveDetector::MicromegasSensitiveDetector
MicromegasSensitiveDetector(const std::string &name, const std::string &hitCollectionName)
construction/destruction
Definition:
MicromegasSensitiveDetector.cxx:18
MicromegasSensitiveDetector::FRIEND_TEST
FRIEND_TEST(MicromegasSensitiveDetectortest, ProcessHits)
MicromegasSensitiveDetector::ProcessHits
G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist) override final
Definition:
MicromegasSensitiveDetector.cxx:32
MicromegasSensitiveDetector::m_muonHelper
const MicromegasHitIdHelper * m_muonHelper
Definition:
MicromegasSensitiveDetector.h:31
MicromegasSensitiveDetector
Definition:
MicromegasSensitiveDetector.h:15
WriteHandle.h
Handle class for recording to StoreGate.
MicromegasSensitiveDetector::Initialize
void Initialize(G4HCofThisEvent *HCE) override final
member functions
Definition:
MicromegasSensitiveDetector.cxx:27
MicromegasHitIdHelper
Definition:
MicromegasHitIdHelper.h:13
MicromegasSensitiveDetector::FRIEND_TEST
FRIEND_TEST(MicromegasSensitiveDetectortest, Initialize)
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
MMSimHitCollection.h
SG::WriteHandle
Definition:
StoreGate/StoreGate/WriteHandle.h:73
MicromegasSensitiveDetector::m_MMSimHitCollection
SG::WriteHandle< MMSimHitCollection > m_MMSimHitCollection
Definition:
MicromegasSensitiveDetector.h:30
Generated on Thu Apr 24 2025 21:14:54 for ATLAS Offline Software by
1.8.18