|
CbmRoot
|
#include <CaInputData.h>
Public Member Functions | |
| InputData () | |
| Default constructor. | |
| InputData (const InputData &other) | |
| Copy constructor. | |
| InputData (InputData &&) noexcept | |
| Move constructor. | |
| ~InputData ()=default | |
| Destructor. | |
| InputData & | operator= (const InputData &other) |
| Copy assignment operator. | |
| InputData & | operator= (InputData &&other) noexcept |
| Move assignment operator. | |
| HitIndex_t | GetSampleSize () const |
| Gets hits sample size. | |
| int | GetNdataStreams () const |
| Gets number of data streams. | |
| const Hit & | GetHit (HitIndex_t index) const |
| Gets reference to hit by its index. | |
| const Vector< Hit > & | GetHits () const |
| Gets reference to hits vector. | |
| HitIndex_t | GetNhits () const |
| Gets number of hits in the hits vector. | |
| int | GetNhitKeys () const |
| Gets total number of stored keys. | |
| HitIndex_t | GetStreamStartIndex (int iStream) const |
| Gets index of the first hit in the sorted hits vector. | |
| HitIndex_t | GetStreamStopIndex (int iStream) const |
| Gets index of (the last + 1) hit in the sorted hits vector. | |
| HitIndex_t | GetStreamNhits (int iStream) const |
| Gets n hits for the data stream. | |
Private Member Functions | |
| void | Swap (InputData &other) noexcept |
| Swap method. | |
| template<class Archive> | |
| void | serialize (Archive &ar, const unsigned int) |
| Data serialization method. | |
Private Attributes | |
| Vector< Hit > | fvHits {"InputData::fHits"} |
| Sample of input hits. | |
| Vector< HitIndex_t > | fvStreamStartIndices {"InputData::fStreamStartIndices"} |
| Index of the first hit in the sorted hits vector for a given data stream. | |
| Vector< HitIndex_t > | fvStreamStopIndices {"InputData::fStreamStopIndices"} |
| int | fNhitKeys = -1 |
| Number of hit keys used for rejecting fake STS hits. | |
Friends | |
| class | DataManager |
| Class which fills the InputData object for each event or time slice. | |
| class | boost::serialization::access |
Class InputData represents a block of the input data to the L1 tracking algorithm per event or time slice. Filling of the InputData is carried out with L1IODataManager class
Definition at line 24 of file CaInputData.h.
| InputData::InputData | ( | ) |
Default constructor.
Definition at line 16 of file CaInputData.cxx.
| InputData::InputData | ( | const InputData & | other | ) |
Copy constructor.
Definition at line 20 of file CaInputData.cxx.
|
noexcept |
Move constructor.
Definition at line 30 of file CaInputData.cxx.
|
default |
Destructor.
|
inline |
Gets reference to hit by its index.
| index | Index of hit in the hits sample |
Definition at line 55 of file CaInputData.h.
Gets reference to hits vector.
Definition at line 58 of file CaInputData.h.
|
inline |
Gets number of data streams.
Definition at line 51 of file CaInputData.h.
|
inline |
Gets total number of stored keys.
Definition at line 64 of file CaInputData.h.
|
inline |
Gets number of hits in the hits vector.
Definition at line 61 of file CaInputData.h.
|
inline |
Gets hits sample size.
Definition at line 48 of file CaInputData.h.
|
inline |
Gets n hits for the data stream.
| iStream | Index of the data stream |
Definition at line 76 of file CaInputData.h.
|
inline |
Gets index of the first hit in the sorted hits vector.
| iStream | Index of the data stream |
Definition at line 68 of file CaInputData.h.
|
inline |
Gets index of (the last + 1) hit in the sorted hits vector.
| iStream | Index of the data stream |
Definition at line 72 of file CaInputData.h.
Copy assignment operator.
Definition at line 34 of file CaInputData.cxx.
Move assignment operator.
Definition at line 44 of file CaInputData.cxx.
|
inlineprivate |
Data serialization method.
Definition at line 88 of file CaInputData.h.
|
inlineprivatenoexcept |
Swap method.
Definition at line 118 of file CaInputData.h.
|
friend |
Definition at line 27 of file CaInputData.h.
|
friend |
Class which fills the InputData object for each event or time slice.
Definition at line 26 of file CaInputData.h.
|
private |
Number of hit keys used for rejecting fake STS hits.
Definition at line 108 of file CaInputData.h.
Sample of input hits.
Definition at line 101 of file CaInputData.h.
|
private |
Index of the first hit in the sorted hits vector for a given data stream.
Definition at line 104 of file CaInputData.h.
|
private |
Definition at line 105 of file CaInputData.h.