|
CbmRoot
|
#include <RecoSetupUnit.h>
Public Types | |
| using | OffsetContainer_t = std::vector<int> |
| Container to store MuCh layer offsets. | |
Public Member Functions | |
| RecoSetupUnit ()=default | |
| Default constructor (note: needed for serialization) | |
| RecoSetupUnit (std::pair< std::vector< GeoVolume >, std::vector< GeoVolume > > &&stationVolumes, OffsetContainer_t &&stationIdOffsets) | |
| Constructor from parameters. | |
| bool | IsValid () const |
| Validates the interface. | |
| const GeoVolume & | GetActiveVolume (int stationId) const |
| Gets active volume for a tracking station. | |
| HitRange | GetHitRange (const HitType &hit) const |
| Returns default hit range for x, y and time measurements. | |
| int | GetNofTrackingStations () const |
| Gets number of tracking stations. | |
| int | GetTrackingStationId (uint32_t address) const |
| Gets a local index of a tracking station by a hardware address. | |
| const GeoVolume & | GetFullVolume (int stationId) const |
| Gets full volume for a tracking station. | |
| bool | IsTimeInfoProvided (int stationId) const |
| Checks, if station provides time measurements. | |
| std::string | TableOfTrackingStations () const |
| Dumps table of tracking stations to string. | |
Static Public Member Functions | |
| static constexpr std::string_view | GetDetectorName () |
| Name of the detector. | |
| static constexpr ECbmModuleId | GetModuleId () |
| Module ID. | |
Protected Member Functions | |
| HitRange | ImplGetHitRange (const HitType &hit) const |
| Returns default hit range factor. | |
Private Member Functions | |
| int | ImplGetTrackingStationId (uint32_t address) const |
| Returns tracking station index by the much address. | |
| bool | ImplIsTimeInfoProvided (int) const |
| Returns a flag, if time information is provided by the detector. | |
| bool | IsInitialized () const |
| Validates initialization of the instance. | |
| template<class Archive> | |
| void | serialize (Archive &ar, const unsigned int) |
| Serialization rule. | |
Private Attributes | |
| OffsetContainer_t | fvStationIdOffsets {} |
| Offset of tracking station ID vs MuCh station ID. | |
| std::vector< GeoVolume > | fvStationFullVolumes |
| Geometric properties of each station passive volume. | |
| std::vector< GeoVolume > | fvStationActiveVolumes |
| Geometric properties of each station active volume. | |
Friends | |
| class | TrackingSetupIfs< RecoSetupUnit > |
| class | boost::serialization::access |
Definition at line 21 of file much/RecoSetupUnit.h.
| using cbm::algo::much::RecoSetupUnit::OffsetContainer_t = std::vector<int> |
Container to store MuCh layer offsets.
Definition at line 25 of file much/RecoSetupUnit.h.
|
default |
Default constructor (note: needed for serialization)
Referenced by RecoSetupUnit().
| RecoSetupUnit::RecoSetupUnit | ( | std::pair< std::vector< GeoVolume >, std::vector< GeoVolume > > && | stationVolumes, |
| OffsetContainer_t && | stationIdOffsets ) |
Constructor from parameters.
| stationVolumes | A pair of containers of station full and active volumes {full, active} |
| stationIdOffsets | Offset of tracking station ID vs MuCh station ID |
Definition at line 19 of file much/RecoSetupUnit.cxx.
References fvStationIdOffsets, RecoSetupUnit(), and cbm::algo::TrackingSetupIfs< RecoSetupUnit >::TrackingSetupIfs().
|
inlineinherited |
Gets active volume for a tracking station.
| stationId | Local index of the tracking station |
Definition at line 77 of file TrackingSetupIfs.h.
|
inlinestaticconstexpr |
Name of the detector.
Definition at line 37 of file much/RecoSetupUnit.h.
|
inlineinherited |
Gets full volume for a tracking station.
| stationId | Local index of the tracking station |
Definition at line 103 of file TrackingSetupIfs.h.
|
inlineinherited |
Returns default hit range for x, y and time measurements.
| hit | A hit |
The default ranges are defined under an assumption, that all the uncertainties obey a gaussian distribution
Definition at line 86 of file TrackingSetupIfs.h.
|
inlinestaticconstexpr |
|
inlineinherited |
Gets number of tracking stations.
Definition at line 92 of file TrackingSetupIfs.h.
Referenced by cbm::algo::much::RecoSetupUnit::IsInitialized(), cbm::algo::mvd::RecoSetupUnit::IsInitialized(), cbm::algo::sts::RecoSetupUnit::IsInitialized(), cbm::algo::tof::RecoSetupUnit::IsInitialized(), and cbm::algo::trd::RecoSetupUnit::IsInitialized().
|
inlineinherited |
Gets a local index of a tracking station by a hardware address.
| address | Hardware address |
Definition at line 96 of file TrackingSetupIfs.h.
|
inlineprotectedinherited |
Returns default hit range factor.
| hit | A particular hit |
Definition at line 135 of file TrackingSetupIfs.h.
|
inlineprivate |
Returns tracking station index by the much address.
| address | Unique hardware address of an much sensor/channel |
For MuCh, a tracking station is a single much layer. The index of tracking station is a continuous index of the layer over all MuCh stations.
Definition at line 51 of file much/RecoSetupUnit.h.
References fvStationIdOffsets, CbmMuchAddress::GetLayerIndex(), and CbmMuchAddress::GetStationIndex().
|
inlineprivate |
Returns a flag, if time information is provided by the detector.
| stationId | Local index of tracking station |
Definition at line 58 of file much/RecoSetupUnit.h.
|
private |
Validates initialization of the instance.
Definition at line 28 of file much/RecoSetupUnit.cxx.
References fvStationIdOffsets, and cbm::algo::TrackingSetupIfs< RecoSetupUnit >::GetNofTrackingStations().
|
inlineinherited |
Checks, if station provides time measurements.
| stationId | Local index of the tracking station |
Definition at line 107 of file TrackingSetupIfs.h.
|
inherited |
Validates the interface.
Definition at line 73 of file TrackingSetupIfs.h.
|
inlineprivate |
Serialization rule.
Definition at line 68 of file much/RecoSetupUnit.h.
References fvStationIdOffsets.
|
inherited |
Dumps table of tracking stations to string.
Definition at line 113 of file TrackingSetupIfs.h.
|
friend |
Definition at line 65 of file much/RecoSetupUnit.h.
References boost::serialization::access.
Referenced by boost::serialization::access.
|
friend |
Definition at line 1 of file much/RecoSetupUnit.h.
|
privateinherited |
Geometric properties of each station active volume.
Definition at line 151 of file TrackingSetupIfs.h.
|
privateinherited |
Geometric properties of each station passive volume.
Definition at line 150 of file TrackingSetupIfs.h.
|
private |
Offset of tracking station ID vs MuCh station ID.
Definition at line 43 of file much/RecoSetupUnit.h.
Referenced by ImplGetTrackingStationId(), IsInitialized(), RecoSetupUnit(), and serialize().