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::InputData
InputData()
Default constructor.
Definition
CaInputData.cxx:16
algo
ca
core
data
CaInputData.cxx
Generated on Mon Feb 3 2025 23:03:44 for CbmRoot by
1.12.0