Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Computing
cbmroot
Commits
7147c3e6
Commit
7147c3e6
authored
1 year ago
by
Sergei Zharko
Committed by
Sergey Gorbunov
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
CA: flag to enable/disable time measurements in tracking
parent
97569d6d
No related branches found
No related tags found
1 merge request
!1407
CA: flag to enable/disable time measurements in tracking
Pipeline
#24855
passed
1 year ago
Stage: build
Stage: package
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
reco/L1/CbmL1.cxx
+7
-12
7 additions, 12 deletions
reco/L1/CbmL1.cxx
with
7 additions
and
12 deletions
reco/L1/CbmL1.cxx
+
7
−
12
View file @
7147c3e6
...
...
@@ -495,6 +495,8 @@ InitStatus CbmL1::Init()
std
::
vector
<
ca
::
StationInitializer
>
vStations
;
vStations
.
reserve
(
100
);
bool
bDisableTime
=
(
ca
::
Framework
::
TrackingMode
::
kMcbm
==
fTrackingMode
)
?
true
:
false
;
/// TMP, move to parameters!
// *** MVD stations info ***
if
(
fUseMVD
)
{
...
...
@@ -502,7 +504,7 @@ InitStatus CbmL1::Init()
auto
stationInfo
=
ca
::
StationInitializer
(
ca
::
EDetectorID
::
kMvd
,
iSt
);
// TODO: SZh 15.08.2022: Replace station type with ca::EDetectorID
stationInfo
.
SetStationType
(
1
);
// MVD
stationInfo
.
SetTimeInfo
(
mvdInterface
->
IsTimeInfoProvided
(
iSt
));
stationInfo
.
SetTimeInfo
(
!
bDisableTime
&&
mvdInterface
->
IsTimeInfoProvided
(
iSt
));
stationInfo
.
SetFieldStatus
(
fTrackingMode
==
ca
::
Framework
::
TrackingMode
::
kMcbm
?
0
:
1
);
stationInfo
.
SetZref
(
mvdInterface
->
GetZref
(
iSt
));
stationInfo
.
SetZmin
(
mvdInterface
->
GetZmin
(
iSt
));
...
...
@@ -526,8 +528,7 @@ InitStatus CbmL1::Init()
// TODO: SZh 15.08.2022: Replace station type with ca::EDetectorID
stationInfo
.
SetStationType
(
0
);
// STS
stationInfo
.
SetTimeInfo
(
stsInterface
->
IsTimeInfoProvided
(
iSt
));
stationInfo
.
SetTimeInfo
(
ca
::
Framework
::
TrackingMode
::
kMcbm
!=
fTrackingMode
?
stsInterface
->
IsTimeInfoProvided
(
iSt
)
:
false
);
stationInfo
.
SetTimeInfo
(
!
bDisableTime
&&
stsInterface
->
IsTimeInfoProvided
(
iSt
));
stationInfo
.
SetFieldStatus
(
ca
::
Framework
::
TrackingMode
::
kMcbm
==
fTrackingMode
?
0
:
1
);
stationInfo
.
SetZref
(
stsInterface
->
GetZref
(
iSt
));
stationInfo
.
SetZmin
(
stsInterface
->
GetZmin
(
iSt
));
...
...
@@ -551,9 +552,7 @@ InitStatus CbmL1::Init()
auto
stationInfo
=
ca
::
StationInitializer
(
ca
::
EDetectorID
::
kMuch
,
iSt
);
// TODO: SZh 15.08.2022: Replace station type with ca::EDetectorID
stationInfo
.
SetStationType
(
2
);
// MuCh
stationInfo
.
SetTimeInfo
(
muchInterface
->
IsTimeInfoProvided
(
iSt
));
stationInfo
.
SetTimeInfo
(
ca
::
Framework
::
TrackingMode
::
kMcbm
!=
fTrackingMode
?
stsInterface
->
IsTimeInfoProvided
(
iSt
)
:
false
);
stationInfo
.
SetTimeInfo
(
!
bDisableTime
&&
muchInterface
->
IsTimeInfoProvided
(
iSt
));
stationInfo
.
SetFieldStatus
(
0
);
stationInfo
.
SetZref
(
muchInterface
->
GetZref
(
iSt
));
stationInfo
.
SetZmin
(
muchInterface
->
GetZmin
(
iSt
));
...
...
@@ -577,9 +576,7 @@ InitStatus CbmL1::Init()
auto
stationInfo
=
ca
::
StationInitializer
(
ca
::
EDetectorID
::
kTrd
,
iSt
);
// TODO: SZh 15.08.2022: Replace station type with ca::EDetectorID
stationInfo
.
SetStationType
((
iSt
==
1
||
iSt
==
3
)
?
6
:
3
);
// MuCh
stationInfo
.
SetTimeInfo
(
trdInterface
->
IsTimeInfoProvided
(
iSt
));
stationInfo
.
SetTimeInfo
(
ca
::
Framework
::
TrackingMode
::
kMcbm
!=
fTrackingMode
?
stsInterface
->
IsTimeInfoProvided
(
iSt
)
:
false
);
stationInfo
.
SetTimeInfo
(
!
bDisableTime
&&
trdInterface
->
IsTimeInfoProvided
(
iSt
));
stationInfo
.
SetFieldStatus
(
0
);
stationInfo
.
SetZref
(
trdInterface
->
GetZref
(
iSt
));
stationInfo
.
SetZmin
(
trdInterface
->
GetZmin
(
iSt
));
...
...
@@ -604,9 +601,7 @@ InitStatus CbmL1::Init()
auto
stationInfo
=
ca
::
StationInitializer
(
ca
::
EDetectorID
::
kTof
,
iSt
);
// TODO: SZh 15.08.2022: Replace station type with ca::EDetectorID
stationInfo
.
SetStationType
(
4
);
stationInfo
.
SetTimeInfo
(
tofInterface
->
IsTimeInfoProvided
(
iSt
));
stationInfo
.
SetTimeInfo
(
ca
::
Framework
::
TrackingMode
::
kMcbm
!=
fTrackingMode
?
stsInterface
->
IsTimeInfoProvided
(
iSt
)
:
false
);
stationInfo
.
SetTimeInfo
(
!
bDisableTime
&&
tofInterface
->
IsTimeInfoProvided
(
iSt
));
stationInfo
.
SetFieldStatus
(
0
);
stationInfo
.
SetZref
(
tofInterface
->
GetZref
(
iSt
));
stationInfo
.
SetZmin
(
tofInterface
->
GetZmin
(
iSt
));
...
...
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