Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
calypso
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
faser
calypso
Commits
01aa2a61
Commit
01aa2a61
authored
2 years ago
by
Eric Torrence
Browse files
Options
Downloads
Plain Diff
Merge branch 'faserrec-procdev' into 'master'
Waveform window See merge request
!283
parents
ef397b91
c6894991
No related branches found
Branches containing commit
No related tags found
1 merge request
!283
Waveform window
Pipeline
#4572647
passed
2 years ago
Stage: build
Stage: test
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Waveform/WaveRecAlgs/python/WaveRecAlgsConfig.py
+20
-5
20 additions, 5 deletions
Waveform/WaveRecAlgs/python/WaveRecAlgsConfig.py
Waveform/WaveRecTools/src/WaveformReconstructionTool.h
+2
-1
2 additions, 1 deletion
Waveform/WaveRecTools/src/WaveformReconstructionTool.h
with
22 additions
and
6 deletions
Waveform/WaveRecAlgs/python/WaveRecAlgsConfig.py
+
20
−
5
View file @
01aa2a61
...
...
@@ -19,12 +19,24 @@ def WaveformReconstructionCfg(flags):
if
not
flags
.
Input
.
isMC
:
acc
.
merge
(
WaveformClockRecCfg
(
flags
,
"
ClockRecAlg
"
))
if
"
TB
"
not
in
flags
.
GeoModel
.
FaserVersion
:
acc
.
merge
(
WaveformHitRecCfg
(
flags
,
"
TriggerWaveformRecAlg
"
,
"
Trigger
"
))
acc
.
merge
(
WaveformHitRecCfg
(
flags
,
"
VetoNuWaveformRecAlg
"
,
"
VetoNu
"
))
if
"
TB
"
in
flags
.
GeoModel
.
FaserVersion
:
acc
.
merge
(
WaveformHitRecCfg
(
flags
,
"
CaloWaveformRecAlg
"
,
"
Calo
"
))
acc
.
merge
(
WaveformHitRecCfg
(
flags
,
"
VetoWaveformRecAlg
"
,
"
Veto
"
))
acc
.
merge
(
WaveformHitRecCfg
(
flags
,
"
PreshowerWaveformRecAlg
"
,
"
Preshower
"
))
# Make preshower/veto window 200 ns wide (100 digitizer clock ticks)
acc
.
merge
(
WaveformHitRecCfg
(
flags
,
"
VetoWaveformRecAlg
"
,
"
Veto
"
,
FitWindowWidth
=
100
))
acc
.
merge
(
WaveformHitRecCfg
(
flags
,
"
PreshowerWaveformRecAlg
"
,
"
Preshower
"
,
FitWindowWidth
=
100
))
else
:
acc
.
merge
(
WaveformHitRecCfg
(
flags
,
"
CaloWaveformRecAlg
"
,
"
Calo
"
))
acc
.
merge
(
WaveformHitRecCfg
(
flags
,
"
VetoWaveformRecAlg
"
,
"
Veto
"
,
FitWindowWidth
=
100
))
acc
.
merge
(
WaveformHitRecCfg
(
flags
,
"
PreshowerWaveformRecAlg
"
,
"
Preshower
"
,
FitWindowWidth
=
100
))
acc
.
merge
(
WaveformHitRecCfg
(
flags
,
"
TriggerWaveformRecAlg
"
,
"
Trigger
"
,
FitWindowWidth
=
100
))
acc
.
merge
(
WaveformHitRecCfg
(
flags
,
"
VetoNuWaveformRecAlg
"
,
"
VetoNu
"
,
FitWindowWidth
=
100
))
acc
.
merge
(
WaveformHitRecCfg
(
flags
,
"
VetoWaveformRecAlg
"
,
"
Veto
"
,
FitWindowWidth
=
100
))
# Make preshower window 200 ns wide (value in digitizer clock ticks)
acc
.
merge
(
WaveformHitRecCfg
(
flags
,
"
PreshowerWaveformRecAlg
"
,
"
Preshower
"
,
FitWindowWidth
=
100
))
acc
.
merge
(
WaveformHitRecCfg
(
flags
,
"
CaloWaveformRecAlg
"
,
"
Calo
"
))
acc
.
merge
(
WaveformTimingCfg
(
flags
))
...
...
@@ -55,9 +67,12 @@ def WaveformHitRecCfg(flags, name="WaveformRecAlg", source="", **kwargs):
#if flags.Input.isMC:
# kwargs.setdefault("PeakThreshold", 5)
tool
=
WaveformReconstructionTool
(
name
=
source
+
"
WaveformRecTool
"
,
**
kwargs
)
# Remove arguments intended for WaveRecTool
if
"
PeakThreshold
"
in
kwargs
:
kwargs
.
pop
(
"
PeakThreshold
"
)
if
"
FitWindowWidth
"
in
kwargs
:
kwargs
.
pop
(
"
FitWindowWidth
"
)
kwargs
.
setdefault
(
"
WaveformContainerKey
"
,
source
+
"
Waveforms
"
)
kwargs
.
setdefault
(
"
WaveformHitContainerKey
"
,
source
+
"
WaveformHits
"
)
...
...
This diff is collapsed.
Click to expand it.
Waveform/WaveRecTools/src/WaveformReconstructionTool.h
+
2
−
1
View file @
01aa2a61
...
...
@@ -96,8 +96,9 @@ class WaveformReconstructionTool: public extends<AthAlgTool, IWaveformReconstruc
//
// Window to define fitting range, in samples (2ns/sample)
// Make this longer by default, from 120 to 150 ns
IntegerProperty
m_windowStart
{
this
,
"FitWindowStart"
,
-
20
};
IntegerProperty
m_windowWidth
{
this
,
"FitWindowWidth"
,
60
};
IntegerProperty
m_windowWidth
{
this
,
"FitWindowWidth"
,
75
};
//
// Remove overflow values from CB fit
...
...
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