Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DaVinci
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
LHCb
DaVinci
Commits
ce9c61eb
Commit
ce9c61eb
authored
7 years ago
by
Alex Pearce
Browse files
Options
Downloads
Patches
Plain Diff
Allow for 2016-style Tesla configuration on 2017 data.
parent
241408b5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!85
merge master to future
,
!66
Configuration of Tesla with selective persistence
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Phys/Tesla/python/Tesla/Configuration.py
+5
-1
5 additions, 1 deletion
Phys/Tesla/python/Tesla/Configuration.py
with
5 additions
and
1 deletion
Phys/Tesla/python/Tesla/Configuration.py
+
5
−
1
View file @
ce9c61eb
...
@@ -105,6 +105,8 @@ class Tesla(LHCbConfigurableUser):
...
@@ -105,6 +105,8 @@ class Tesla(LHCbConfigurableUser):
,
'
IgnoredLines
'
:
[
]
# Regexes for lines excluded from the comparison of DecReports and input to TeslaReportsAlgo
,
'
IgnoredLines
'
:
[
]
# Regexes for lines excluded from the comparison of DecReports and input to TeslaReportsAlgo
,
'
FilterMC
'
:
False
# Save a subset of the input MC particles and vertices under `Tesla.base, mimicking a microDST writer`
,
'
FilterMC
'
:
False
# Save a subset of the input MC particles and vertices under `Tesla.base, mimicking a microDST writer`
,
'
ILinePersistenceSvc
'
:
"
TCKLinePersistenceSvc
"
# Implementation of the ILinePersistenceSvc to use (for >= 2017 data types)
,
'
ILinePersistenceSvc
'
:
"
TCKLinePersistenceSvc
"
# Implementation of the ILinePersistenceSvc to use (for >= 2017 data types)
,
'
CandidatesFromSelReports
'
:
False
# If True and DataType >= 2017, take Turbo candidates from Hlt2SelReports rather than
# from the DstData raw bank (i.e. behave as if DataType =< 2016)
}
}
_propertyDocDct
=
{
_propertyDocDct
=
{
"
EvtMax
"
:
"
Maximum number of events to process, default all
"
"
EvtMax
"
:
"
Maximum number of events to process, default all
"
...
@@ -150,6 +152,8 @@ class Tesla(LHCbConfigurableUser):
...
@@ -150,6 +152,8 @@ class Tesla(LHCbConfigurableUser):
,
'
IgnoredLines
'
:
'
Regexes for lines excluded from the comparison of DecReports and input to TeslaReportsAlgo
'
,
'
IgnoredLines
'
:
'
Regexes for lines excluded from the comparison of DecReports and input to TeslaReportsAlgo
'
,
'
FilterMC
'
:
"
Save a subset of the input MC particles and vertices under `Tesla.base`, mimicking a microDST writer
"
,
'
FilterMC
'
:
"
Save a subset of the input MC particles and vertices under `Tesla.base`, mimicking a microDST writer
"
,
'
ILinePersistenceSvc
'
:
"
Implementation of the ILinePersistenceSvc to use (for >= 2017 data types)
"
,
'
ILinePersistenceSvc
'
:
"
Implementation of the ILinePersistenceSvc to use (for >= 2017 data types)
"
,
'
CandidatesFromSelReports
'
:
(
"
If True and DataType >= 2017, take Turbo candidates from Hlt2SelReports rather than
"
"
from the DstData raw bank (i.e. behave as if DataType =< 2016)
"
)
}
}
...
@@ -977,7 +981,7 @@ class Tesla(LHCbConfigurableUser):
...
@@ -977,7 +981,7 @@ class Tesla(LHCbConfigurableUser):
# /Event/Turbo, else it will be packed
# /Event/Turbo, else it will be packed
TurboConf
().
setProp
(
"
RootInTES
"
,
"
/Event
"
)
TurboConf
().
setProp
(
"
RootInTES
"
,
"
/Event
"
)
if
self
.
getProp
(
'
DataType
'
)
==
'
2017
'
:
if
self
.
getProp
(
'
DataType
'
)
==
'
2017
'
and
not
self
.
getProp
(
'
CandidatesFromSelReports
'
)
:
# Unpack the DstData raw bank
# Unpack the DstData raw bank
TurboConf
().
setProp
(
"
PersistReco
"
,
True
)
TurboConf
().
setProp
(
"
PersistReco
"
,
True
)
streaming_seq
=
self
.
_configureOutputTurboSP
()
streaming_seq
=
self
.
_configureOutputTurboSP
()
...
...
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