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
e5f0a293
Commit
e5f0a293
authored
3 years ago
by
Pierre-Alain Loizeau
Browse files
Options
Downloads
Patches
Plain Diff
Add current TS index to the CbmTsEvenHeader
parent
4eac9a69
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!454
Add current TS index to the CbmTsEvenHeader
Pipeline
#12587
passed
3 years ago
Stage: documentation
Stage: deploy
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/data/CbmTsEventHeader.h
+7
-1
7 additions, 1 deletion
core/data/CbmTsEventHeader.h
reco/steer/CbmRecoUnpack.cxx
+1
-0
1 addition, 0 deletions
reco/steer/CbmRecoUnpack.cxx
with
8 additions
and
1 deletion
core/data/CbmTsEventHeader.h
+
7
−
1
View file @
e5f0a293
...
...
@@ -21,6 +21,8 @@ public:
/** Default destructor */
virtual
~
CbmTsEventHeader
()
{};
/** Get the Start time of the this Timeslice linked to this event header*/
uint64_t
GetTsIndex
()
{
return
fTsIndex
;
}
/** Get the Start time of the this Timeslice linked to this event header*/
uint64_t
GetTsStartTime
()
{
return
fTsStartTime
;
}
...
...
@@ -50,10 +52,14 @@ public:
/** @brief Set the number of digis in this Ts */
void
SetNDigisTrd2D
(
ULong64_t
value
)
{
fNDigisTrd2D
=
value
;
}
/** @brief Set the Ts Start Time @param value Start time of the TS */
void
SetTsIndex
(
uint32_t
value
)
{
fTsIndex
=
value
;
}
/** @brief Set the Ts Start Time @param value Start time of the TS */
void
SetTsStartTime
(
uint64_t
value
)
{
fTsStartTime
=
value
;
}
protected
:
/** Timeslice index */
uint64_t
fTsIndex
=
0
;
/** Timeslice start time */
uint64_t
fTsStartTime
=
0
;
...
...
@@ -70,6 +76,6 @@ protected:
/** @brief nDigis in "this" timeslice measured by the TOF */
ULong64_t
fNDigisTof
=
0
;
ClassDef
(
CbmTsEventHeader
,
3
)
ClassDef
(
CbmTsEventHeader
,
4
)
};
#endif
This diff is collapsed.
Click to expand it.
reco/steer/CbmRecoUnpack.cxx
+
1
−
0
View file @
e5f0a293
...
...
@@ -238,6 +238,7 @@ void CbmRecoUnpack::Unpack(unique_ptr<Timeslice> ts)
// Prepare timeslice
const
fles
::
Timeslice
&
timeslice
=
*
ts
;
fCbmTsEventHeader
->
SetTsIndex
(
ts
->
index
());
fCbmTsEventHeader
->
SetTsStartTime
(
ts
->
start_time
());
uint64_t
nComponents
=
ts
->
num_components
();
...
...
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