Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lidija Zivkovic
athena
Commits
2ab00e52
Commit
2ab00e52
authored
6 years ago
by
John Derek Chapman
Browse files
Options
Downloads
Plain Diff
Merge branch 'nsw_clus_tools' into '21.3'
Fixing the strip identifier in the MM RDO See merge request
atlas/athena!20527
parents
1056c860
4cdff5d3
Branches
py23
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MuonSpectrometer/MuonCnv/MuonByteStreamCnvTest/src/MM_DigitToRDO.cxx
+23
-1
23 additions, 1 deletion
...meter/MuonCnv/MuonByteStreamCnvTest/src/MM_DigitToRDO.cxx
with
23 additions
and
1 deletion
MuonSpectrometer/MuonCnv/MuonByteStreamCnvTest/src/MM_DigitToRDO.cxx
+
23
−
1
View file @
2ab00e52
...
@@ -70,7 +70,29 @@ StatusCode MM_DigitToRDO::execute()
...
@@ -70,7 +70,29 @@ StatusCode MM_DigitToRDO::execute()
for
(
unsigned
int
i
=
0
;
i
<
nstrips
;
++
i
)
{
for
(
unsigned
int
i
=
0
;
i
<
nstrips
;
++
i
)
{
MM_RawData
*
rdo
=
new
MM_RawData
(
id
,
///
/// set the rdo id to a value consistent with the channel number
///
bool
isValid
;
int
stationName
=
m_idHelper
->
stationName
(
id
);
int
stationEta
=
m_idHelper
->
stationEta
(
id
);
int
stationPhi
=
m_idHelper
->
stationPhi
(
id
);
int
multilayer
=
m_idHelper
->
multilayer
(
id
);
int
gasGap
=
m_idHelper
->
gasGap
(
id
);
///
int
channel
=
digit
->
stripResponsePosition
().
at
(
i
);
Identifier
newId
=
m_idHelper
->
channelID
(
stationName
,
stationEta
,
stationPhi
,
multilayer
,
gasGap
,
channel
,
true
,
&
isValid
);
if
(
!
isValid
)
{
ATH_MSG_WARNING
(
"Invalid MM identifier. StationName="
<<
stationName
<<
" stationEta="
<<
stationEta
<<
" stationPhi="
<<
stationPhi
<<
" multi="
<<
multilayer
<<
" gasGap="
<<
gasGap
<<
" channel="
<<
channel
);
continue
;
}
MM_RawData
*
rdo
=
new
MM_RawData
(
newId
,
digit
->
stripResponsePosition
().
at
(
i
),
digit
->
stripResponsePosition
().
at
(
i
),
digit
->
stripResponseTime
().
at
(
i
),
digit
->
stripResponseTime
().
at
(
i
),
digit
->
stripResponseCharge
().
at
(
i
));
digit
->
stripResponseCharge
().
at
(
i
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment