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
Peter Sherwood
athena
Commits
9648dcaa
Commit
9648dcaa
authored
4 years ago
by
Junpei Maeda
Browse files
Options
Downloads
Patches
Plain Diff
Sanity checks are added
parent
83d89cdb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MuonSpectrometer/MuonConditions/MuonCondGeneral/MuonCondSvc/src/TGCTriggerData.cxx
+12
-6
12 additions, 6 deletions
...itions/MuonCondGeneral/MuonCondSvc/src/TGCTriggerData.cxx
with
12 additions
and
6 deletions
MuonSpectrometer/MuonConditions/MuonCondGeneral/MuonCondSvc/src/TGCTriggerData.cxx
+
12
−
6
View file @
9648dcaa
...
@@ -51,18 +51,24 @@ const std::map<unsigned short, std::map<unsigned short, unsigned char>>& TGCTrig
...
@@ -51,18 +51,24 @@ const std::map<unsigned short, std::map<unsigned short, unsigned char>>& TGCTrig
return
it
->
second
;
return
it
->
second
;
}
}
unsigned
short
TGCTriggerData
::
getTrigBitEifi
(
int
side
,
int
slot
,
int
ssc
,
int
sectorId
)
const
{
unsigned
short
TGCTriggerData
::
getTrigBitEifi
(
int
side
,
int
slot
,
int
ssc
,
int
sectorId
)
const
int
sideindex
=
(
this
->
getType
(
TGCTriggerData
::
CW_EIFI
)
!=
"full"
)
?
0
:
side
;
{
if
(
m_active
[
CW_EIFI
][
0
]
==
false
)
return
0
;
// not required EIFI coincidence.
int
sideindex
=
(
this
->
getType
(
CW_EIFI
)
!=
"full"
)
?
0
:
side
;
return
m_trigbit_eifi
[
sectorId
][
ssc
][
slot
][
sideindex
];
return
m_trigbit_eifi
[
sectorId
][
ssc
][
slot
][
sideindex
];
}
}
unsigned
char
TGCTriggerData
::
getFlagPtEifi
(
int
side
,
int
ssc
,
int
sectorId
)
const
{
unsigned
char
TGCTriggerData
::
getFlagPtEifi
(
int
side
,
int
ssc
,
int
sectorId
)
const
int
sideindex
=
(
this
->
getType
(
TGCTriggerData
::
CW_EIFI
)
!=
"full"
)
?
0
:
side
;
{
if
(
m_active
[
CW_EIFI
][
0
]
==
false
)
return
0
;
// not required EIFI coincidence.
int
sideindex
=
(
this
->
getType
(
CW_EIFI
)
!=
"full"
)
?
0
:
side
;
return
m_flagpt_eifi
[
sectorId
][
ssc
][
sideindex
];
return
m_flagpt_eifi
[
sectorId
][
ssc
][
sideindex
];
}
}
unsigned
char
TGCTriggerData
::
getFlagRoiEifi
(
int
side
,
int
ssc
,
int
sectorId
)
const
{
unsigned
char
TGCTriggerData
::
getFlagRoiEifi
(
int
side
,
int
ssc
,
int
sectorId
)
const
int
sideindex
=
(
this
->
getType
(
TGCTriggerData
::
CW_EIFI
)
!=
"full"
)
?
0
:
side
;
{
if
(
m_active
[
CW_EIFI
][
0
]
==
false
)
return
0
;
// not required EIFI coincidence.
int
sideindex
=
(
this
->
getType
(
CW_EIFI
)
!=
"full"
)
?
0
:
side
;
return
m_flagroi_eifi
[
sectorId
][
ssc
][
sideindex
];
return
m_flagroi_eifi
[
sectorId
][
ssc
][
sideindex
];
}
}
...
...
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