|
CbmRoot
|
Container for internal data, processed on a single time window. More...
#include <CaWindowData.h>
Public Member Functions | |
| WindowData ()=default | |
| Constructor. | |
| ~WindowData ()=default | |
| Destructor. | |
| ca::Grid & | Grid (int iStation) |
| Gets grid for station index. | |
| const ca::Grid & | Grid (int iStation) const |
| Gets grid for station index. | |
| ca::Hit & | Hit (int iHit) |
| Gets hit by index. | |
| const ca::Hit & | Hit (int iHit) const |
| Gets hit by index. | |
| Vector< ca::Hit > & | Hits () |
| Gets hit vector. | |
| const Vector< ca::Hit > & | Hits () const |
| Gets hit vector. | |
| uint8_t | IsHitSuppressed (int iHit) const |
| Gets hit suppression flag. | |
| void | ResetHitData (int nHits) |
| Resets hit data. | |
| void | ResetHitSuppressionFlags () |
| Reset suppressed hit flags. | |
| void | SuppressHit (int iHit) |
| Set hit suppression flag. | |
| HitIndex_t & | HitStartIndexOnStation (int iStation) |
| Index of the first hit on the station. | |
| HitIndex_t | HitStartIndexOnStation (int iStation) const |
| Index of the first hit on the station. | |
| unsigned char | IsHitKeyUsed (HitKeyIndex_t iKey) const |
| Hit key flag: if this hit or cluster was already used. | |
| unsigned char & | IsHitKeyUsed (HitKeyIndex_t iKey) |
| Hit key flag: if this hit or cluster was already used. | |
| Vector< unsigned char > & | HitKeyFlags () |
| Access to the hit key flags container. | |
| HitIndex_t & | NofHitsOnStation (int iStation) |
| Number of hits on station. | |
| HitIndex_t | NofHitsOnStation (int iStation) const |
| Number of hits on station. | |
| Vector< HitIndex_t > & | RecoHitIndices () |
| Accesses indices of hits, used by reconstructed tracks. | |
| const Vector< HitIndex_t > & | RecoHitIndices () const |
| Accesses indices of hits. | |
| HitIndex_t & | RecoHitIndex (int iHit) |
| Accesses index of hit in the input data. | |
| HitIndex_t | RecoHitIndex (int iHit) const |
| Accesses index of hit in the input data. | |
| Track & | RecoTrack (int iTrack) |
| Accesses reconstructed track by index. | |
| const Track & | RecoTrack (int iTrack) const |
| Accesses reconstructed track by index. | |
| Vector< Track > & | RecoTracks () |
| Accesses reconstructed track container. | |
| const Vector< Track > & | RecoTracks () const |
| Accesses reconstructed track container. | |
| HitIndex_t | TsHitIndex (int iSt, int iHit) const |
| Maps hit index from the time window to the time slice. | |
| Vector< HitIndex_t > & | TsHitIndices (int iSt) |
| Accesses container of hit index map from the time window to the time slice. | |
| const Vector< HitIndex_t > & | TsHitIndices (int iSt) const |
| Accesses container of hit index map from the time window to the time slice. | |
| void | SetCurrentIteration (int ind, const Iteration *ptr) |
| Accesses current iteration. | |
| const Iteration * | CurrentIteration () const |
| Accesses current iteration. | |
| int | CurrentIterationIndex () const |
| Accesses current iteration index. | |
| kf::FieldValue< fvec > & | TargB () |
| Accesses magnetic field in starting point (target or first station) | |
| const kf::FieldValue< fvec > & | TargB () const |
| Accesses magnetic field in starting point (target or first station) | |
| kf::MeasurementXy< fvec > & | TargetMeasurement () |
| Measurement of the target with the uncertainty. | |
| const kf::MeasurementXy< fvec > & | TargetMeasurement () const |
| Measurement of the target with the uncertainty. | |
Private Attributes | |
| std::array< ca::Grid, kMaxNofStations > | fvGrid |
| Grid vs. station index. | |
| Vector< ca::Hit > | fvHits {"WindowData::fHits"} |
| Hits of the current time window. | |
| Vector< unsigned char > | fvbHitKeyFlags {"WindowData::fvbHitKeyFlags"} |
| List of used hit keys. | |
| Vector< unsigned char > | fvbHitSuppressed {"WindowData::fvbHitSuppressed"} |
| Flag, if the hit is suppressed for tracking. | |
| std::array< HitIndex_t, kMaxNofStations+1 > | fvHitStartIndexOnStation = {0} |
| First hit index of the station. | |
| std::array< HitIndex_t, kMaxNofStations+1 > | fvNofHitsOnStation = {0} |
| Number of hits on the station. | |
| Vector< Track > | fvRecoTracks {"WindowData::fvRecoTracks"} |
| Sample of reconstructed tracks. | |
| Vector< HitIndex_t > | fvRecoHitIndices {"WindowData::fvRecoHitIndices"} |
| Sample of reconstructed hit indices. | |
| std::array< Vector< HitIndex_t >, kMaxNofStations > | fvTsHitIndices {"WindowData::fvFullDSHitIndex"} |
| Map of hit indices from the time window to the time slice. | |
| const Iteration * | fpCurrentIteration = nullptr |
| Current track-finder iteration. | |
| int | fIterationIndex = -1 |
| Index of the current iteration. | |
| kf::FieldValue< fvec > | fTargB {} |
| field in the target point (modifiable, do not touch!!) | |
| kf::MeasurementXy< fvec > | fTargetMeasurement {} |
| target constraint | |
Static Private Attributes | |
| static constexpr int | kMaxNofStations = constants::size::MaxNstations |
| Alias to max number of stations. | |
Container for internal data, processed on a single time window.
Definition at line 26 of file CaWindowData.h.
|
default |
Constructor.
|
default |
Destructor.
|
inline |
Accesses current iteration.
Definition at line 154 of file CaWindowData.h.
|
inline |
Accesses current iteration index.
Definition at line 157 of file CaWindowData.h.
|
inline |
Gets grid for station index.
| iStation | Index of the tracking station |
Definition at line 36 of file CaWindowData.h.
|
inline |
Gets grid for station index.
| iStation | Index of the tracking station |
Definition at line 40 of file CaWindowData.h.
|
inline |
|
inline |
|
inline |
Access to the hit key flags container.
Definition at line 86 of file CaWindowData.h.
Gets hit vector.
Definition at line 51 of file CaWindowData.h.
Gets hit vector.
Definition at line 54 of file CaWindowData.h.
|
inline |
Index of the first hit on the station.
| iStation | Index of the tracking station |
Definition at line 72 of file CaWindowData.h.
|
inline |
Index of the first hit on the station.
| iStation | Index of the tracking station |
Definition at line 90 of file CaWindowData.h.
|
inline |
Hit key flag: if this hit or cluster was already used.
| iKey | Index of the key (index of the hit or the cluster) |
Definition at line 83 of file CaWindowData.h.
|
inline |
Hit key flag: if this hit or cluster was already used.
| iKey | Index of the key (index of the hit or the cluster) |
Definition at line 79 of file CaWindowData.h.
|
inline |
|
inline |
Number of hits on station.
| iStation | Index of the tracking station |
Definition at line 97 of file CaWindowData.h.
|
inline |
Number of hits on station.
| iStation | Index of the tracking station |
Definition at line 101 of file CaWindowData.h.
|
inline |
Accesses index of hit in the input data.
| iHit | Index of reconstructed hit, used in reconstructed tracks |
Definition at line 112 of file CaWindowData.h.
|
inline |
Accesses index of hit in the input data.
| iHit | Index of reconstructed hit, used in reconstructed tracks |
Definition at line 117 of file CaWindowData.h.
|
inline |
Accesses indices of hits, used by reconstructed tracks.
Definition at line 104 of file CaWindowData.h.
|
inline |
Accesses indices of hits.
Definition at line 107 of file CaWindowData.h.
|
inline |
Accesses reconstructed track by index.
| iTrack | Track index |
Definition at line 121 of file CaWindowData.h.
|
inline |
Accesses reconstructed track by index.
| iTrack | Track index |
Definition at line 125 of file CaWindowData.h.
Accesses reconstructed track container.
Definition at line 128 of file CaWindowData.h.
Accesses reconstructed track container.
Definition at line 131 of file CaWindowData.h.
| void WindowData::ResetHitData | ( | int | nHits | ) |
Resets hit data.
| nHits | Number of hits in the sample |
Definition at line 16 of file CaWindowData.cxx.
|
inline |
Reset suppressed hit flags.
Definition at line 65 of file CaWindowData.h.
|
inline |
Accesses current iteration.
Definition at line 147 of file CaWindowData.h.
|
inline |
Set hit suppression flag.
Definition at line 68 of file CaWindowData.h.
|
inline |
Accesses magnetic field in starting point (target or first station)
Definition at line 160 of file CaWindowData.h.
|
inline |
Accesses magnetic field in starting point (target or first station)
Definition at line 163 of file CaWindowData.h.
|
inline |
Measurement of the target with the uncertainty.
Definition at line 166 of file CaWindowData.h.
|
inline |
Measurement of the target with the uncertainty.
Definition at line 169 of file CaWindowData.h.
|
inline |
Maps hit index from the time window to the time slice.
| iSt | Index of tracking station |
| iHit | Index of hit in the window |
Definition at line 136 of file CaWindowData.h.
|
inline |
Accesses container of hit index map from the time window to the time slice.
| iSt | Index of tracking station |
Definition at line 140 of file CaWindowData.h.
|
inline |
Accesses container of hit index map from the time window to the time slice.
| iSt | Index of tracking station |
Definition at line 144 of file CaWindowData.h.
|
private |
Index of the current iteration.
Definition at line 209 of file CaWindowData.h.
|
private |
Current track-finder iteration.
Definition at line 206 of file CaWindowData.h.
|
private |
field in the target point (modifiable, do not touch!!)
Definition at line 211 of file CaWindowData.h.
|
private |
target constraint
Definition at line 212 of file CaWindowData.h.
|
private |
List of used hit keys.
Definition at line 185 of file CaWindowData.h.
|
private |
Flag, if the hit is suppressed for tracking.
Definition at line 188 of file CaWindowData.h.
|
private |
Grid vs. station index.
Definition at line 175 of file CaWindowData.h.
Hits of the current time window.
It is a portion of fInputData to process in the current time window hit.Id is replaced by the hit index in fInputData
Definition at line 181 of file CaWindowData.h.
|
private |
First hit index of the station.
Definition at line 191 of file CaWindowData.h.
|
private |
Number of hits on the station.
Definition at line 194 of file CaWindowData.h.
|
private |
Sample of reconstructed hit indices.
Definition at line 200 of file CaWindowData.h.
Sample of reconstructed tracks.
Definition at line 197 of file CaWindowData.h.
|
private |
Map of hit indices from the time window to the time slice.
Definition at line 203 of file CaWindowData.h.
|
staticconstexprprivate |
Alias to max number of stations.
Definition at line 172 of file CaWindowData.h.