FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
void ConnectionFAD::PrintChannelHeaders
(
)
inline
protected
Definition at line
62
of file
fadctrl.cc
.
References
fStartCell
,
kNumChannelsPerChip
, and
kNumChips
.
63
{
64
Out
() << dec << endl;
65
66
for
(
unsigned
int
c=0; c<
FAD::kNumChips
; c++)
67
{
68
Out
() <<
"ROI|"
<<
fEventHeader
.Crate() <<
":"
<<
fEventHeader
.Board() <<
":"
<< c <<
":"
;
69
for
(
unsigned
int
ch=0; ch<
FAD::kNumChannelsPerChip
; ch++)
70
Out
() <<
" "
<< setw(4) <<
fChannelHeader
[c+ch*
FAD::kNumChips
].fRegionOfInterest;
71
Out
() << endl;
72
}
73
74
Out
() <<
"CEL|"
<<
fEventHeader
.Crate() <<
":"
<<
fEventHeader
.Board() <<
": "
;
75
for
(
unsigned
int
c=0; c<
FAD::kNumChips
; c++)
76
{
77
if
(0)
//fIsFullChannelHeader)
78
{
79
for
(
unsigned
int
ch=0; ch<
FAD::kNumChannelsPerChip
; ch++)
80
Out
() <<
" "
<< setw(4) <<
fChannelHeader
[c+ch*
FAD::kNumChips
].fStartCell;
81
Out
() << endl;
82
}
83
else
84
{
85
Out
() <<
" "
;
86
const
uint16_t cel =
fChannelHeader
[c*
FAD::kNumChannelsPerChip
].fStartCell;
87
for
(
unsigned
int
ch=1; ch<
FAD::kNumChannelsPerChip
; ch++)
88
if
(cel!=
fChannelHeader
[c+ch*FAD::kNumChips].
fStartCell
)
89
{
90
Out
() <<
"!"
;
91
break
;
92
}
93
Out
() << cel;
94
}
95
}
96
Out
() << endl;
97
98
if
(
fIsHexOutput
)
99
Out
() << Converter::GetHex<uint16_t>(
fChannelHeader
, 16) << endl;
100
101
}
kNumChips
Definition:
HeadersFAD.h:90
ConnectionFAD::fChannelHeader
FAD::ChannelHeader fChannelHeader[FAD::kNumChannels]
Definition:
fadctrl.cc:40
kNumChannelsPerChip
Definition:
HeadersFAD.h:91
Connection::Out
std::ostream & Out()
Definition:
Connection.h:51
fStartCell
uint16_t fStartCell
Definition:
HeadersFAD.h:94
ConnectionFAD::fEventHeader
FAD::EventHeader fEventHeader
Definition:
fadctrl.cc:39
ConnectionFAD::fIsHexOutput
bool fIsHexOutput
Definition:
fadctrl.cc:44
ConnectionFAD
Generated on Sun Sep 18 2016 20:50:45 for FACT++ by
1.8.11