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
956c323b
Commit
956c323b
authored
7 years ago
by
Vanya Belyaev
Browse files
Options
Downloads
Patches
Plain Diff
DaVinci:
- Set "CondDB ( Upgdade = True)" for DataType='Upgrade'
parent
34e2137d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!121
Merged master into future
,
!113
DaVinci:
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Phys/DaVinci/doc/release.notes
+5
-0
5 additions, 0 deletions
Phys/DaVinci/doc/release.notes
Phys/DaVinci/python/DaVinci/Configuration.py
+18
-1
18 additions, 1 deletion
Phys/DaVinci/python/DaVinci/Configuration.py
with
23 additions
and
1 deletion
Phys/DaVinci/doc/release.notes
+
5
−
0
View file @
956c323b
...
@@ -8,6 +8,11 @@
...
@@ -8,6 +8,11 @@
!
!
!-----------------------------------------------------------------------------
!-----------------------------------------------------------------------------
! 2017-11-07 - Vanya Belyaev
- DaVinci
- Set "CondDB ( Upgdade = True)" for DataType='Upgrade'
! 2017-01-12 - Vanya Belyaev
! 2017-01-12 - Vanya Belyaev
- DaVinci:
- DaVinci:
issue warning message if DDDBtag/CondDBtag are not specified for simulated data
issue warning message if DDDBtag/CondDBtag are not specified for simulated data
...
...
This diff is collapsed.
Click to expand it.
Phys/DaVinci/python/DaVinci/Configuration.py
+
18
−
1
View file @
956c323b
...
@@ -555,6 +555,21 @@ class DaVinci(LHCbConfigurableUser) :
...
@@ -555,6 +555,21 @@ class DaVinci(LHCbConfigurableUser) :
log
.
info
(
"
Creating Moni Algorithms
"
)
log
.
info
(
"
Creating Moni Algorithms
"
)
self
.
appendToMoniSequence
(
self
.
getProp
(
"
MoniSequence
"
)
)
self
.
appendToMoniSequence
(
self
.
getProp
(
"
MoniSequence
"
)
)
## Specific action for DataType='Upgrade'
def
_upgradeAction
(
self
)
:
"""
Define specific action for DataType=
'
Upgrade
'
"""
if
self
.
getProp
(
'
DataType
'
).
upper
()
==
'
UPGRADE
'
:
from
Configurables
import
CondDB
_db
=
CondDB
()
if
_db
.
isPropertySet
(
'
Upgrade
'
)
:
if
not
_db
.
getProp
(
'
Upgrade
'
)
:
log
.
warning
(
'
Inconsistent configuration: CondDB ( Upgrade = False ) is set explicitely
'
)
else
:
log
.
info
(
'
Define CondDB( Upgrade = True )
'
)
_db
.
Upgrade
=
True
################################################################################
################################################################################
# Append to Moni sequence
# Append to Moni sequence
#
#
...
@@ -581,7 +596,8 @@ class DaVinci(LHCbConfigurableUser) :
...
@@ -581,7 +596,8 @@ class DaVinci(LHCbConfigurableUser) :
'
SDST
'
:
1
}
'
SDST
'
:
1
}
inputType
=
self
.
getProp
(
'
InputType
'
).
upper
()
inputType
=
self
.
getProp
(
'
InputType
'
).
upper
()
IODataManager
().
setProp
(
'
AgeLimit
'
,
depthMap
.
get
(
inputType
,
0
))
IODataManager
().
setProp
(
'
AgeLimit
'
,
depthMap
.
get
(
inputType
,
0
))
################################################################################
################################################################################
# Apply configuration
# Apply configuration
#
#
...
@@ -625,6 +641,7 @@ class DaVinci(LHCbConfigurableUser) :
...
@@ -625,6 +641,7 @@ class DaVinci(LHCbConfigurableUser) :
self
.
_defineEvents
()
self
.
_defineEvents
()
self
.
_defineInput
()
self
.
_defineInput
()
self
.
_rootFiles
()
self
.
_rootFiles
()
self
.
_upgradeAction
()
# Add main sequence to TopAlg
# Add main sequence to TopAlg
self
.
_mainSequence
()
self
.
_mainSequence
()
...
...
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