ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
graphics
VP1
VP1Systems
VP1RawDataSystems
src
TgcDigitCuts.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef VP1_TGCDIGITCUTS_H
6
#define VP1_TGCDIGITCUTS_H
7
8
#include "
MuonDigitContainer/TgcDigit.h
"
9
10
// Selection policy shared by collection filtering and its unit tests.
11
struct
TgcDigitCuts
{
12
bool
showStrips
=
true
;
13
bool
showWires
=
true
;
14
bool
showPrevious
=
true
;
15
bool
showCurrent
=
true
;
16
bool
showNext
=
true
;
17
bool
showNextNext
=
true
;
18
bool
showUndefined
=
true
;
19
bool
showUnknown
=
true
;
20
21
bool
accepts
(
bool
strip
,
unsigned
bcTag
)
const
22
{
23
if
(
strip
? !
showStrips
: !
showWires
)
24
return
false
;
25
switch
(
bcTag
) {
26
case
TgcDigit::BC_UNDEFINED
:
return
showUndefined
;
27
case
TgcDigit::BC_PREVIOUS
:
return
showPrevious
;
28
case
TgcDigit::BC_CURRENT
:
return
showCurrent
;
29
case
TgcDigit::BC_NEXT
:
return
showNext
;
30
case
TgcDigit::BC_NEXTNEXT
:
return
showNextNext
;
31
default
:
return
showUnknown
;
32
}
33
}
34
};
35
36
#endif
SiliconTech::strip
@ strip
Definition
FPGATrackSimTypes.h:25
bcTag
unsigned bcTag(unsigned bcBitMap)
Definition
TgcByteStreamData.h:357
TgcDigit.h
TgcDigit::BC_UNDEFINED
@ BC_UNDEFINED
Definition
TgcDigit.h:37
TgcDigit::BC_NEXT
@ BC_NEXT
Definition
TgcDigit.h:37
TgcDigit::BC_CURRENT
@ BC_CURRENT
Definition
TgcDigit.h:37
TgcDigit::BC_PREVIOUS
@ BC_PREVIOUS
Definition
TgcDigit.h:37
TgcDigit::BC_NEXTNEXT
@ BC_NEXTNEXT
Definition
TgcDigit.h:37
TgcDigitCuts
Definition
TgcDigitCuts.h:11
TgcDigitCuts::showUndefined
bool showUndefined
Definition
TgcDigitCuts.h:18
TgcDigitCuts::showNext
bool showNext
Definition
TgcDigitCuts.h:16
TgcDigitCuts::showWires
bool showWires
Definition
TgcDigitCuts.h:13
TgcDigitCuts::showStrips
bool showStrips
Definition
TgcDigitCuts.h:12
TgcDigitCuts::showNextNext
bool showNextNext
Definition
TgcDigitCuts.h:17
TgcDigitCuts::showUnknown
bool showUnknown
Definition
TgcDigitCuts.h:19
TgcDigitCuts::showPrevious
bool showPrevious
Definition
TgcDigitCuts.h:14
TgcDigitCuts::accepts
bool accepts(bool strip, unsigned bcTag) const
Definition
TgcDigitCuts.h:21
TgcDigitCuts::showCurrent
bool showCurrent
Definition
TgcDigitCuts.h:15
Generated on
for ATLAS Offline Software by
1.17.0