Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
atlas
athena
Commits
1abd7685
Commit
1abd7685
authored
Apr 25, 2019
by
Jiří Mašík
Browse files
remove casts from the code
parent
c57e7d83
Changes
1
Hide whitespace changes
Inline
Side-by-side
InnerDetector/InDetTrigRecAlgs/InDetTrigPrepRawDataFormat/src/Pixel_TrgClusterization.cxx
View file @
1abd7685
...
...
@@ -416,8 +416,6 @@ namespace InDet{
// (the ByteStreamConvertors are called here).
if
(
scdec
.
isSuccess
()){
//check for recoverable errors
...
...
@@ -425,18 +423,16 @@ namespace InDet{
int
bsErrors
[
IPixelByteStreamErrorsSvc
::
lastErrType
+
1
];
for
(
size_t
idx
=
0
;
idx
<=
size_t
(
IPixelByteStreamErrorsSvc
::
lastErrType
);
idx
++
){
for
(
const
auto
idx
:
{
IPixelByteStreamErrorsSvc
::
firstErrType
,
IPixelByteStreamErrorsSvc
::
lastErrType
}
){
int
n_errors
=
m_bsErrorSvc
->
getNumberOfErrors
(
idx
);
n_err_total
+=
n_errors
;
bsErrors
[
idx
]
=
n_errors
;
}
ATH_MSG_DEBUG
(
"decoding errors: "
<<
n_err_total
);
if
(
n_err_total
){
for
(
size_t
idx
=
0
;
idx
<=
size_t
(
IPixelByteStreamErrorsSvc
::
lastErrType
);
idx
++
){
// m_PixBSErr.push_back(bsErrors[idx]);
for
(
const
auto
idx
:
{
IPixelByteStreamErrorsSvc
::
firstErrType
,
IPixelByteStreamErrorsSvc
::
lastErrType
}
){
if
(
bsErrors
[
idx
])
m_PixBSErr
.
push_back
(
idx
);
if
(
msgLvl
(
MSG
::
DEBUG
))
...
...
John Derek Chapman
@jchapman
mentioned in commit
b2558625
·
May 03, 2019
mentioned in commit
b2558625
mentioned in commit b25586259613fe7b89b8ff256ea288cd1c83be22
Toggle commit list
Jiri Masik
@jmasik
mentioned in merge request
!23157 (merged)
·
May 03, 2019
mentioned in merge request
!23157 (merged)
mentioned in merge request !23157
Toggle commit list
John Derek Chapman
@jchapman
mentioned in commit
c0a54b43
·
May 15, 2019
mentioned in commit
c0a54b43
mentioned in commit c0a54b43fd0243c239c5dea5e5842a30c8505c4b
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment