ATLAS Offline Software
Trigger
TrigT1
TrigT1TGC
TrigT1TGC
TGCHitPattern.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TGCHitPattern_hh
6
#define TGCHitPattern_hh
7
#include <fstream>
8
9
namespace
LVL1TGCTrigger
{
10
11
class
TGCHitPattern
{
12
public
:
13
TGCHitPattern
();
14
TGCHitPattern
(
int
len);
15
~TGCHitPattern
();
16
17
TGCHitPattern
(
const
TGCHitPattern
& right);
18
TGCHitPattern
&
operator=
(
const
TGCHitPattern
& right);
19
20
void
setLength
(
int
length
);
21
int
getLength
()
const
;
22
23
void
onChannel
(
int
iChannel);
24
void
offChannel
(
int
iChannel);
25
void
setChannel
(
int
iChannel,
bool
pattern
);
26
void
setChannel
(
char
*
pat
);
27
void
clear
();
28
void
print
(
int
unit
)
const
;
// print bit pattern separated by underscore.
29
void
print
()
const
;
30
bool
getChannel
(
int
iChannel)
const
;
31
32
// new method for hit visualization (KH 19/01/01)
33
void
visual
(
int
Cycle,
int
Width,
int
Tag
)
const
;
34
35
// new method to set hit patterns (KH 08/05/01)
36
void
setPattern
(
bool
* newpattern);
37
38
void
printb
()
const
;
39
void
printb
(std::ofstream* ofs)
const
;
40
void
dec2bin
(
int
dec);
41
void
push_back
(
TGCHitPattern
* hp);
42
43
private
:
44
bool
*
m_pattern
;
// this array is created when the length is specified
45
int
m_length
;
46
};
47
48
inline
49
int
TGCHitPattern::getLength
()
const
50
{
51
return
m_length
;
52
}
53
54
inline
55
void
TGCHitPattern::onChannel
(
int
iChannel)
56
{
57
m_pattern
[iChannel] =
true
;
58
}
59
60
inline
61
void
TGCHitPattern::offChannel
(
int
iChannel)
62
{
63
m_pattern
[iChannel] =
false
;
64
}
65
66
67
68
}
//end of namespace bracket
69
70
#endif // TGCHitPattern_hh
71
72
73
74
75
mergePhysValFiles.pattern
pattern
Definition:
DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:26
athena_checkUpload.Tag
string Tag
Definition:
athena_checkUpload.py:189
LVL1TGCTrigger::TGCHitPattern::getLength
int getLength() const
Definition:
TGCHitPattern.h:49
LVL1TGCTrigger::TGCHitPattern::printb
void printb() const
Definition:
TGCHitPattern.cxx:141
LVL1TGCTrigger::TGCHitPattern::onChannel
void onChannel(int iChannel)
Definition:
TGCHitPattern.h:55
LVL1TGCTrigger::TGCHitPattern::setLength
void setLength(int length)
Definition:
TGCHitPattern.cxx:74
LVL1TGCTrigger::TGCHitPattern::print
void print() const
Definition:
TGCHitPattern.cxx:124
LVL1TGCTrigger::TGCHitPattern::push_back
void push_back(TGCHitPattern *hp)
Definition:
TGCHitPattern.cxx:158
LVL1TGCTrigger::TGCHitPattern::getChannel
bool getChannel(int iChannel) const
Definition:
TGCHitPattern.cxx:64
LVL1TGCTrigger::TGCHitPattern::clear
void clear()
Definition:
TGCHitPattern.cxx:105
LVL1TGCTrigger
Definition:
LVL1TGCTrigger.cxx:47
LVL1TGCTrigger::TGCHitPattern
Definition:
TGCHitPattern.h:11
dso-stats.pat
pat
Definition:
dso-stats.py:39
LVL1TGCTrigger::TGCHitPattern::setChannel
void setChannel(int iChannel, bool pattern)
Definition:
TGCHitPattern.cxx:85
LVL1TGCTrigger::TGCHitPattern::dec2bin
void dec2bin(int dec)
Definition:
TGCHitPattern.cxx:175
LVL1TGCTrigger::TGCHitPattern::m_length
int m_length
Definition:
TGCHitPattern.h:45
unit
const PlainObject unit() const
This is a plugin that makes Eigen look like CLHEP & defines some convenience methods.
Definition:
AmgMatrixBasePlugin.h:21
LVL1TGCTrigger::TGCHitPattern::operator=
TGCHitPattern & operator=(const TGCHitPattern &right)
Definition:
TGCHitPattern.cxx:47
LVL1TGCTrigger::TGCHitPattern::TGCHitPattern
TGCHitPattern()
Definition:
TGCHitPattern.cxx:12
LVL1TGCTrigger::TGCHitPattern::offChannel
void offChannel(int iChannel)
Definition:
TGCHitPattern.h:61
LVL1TGCTrigger::TGCHitPattern::~TGCHitPattern
~TGCHitPattern()
Definition:
TGCHitPattern.cxx:17
length
double length(const pvec &v)
Definition:
FPGATrackSimLLPDoubletHoughTransformTool.cxx:26
LVL1TGCTrigger::TGCHitPattern::visual
void visual(int Cycle, int Width, int Tag) const
Definition:
TGCHitPattern.cxx:232
LVL1TGCTrigger::TGCHitPattern::setPattern
void setPattern(bool *newpattern)
Definition:
TGCHitPattern.cxx:239
LVL1TGCTrigger::TGCHitPattern::m_pattern
bool * m_pattern
Definition:
TGCHitPattern.h:44
Generated on Thu Nov 7 2024 21:27:41 for ATLAS Offline Software by
1.8.18