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
0b835416
Commit
0b835416
authored
2 years ago
by
Volker Friese
Browse files
Options
Downloads
Patches
Plain Diff
Fix event loop in RecoTzero. Refs
#2689
.
parent
86e02370
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1055
Fix event loop in RecoTzero. Refs #2689.
Pipeline
#20490
passed
2 years ago
Stage: documentation
Stage: deploy
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
reco/global/CbmRecoTzero.cxx
+3
-2
3 additions, 2 deletions
reco/global/CbmRecoTzero.cxx
with
3 additions
and
2 deletions
reco/global/CbmRecoTzero.cxx
+
3
−
2
View file @
0b835416
...
@@ -90,7 +90,7 @@ void CbmRecoTzero::Exec(Option_t*)
...
@@ -90,7 +90,7 @@ void CbmRecoTzero::Exec(Option_t*)
for
(
Int_t
iEvent
=
0
;
iEvent
<
nEvents
;
iEvent
++
)
{
for
(
Int_t
iEvent
=
0
;
iEvent
<
nEvents
;
iEvent
++
)
{
CbmEvent
*
event
=
dynamic_cast
<
CbmEvent
*>
(
fEvents
->
At
(
iEvent
));
CbmEvent
*
event
=
dynamic_cast
<
CbmEvent
*>
(
fEvents
->
At
(
iEvent
));
assert
(
event
);
assert
(
event
);
Int_t
nDigis
=
fTzdDigis
->
size
(
);
Int_t
nDigis
=
event
->
GetNofData
(
ECbmDataType
::
kT0Digi
);
double
tzero
=
-
999999.
;
double
tzero
=
-
999999.
;
switch
(
nDigis
)
{
switch
(
nDigis
)
{
...
@@ -103,7 +103,8 @@ void CbmRecoTzero::Exec(Option_t*)
...
@@ -103,7 +103,8 @@ void CbmRecoTzero::Exec(Option_t*)
// If there is exactly one TZD digi, take the event time from there
// If there is exactly one TZD digi, take the event time from there
case
1
:
{
case
1
:
{
tzero
=
fTzdDigis
->
at
(
0
).
GetTime
();
uint32_t
digiIndex
=
event
->
GetIndex
(
ECbmDataType
::
kT0Digi
,
0
);
tzero
=
fTzdDigis
->
at
(
digiIndex
).
GetTime
();
tsMonitor
.
fNumEvtsTzd1
++
;
tsMonitor
.
fNumEvtsTzd1
++
;
break
;
break
;
}
}
...
...
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