CbmRoot
Loading...
Searching...
No Matches
CaInputData.cxx
Go to the documentation of this file.
1
/* Copyright (C) 2022-2023 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Sergey Gorbunov, Sergei Zharko [committer] */
4
9
10
#include "
CaInputData.h
"
11
12
using
cbm::algo::ca::InputData
;
13
14
// ---------------------------------------------------------------------------------------------------------------------
15
//
16
InputData::InputData() {}
17
18
// ---------------------------------------------------------------------------------------------------------------------
19
//
20
InputData::InputData(
const
InputData
& other)
21
:
fvHits
(other.
fvHits
)
22
,
fvStreamStartIndices
(other.
fvStreamStartIndices
)
23
,
fvStreamStopIndices
(other.
fvStreamStopIndices
)
24
,
fNhitKeys
(other.
fNhitKeys
)
25
{
26
}
27
28
// ---------------------------------------------------------------------------------------------------------------------
29
//
30
InputData::InputData(
InputData
&& other)
noexcept
{ this->
Swap
(other); }
31
32
// ---------------------------------------------------------------------------------------------------------------------
33
//
34
InputData
& InputData::operator=(
const
InputData
& other)
35
{
36
if
(
this
!= &other) {
37
InputData
(other).Swap(*
this
);
38
}
39
return
*
this
;
40
}
41
42
// ---------------------------------------------------------------------------------------------------------------------
43
//
44
InputData
& InputData::operator=(
InputData
&& other)
noexcept
45
{
46
if
(
this
!= &other) {
47
InputData
tmp(std::move(other));
48
this->
Swap
(tmp);
49
}
50
return
*
this
;
51
}
CaInputData.h
Structure for input data to the L1 tracking algorithm (declaration)
cbm::algo::ca::InputData
Definition
CaInputData.h:24
cbm::algo::ca::InputData::fNhitKeys
int fNhitKeys
Number of hit keys used for rejecting fake STS hits.
Definition
CaInputData.h:108
cbm::algo::ca::InputData::Swap
void Swap(InputData &other) noexcept
Swap method.
Definition
CaInputData.h:118
cbm::algo::ca::InputData::fvStreamStopIndices
Vector< HitIndex_t > fvStreamStopIndices
Definition
CaInputData.h:105
cbm::algo::ca::InputData::fvHits
Vector< Hit > fvHits
Sample of input hits.
Definition
CaInputData.h:101
cbm::algo::ca::InputData::fvStreamStartIndices
Vector< HitIndex_t > fvStreamStartIndices
Index of the first hit in the sorted hits vector for a given data stream.
Definition
CaInputData.h:104
cbm::algo::ca::InputData::InputData
InputData()
Default constructor.
Definition
CaInputData.cxx:16
algo
ca
core
data
CaInputData.cxx
Generated on Fri Jan 30 2026 23:05:17 for CbmRoot by
1.13.2