A mapper for TOF tracking stations.
More...
#include <RecoSetupUnit.h>
|
| | TrkStationIdMap ()=default |
| | Default constructor (for serialization)
|
| |
| | TrkStationIdMap (std::vector< SmTypeInfo > &&smTypeRpcMap, std::vector< int > &&trkStationIdMap) |
| | Constructor from parameters (RAII)
|
| |
| void | Clear () |
| | Clears the contents.
|
| |
| bool | IsEmpty () const |
| | Checks, if the container is empty.
|
| |
| uint16_t | GetNofSmTypes () const |
| | Gets number of supermodule types.
|
| |
| uint16_t | GetNofRpc (uint16_t iSmType) const |
| | Gets number of RPCs for a given SM type.
|
| |
| uint16_t | GetNofSm (uint16_t iSmType) const |
| | Gets number of SMs for a given SM type.
|
| |
| const auto & | GetSmTypeRpcMap () const |
| | A constant accessor to the SmType RPC map.
|
| |
| const auto & | GetTrkStationIdMap () const |
| | A constant accessor to the tracking station ID container.
|
| |
| int | GetTrackingStationIndex (uint16_t iSmType, uint16_t iSm, uint16_t iRpc) const |
| | Gets tracking station index for a given SM type, SM and RPC.
|
| |
|
| template<class Archive> |
| void | serialize (Archive &ar, const unsigned int) |
| |
A mapper for TOF tracking stations.
Definition at line 28 of file tof/RecoSetupUnit.h.
◆ TrkStationIdMap() [1/2]
| cbm::algo::tof::TrkStationIdMap::TrkStationIdMap |
( |
| ) |
|
|
default |
Default constructor (for serialization)
◆ TrkStationIdMap() [2/2]
| TrkStationIdMap::TrkStationIdMap |
( |
std::vector< SmTypeInfo > && | smTypeRpcMap, |
|
|
std::vector< int > && | trkStationIdMap ) |
Constructor from parameters (RAII)
- Parameters
-
| smTypeRpcMap | A map of RPC types vs. a supermodule type |
| trkStationIdMap | A track station ID map |
Definition at line 20 of file tof/RecoSetupUnit.cxx.
◆ Clear()
| void cbm::algo::tof::TrkStationIdMap::Clear |
( |
| ) |
|
|
inline |
◆ GetNofRpc()
| uint16_t cbm::algo::tof::TrkStationIdMap::GetNofRpc |
( |
uint16_t | iSmType | ) |
const |
|
inline |
Gets number of RPCs for a given SM type.
- Parameters
-
| iSmType | A supermodule type |
Definition at line 71 of file tof/RecoSetupUnit.h.
◆ GetNofSm()
| uint16_t cbm::algo::tof::TrkStationIdMap::GetNofSm |
( |
uint16_t | iSmType | ) |
const |
|
inline |
Gets number of SMs for a given SM type.
- Parameters
-
| iSmType | A supermodule type |
Definition at line 75 of file tof/RecoSetupUnit.h.
◆ GetNofSmTypes()
| uint16_t cbm::algo::tof::TrkStationIdMap::GetNofSmTypes |
( |
| ) |
const |
|
inline |
◆ GetSmTypeRpcMap()
| const auto & cbm::algo::tof::TrkStationIdMap::GetSmTypeRpcMap |
( |
| ) |
const |
|
inline |
◆ GetTrackingStationIndex()
| int cbm::algo::tof::TrkStationIdMap::GetTrackingStationIndex |
( |
uint16_t | iSmType, |
|
|
uint16_t | iSm, |
|
|
uint16_t | iRpc ) const |
|
inline |
Gets tracking station index for a given SM type, SM and RPC.
- Parameters
-
| iSmType | A type of supermodule |
| iSm | An index of supermodule within a supremodule type |
| iRpc | An index of RPC within a supermodule |
Definition at line 87 of file tof/RecoSetupUnit.h.
◆ GetTrkStationIdMap()
| const auto & cbm::algo::tof::TrkStationIdMap::GetTrkStationIdMap |
( |
| ) |
const |
|
inline |
◆ IsEmpty()
| bool cbm::algo::tof::TrkStationIdMap::IsEmpty |
( |
| ) |
const |
|
inline |
◆ serialize()
template<class Archive>
| void cbm::algo::tof::TrkStationIdMap::serialize |
( |
Archive & | ar, |
|
|
const unsigned int | ) |
|
inlineprivate |
◆ fSmTypeRpcMap
| std::vector<SmTypeInfo> cbm::algo::tof::TrkStationIdMap::fSmTypeRpcMap {} |
|
private |
Information on the RPC indexing within differnt SM types.
Definition at line 97 of file tof/RecoSetupUnit.h.
◆ fTrkStationIdMap
| std::vector<int> cbm::algo::tof::TrkStationIdMap::fTrkStationIdMap {} |
|
private |
The documentation for this class was generated from the following files: