Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review 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
atlas
athena
Merge requests
!32026
The source project of this merge request has been removed.
updated raw data structure for NSL
Merged
updated raw data structure for NSL
(removed):22.0-master-newTGCEDM
into
master
Overview
9
Commits
2
Pipelines
0
Changes
1
Merged
Toshi Sumida
requested to merge
(removed):22.0-master-newTGCEDM
into
master
5 years ago
Overview
9
Pipelines
0
Changes
1
Expand
added BS structures from New SectorLogic for TGC in Run3
0
0
Merge request reports
Compare
master
version 1
b1278e5e
5 years ago
master (base)
and
latest version
latest version
05263289
2 commits,
4 years ago
version 1
b1278e5e
1 commit,
5 years ago
1 file
+
135
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
MuonSpectrometer/MuonCnv/MuonTGC_CnvTools/src/TgcByteStreamData.h
+
135
−
1
Options
/*
Copyright (C) 2002-20
17
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-20
20
CERN for the benefit of the ATLAS collaboration
*/
#ifndef MUONTGC_CNVTOOLS_TGCBYTESTREAMDATA_H
@@ -181,6 +181,140 @@ struct TGC_BYTESTREAM_SL
TGC_BYTESTREAM_SL
()
{
memset
(
this
,
0
,
sizeof
(
*
this
));
}
};
/**********************/
/** structs for NewSL */
/**********************/
struct
TGC_BYTESTREAM_NSL_ROI
{
unsigned
roi
:
8
;
unsigned
pt
:
4
;
unsigned
charge
:
1
;
unsigned
nswcoin
:
3
;
unsigned
flags
:
4
;
unsigned
fill1
:
2
;
unsigned
bcBitmap
:
2
;
unsigned
sector
:
4
;
unsigned
fwd
:
1
;
unsigned
type
:
3
;
TGC_BYTESTREAM_NSL_ROI
()
{
memset
(
this
,
0
,
sizeof
(
*
this
));
}
};
struct
TGC_BYTESTREAM_NSW_POS
{
unsigned
monitor
:
1
;
unsigned
eta
:
8
;
unsigned
phi
:
6
;
unsigned
fill1
:
2
;
unsigned
input
:
3
;
unsigned
cand
:
2
;
unsigned
fill2
:
2
;
unsigned
sector
:
4
;
unsigned
fwd
:
1
;
unsigned
type
:
3
;
TGC_BYTESTREAM_NSW_POS
()
{
memset
(
this
,
0
,
sizeof
(
*
this
));
}
};
struct
TGC_BYTESTREAM_NSW_ANG
{
unsigned
angle
:
5
;
unsigned
phires
:
1
;
unsigned
lowres
:
1
;
unsigned
fill1
:
2
;
unsigned
nswid
:
4
;
unsigned
bcid
:
4
;
unsigned
input
:
3
;
unsigned
cand
:
2
;
unsigned
bcBitmap
:
2
;
unsigned
sector
:
4
;
unsigned
fwd
:
1
;
unsigned
type
:
3
;
TGC_BYTESTREAM_NSW_ANG
()
{
memset
(
this
,
0
,
sizeof
(
*
this
));
}
};
struct
TGC_BYTESTREAM_RPCBIS78_POS
{
unsigned
eta
:
6
;
unsigned
phi
:
6
;
unsigned
fill1
:
8
;
unsigned
cand
:
2
;
unsigned
fill2
:
2
;
unsigned
sector
:
4
;
unsigned
fwd
:
1
;
unsigned
type
:
3
;
TGC_BYTESTREAM_RPCBIS78_POS
()
{
memset
(
this
,
0
,
sizeof
(
*
this
));
}
};
struct
TGC_BYTESTREAM_RPCBIS78_COIN
{
unsigned
fill1
:
4
;
unsigned
flag
:
2
;
unsigned
dphi
:
3
;
unsigned
deta
:
3
;
unsigned
fill2
:
1
;
unsigned
bcid
:
4
;
unsigned
fill3
:
3
;
unsigned
cand
:
2
;
unsigned
bcBitmap
:
2
;
unsigned
sector
:
4
;
unsigned
fwd
:
1
;
unsigned
type
:
3
;
TGC_BYTESTREAM_RPCBIS78_COIN
()
{
memset
(
this
,
0
,
sizeof
(
*
this
));
}
};
struct
TGC_BYTESTREAM_NSL_EIFI
{
unsigned
ei
:
8
;
unsigned
fi
:
8
;
unsigned
fill1
:
6
;
unsigned
bcBitmap
:
2
;
unsigned
sector
:
4
;
unsigned
fwd
:
1
;
unsigned
type
:
3
;
TGC_BYTESTREAM_NSL_EIFI
()
{
memset
(
this
,
0
,
sizeof
(
*
this
));
}
};
struct
TGC_BYTESTREAM_NSL_HIPT
{
signed
delta
:
5
;
unsigned
sub
:
1
;
unsigned
hitId
:
3
;
unsigned
hipt
:
1
;
unsigned
cand
:
1
;
unsigned
chip
:
2
;
unsigned
strip
:
1
;
unsigned
fill1
:
8
;
unsigned
bcBitmap
:
2
;
unsigned
sector
:
4
;
unsigned
fwd
:
1
;
unsigned
type
:
3
;
TGC_BYTESTREAM_NSL_HIPT
()
{
memset
(
this
,
0
,
sizeof
(
*
this
));
}
};
struct
TGC_BYTESTREAM_NSL_TMDB
{
unsigned
module
:
12
;
unsigned
bcid
:
4
;
unsigned
fill1
:
6
;
unsigned
bcBitmap
:
2
;
unsigned
sector
:
4
;
unsigned
fwd
:
1
;
unsigned
type
:
3
;
TGC_BYTESTREAM_NSL_TMDB
()
{
memset
(
this
,
0
,
sizeof
(
*
this
));
}
};
/*****************************/
/** end of structs for NewSL */
/*****************************/
template
<
typename
DEST
,
typename
SRC
>
DEST
*
my_pointer_cast
(
SRC
*
src
)
{
void
*
ptr
=
src
;
return
reinterpret_cast
<
DEST
*>
(
ptr
);
Loading