Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LHCb
Alignment
Commits
e98365d5
Commit
e98365d5
authored
Dec 13, 2017
by
Lucia Grillo
Committed by
Chris Burr
Dec 15, 2017
Browse files
RunType Upgrade, update to TrackListMerger outputLocation, Upgrade DefaultRecoSequences
parent
cb83a166
Changes
3
Hide whitespace changes
Inline
Side-by-side
Alignment/Escher/python/Escher/Configuration.py
View file @
e98365d5
...
...
@@ -38,7 +38,8 @@ class Escher(LHCbConfigurableUser):
KnownSpecialData
=
[]
DefaultRecoSequences
=
{
'Run1'
:[
"Decoding"
]
+
RecSysConf
().
DefaultTrackingSubdets
,
'Run2'
:[
"Decoding"
]
+
RecSysConf
().
DefaultTrackingSubdetsRun2
}
'Run2'
:[
"Decoding"
]
+
RecSysConf
().
DefaultTrackingSubdetsRun2
,
'Upgrade'
:[
"Decoding"
]
+
RecSysConf
().
DefaultTrackingSubdetsUpgrade
}
# Steering options
...
...
@@ -446,7 +447,11 @@ class Escher(LHCbConfigurableUser):
## Check the reconstruction sequence
def
CheckRecoSequence
(
self
):
RecoSeq
=
self
.
getProp
(
"RecoSequence"
)
RunType
=
'Run2'
if
int
(
self
.
getProp
(
"DataType"
))
>=
2015
else
'Run1'
if
self
.
getProp
(
"DataType"
)
==
"Upgrade"
:
RunType
=
'Upgrade'
else
:
RunType
=
'Run2'
if
int
(
self
.
getProp
(
"DataType"
))
>=
2015
else
'Run1'
# Set default sequence if not specified
if
RecoSeq
==
[]:
RecoSeq
=
self
.
DefaultRecoSequences
[
RunType
]
...
...
Alignment/TAlignment/python/TAlignment/Configuration.py
View file @
e98365d5
...
...
@@ -99,7 +99,7 @@ class TAlignment( LHCbConfigurableUser ):
from
Configurables
import
TrackListMerger
trackmerger
=
TrackListMerger
(
"AlignTracks"
,
outputLocation
=
"Rec/Track/AlignTracks"
)
self
.
setProp
(
"TrackLocation"
,
trackmerger
.
outputLocation
)
self
.
setProp
(
"TrackLocation"
,
trackmerger
.
outputLocation
.
toStringProperty
()
)
for
i
in
trackselections
:
alg
=
i
.
algorithm
()
if
alg
:
trackInputSeq
.
Members
.
append
(
alg
)
...
...
Alignment/TAlignment/src/TStation.cpp
View file @
e98365d5
...
...
@@ -96,7 +96,7 @@ StatusCode TStation::execute() {
iterT
!=
inCont
->
end
();
iterT
++
)
{
LHCb
::
Track
*
aTrack
=
*
iterT
;
if
(
m_refit
)
m_tfit
->
fit
(
*
aTrack
);
(
*
m_tfit
)
(
*
aTrack
);
// debug() << "Track chi2/ndof = " << aTrack->chi2PerDoF() << " Fitted: " << aTrack->fitStatus() << endmsg;
if
(
m_trackselection
->
accept
(
*
aTrack
)
)
{
num_tracks
++
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment