Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DaVinci
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
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
Ozlem Ozcelik
DaVinci
Commits
8e646c9a
Commit
8e646c9a
authored
7 years ago
by
Michel De Cian
Committed by
Alex Pearce
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix some typos
parent
87e70041
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Phys/Tesla/python/Tesla/Configuration.py
+3
-7
3 additions, 7 deletions
Phys/Tesla/python/Tesla/Configuration.py
with
3 additions
and
7 deletions
Phys/Tesla/python/Tesla/Configuration.py
+
3
−
7
View file @
8e646c9a
...
...
@@ -200,7 +200,7 @@ class Tesla(LHCbConfigurableUser):
HistogramPersistencySvc
().
OutputFile
=
self
.
getProp
(
"
Histogram
"
)
def
_configureTimingAuditor
(
self
):
"""
Enable the printing of the a
te
lgorithm timing table.
"""
"""
Enable the printing of the algorithm timing table.
"""
ApplicationMgr
().
ExtSvc
+=
[
'
ToolSvc
'
,
'
AuditorSvc
'
]
ApplicationMgr
().
AuditAlgorithms
=
True
AuditorSvc
().
Auditors
+=
[
'
TimingAuditor
'
]
...
...
@@ -597,7 +597,7 @@ class Tesla(LHCbConfigurableUser):
def
_configureTruthMatching
(
self
,
name
,
packing
):
# CHARGED STUFF #####################################################################
# Get the location of all tracks and all
charged
protoparticles we want to truthmatch
# Get the location of all tracks and all protoparticles we want to truthmatch
track_locs
=
[
v
for
v
in
packing
.
outputs
.
values
()
if
'
track
'
in
v
.
lower
()]
proto_locs
=
[
v
for
v
in
packing
.
outputs
.
values
()
if
'
proto
'
in
v
.
lower
()]
...
...
@@ -617,10 +617,7 @@ class Tesla(LHCbConfigurableUser):
# for path in assocpp.InputData]
#relationsLocations.append(protoneutral)
print
"
++++++++++++++++
"
print
relationsLocations
print
proto_locs
#dummy = [ loc.lstrip('/Event/') for loc in proto_locs ]
#relationsLocations = [ '/Event/Relations' + v for v in dummy ]
relationsLocations
=
[
loc
.
replace
(
'
/Event
'
,
'
/Event/Relations
'
)
for
loc
in
proto_locs
]
print
relationsLocations
print
"
++++++++++++++++
"
...
...
@@ -1216,8 +1213,7 @@ class Tesla(LHCbConfigurableUser):
if
self
.
getProp
(
'
Mode
'
)
is
"
Online
"
:
self
.
setProp
(
'
WriteFSR
'
,
True
)
self
.
_configureLumi
()
if
self
.
getProp
(
'
Simulation
'
)
==
True
:
self
.
_unpackMC
()
else
:
DecodeRawEvent
().
DataOnDemand
=
True
RecombineRawEvent
(
Version
=
self
.
getProp
(
'
SplitRawEventInput
'
))
...
...
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