Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Computing
cbmroot
Commits
5183d89f
Commit
5183d89f
authored
1 month ago
by
Alexandru Bercuci
Browse files
Options
Downloads
Patches
Plain Diff
add gain calibration
parent
2662b23b
No related branches found
No related tags found
1 merge request
!2028
Trd2d online - finner time calibration
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
algo/detectors/trd2d/ReadoutConfig.h
+1
-1
1 addition, 1 deletion
algo/detectors/trd2d/ReadoutConfig.h
algo/detectors/trd2d/UnpackMS.h
+2
-2
2 additions, 2 deletions
algo/detectors/trd2d/UnpackMS.h
with
3 additions
and
3 deletions
algo/detectors/trd2d/ReadoutConfig.h
+
1
−
1
View file @
5183d89f
...
@@ -162,7 +162,7 @@ namespace cbm::algo::trd2d
...
@@ -162,7 +162,7 @@ namespace cbm::algo::trd2d
};
};
struct
ChanDescriptor
{
struct
ChanDescriptor
{
bool
maskFlag
;
/// HW mask flag for channel
bool
maskFlag
;
/// HW mask flag for channel
u
int8_t
tOffset
;
/// time [clk] correction
int8_t
tOffset
;
/// time [clk] correction
float
baseline
;
/// Baseline correction for channel
float
baseline
;
/// Baseline correction for channel
float
gainfee
;
/// ASIC gain deviation for channel
float
gainfee
;
/// ASIC gain deviation for channel
ChanNoise
noise
;
/// noise descriptor [ChanNoise]
ChanNoise
noise
;
/// noise descriptor [ChanNoise]
...
...
This diff is collapsed.
Click to expand it.
algo/detectors/trd2d/UnpackMS.h
+
2
−
2
View file @
5183d89f
...
@@ -119,7 +119,7 @@ namespace cbm::algo::trd2d
...
@@ -119,7 +119,7 @@ namespace cbm::algo::trd2d
struct
UnpackChannelPar
{
struct
UnpackChannelPar
{
int32_t
fPadAddress
;
///< Pad address for channel
int32_t
fPadAddress
;
///< Pad address for channel
bool
fMask
;
///< Flag for channel masking
bool
fMask
;
///< Flag for channel masking
u
int8_t
fDaqOffset
=
0
;
///< Time calibration parameter
int8_t
fDaqOffset
=
0
;
///< Time calibration parameter
uint16_t
fSignalThres
=
0
;
///< Signal threshold to remove ringing channels
uint16_t
fSignalThres
=
0
;
///< Signal threshold to remove ringing channels
};
};
...
@@ -151,7 +151,7 @@ namespace cbm::algo::trd2d
...
@@ -151,7 +151,7 @@ namespace cbm::algo::trd2d
**/
**/
struct
CalibChannelPar
{
struct
CalibChannelPar
{
bool
fMask
=
false
;
///< Flag for channel masking
bool
fMask
=
false
;
///< Flag for channel masking
u
int8_t
fDaqOffset
=
0
;
///< Time calibration parameter
int8_t
fDaqOffset
=
0
;
///< Time calibration parameter
float
fBaseline
=
0.
;
///< baseline correction
float
fBaseline
=
0.
;
///< baseline correction
float
fGainFee
=
-
1.
;
///< gain correction wrt to reference
float
fGainFee
=
-
1.
;
///< gain correction wrt to reference
NoiseChannelPar
noise
=
{};
///< noise channel parametrisation
NoiseChannelPar
noise
=
{};
///< noise channel parametrisation
...
...
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