|
CbmRoot
|
#include <CaInputData.h>
Public Member Functions | |
| InputData () | |
| Default constructor. | |
| ~InputData ()=default | |
| Destructor. | |
| InputData (const InputData &other) | |
| Copy constructor. | |
| InputData (InputData &&) noexcept | |
| Move constructor. | |
| 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.
Referenced by InputData(), InputData(), operator=(), operator=(), Swap(), and ~InputData().
|
default |
Destructor.
References InputData().
| InputData::InputData | ( | const InputData & | other | ) |
Copy constructor.
Definition at line 20 of file CaInputData.cxx.
References fNhitKeys, fvHits, fvStreamStartIndices, fvStreamStopIndices, and InputData().
|
noexcept |
Move constructor.
Definition at line 30 of file CaInputData.cxx.
References InputData(), and Swap().
|
inline |
Gets reference to hit by its index.
| index | Index of hit in the hits sample |
Definition at line 55 of file CaInputData.h.
References fvHits.
Referenced by cbm::algo::ca::CloneMerger::Exec(), cbm::algo::ca::TrackFinder::FindTracks(), cbm::algo::ca::TrackFinder::FindTracksThread(), and cbm::algo::ca::TrackFitter::FitCaTracks().
Gets reference to hits vector.
Definition at line 58 of file CaInputData.h.
References fvHits.
Referenced by cbm::algo::ca::TrackFinderWindow::CaTrackFinderSlice().
|
inline |
Gets number of data streams.
Definition at line 51 of file CaInputData.h.
References fvStreamStartIndices.
Referenced by cbm::algo::ca::TrackFinder::FindTracks(), and cbm::algo::ca::TrackFinder::FindTracksThread().
|
inline |
Gets total number of stored keys.
Definition at line 64 of file CaInputData.h.
References fNhitKeys.
Referenced by cbm::algo::ca::TrackFinder::FindTracks(), and cbm::algo::ca::TrackFinder::FindTracksThread().
|
inline |
Gets number of hits in the hits vector.
Definition at line 61 of file CaInputData.h.
References fvHits.
Referenced by cbm::algo::ca::TrackFinder::FindTracks(), and cbm::algo::ca::TrackFinder::FindTracksThread().
|
inline |
Gets hits sample size.
Definition at line 48 of file CaInputData.h.
References fvHits, and GetSampleSize().
Referenced by GetSampleSize().
|
inline |
Gets n hits for the data stream.
| iStream | Index of the data stream |
Definition at line 76 of file CaInputData.h.
References fvStreamStartIndices, and fvStreamStopIndices.
Referenced by cbm::algo::ca::TrackFinder::FindTracks().
|
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.
References fvStreamStartIndices.
Referenced by cbm::algo::ca::TrackFinder::FindTracks(), and cbm::algo::ca::TrackFinder::FindTracksThread().
|
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.
References fvStreamStopIndices.
Referenced by cbm::algo::ca::TrackFinder::FindTracksThread().
Move assignment operator.
Definition at line 44 of file CaInputData.cxx.
References InputData(), and Swap().
|
inlineprivate |
Data serialization method.
Definition at line 88 of file CaInputData.h.
References fNhitKeys, fvHits, fvStreamStartIndices, and fvStreamStopIndices.
|
inlineprivatenoexcept |
Swap method.
Definition at line 118 of file CaInputData.h.
References fNhitKeys, fvHits, fvStreamStartIndices, fvStreamStopIndices, and InputData().
Referenced by InputData(), and operator=().
|
friend |
Definition at line 27 of file CaInputData.h.
References boost::serialization::access.
Referenced by boost::serialization::access.
|
friend |
Class which fills the InputData object for each event or time slice.
Definition at line 26 of file CaInputData.h.
References DataManager.
Referenced by DataManager.
|
private |
Number of hit keys used for rejecting fake STS hits.
Definition at line 108 of file CaInputData.h.
Referenced by GetNhitKeys(), InputData(), serialize(), and Swap().
Sample of input hits.
Definition at line 101 of file CaInputData.h.
Referenced by GetHit(), GetHits(), GetNhits(), GetSampleSize(), InputData(), serialize(), and Swap().
|
private |
Index of the first hit in the sorted hits vector for a given data stream.
Definition at line 104 of file CaInputData.h.
Referenced by GetNdataStreams(), GetStreamNhits(), GetStreamStartIndex(), InputData(), serialize(), and Swap().
|
private |
Definition at line 105 of file CaInputData.h.
Referenced by GetStreamNhits(), GetStreamStopIndex(), InputData(), serialize(), and Swap().