|
CbmRoot
|
An interface for the setup representation in tracking. More...
#include <TrackingSetupIfs.h>
Public Member Functions | |
| virtual | ~TrackingSetupIfs ()=default |
| Destructor. | |
| bool | IsValid () const |
| Validates the interface. | |
| const GeoVolume & | GetActiveVolume (int stationId) const |
| Gets active volume for a tracking station. | |
| template<class HitType> | |
| 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. | |
Protected Member Functions | |
| TrackingSetupIfs ()=default | |
| TrackingSetupIfs (const TrackingSetupIfs &)=default | |
| TrackingSetupIfs (TrackingSetupIfs &&)=default | |
| TrackingSetupIfs & | operator= (const TrackingSetupIfs &)=default |
| TrackingSetupIfs & | operator= (TrackingSetupIfs &&)=default |
| TrackingSetupIfs (std::pair< std::vector< GeoVolume >, std::vector< GeoVolume > > &&volumes) | |
| Constructor from parameters. | |
| template<class HitType> | |
| HitRange | ImplGetHitRange (const HitType &hit) const |
| Returns default hit range factor. | |
Private Member Functions | |
| template<class Archive> | |
| void | serialize (Archive &ar, const unsigned int) |
Private Attributes | |
| std::vector< GeoVolume > | fvStationFullVolumes {} |
| Geometric properties of each station passive volume. | |
| std::vector< GeoVolume > | fvStationActiveVolumes {} |
| Geometric properties of each station active volume. | |
Friends | |
| class | boost::serialization::access |
| Serialization method. | |
An interface for the setup representation in tracking.
| ConcreteDetector | A concrete detector interface, which is derived from this class (CRTP) |
Definition at line 65 of file TrackingSetupIfs.h.
|
virtualdefault |
Destructor.
|
protecteddefault |
Referenced by operator=(), operator=(), TrackingSetupIfs(), and TrackingSetupIfs().
|
protecteddefault |
References TrackingSetupIfs().
|
protecteddefault |
References TrackingSetupIfs().
|
inlineprotected |
Constructor from parameters.
| volumes | A pair of containers of station full and active volumes {full, active} |
Definition at line 124 of file TrackingSetupIfs.h.
References first, fvStationActiveVolumes, and fvStationFullVolumes.
|
inline |
Gets active volume for a tracking station.
| stationId | Local index of the tracking station |
Definition at line 77 of file TrackingSetupIfs.h.
References fvStationActiveVolumes.
Referenced by TableOfTrackingStations().
|
inline |
Gets full volume for a tracking station.
| stationId | Local index of the tracking station |
Definition at line 103 of file TrackingSetupIfs.h.
References fvStationFullVolumes.
Referenced by TableOfTrackingStations().
|
inline |
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.
References ImplGetHitRange().
|
inline |
Gets number of tracking stations.
Definition at line 92 of file TrackingSetupIfs.h.
References fvStationFullVolumes.
Referenced by IsValid(), and TableOfTrackingStations().
|
inline |
Gets a local index of a tracking station by a hardware address.
| address | Hardware address |
Definition at line 96 of file TrackingSetupIfs.h.
|
inlineprotected |
Returns default hit range factor.
| hit | A particular hit |
Definition at line 135 of file TrackingSetupIfs.h.
Referenced by GetHitRange(), and cbm::algo::trd::RecoSetupUnit::ImplGetHitRange().
|
inline |
Checks, if station provides time measurements.
| stationId | Local index of the tracking station |
Definition at line 107 of file TrackingSetupIfs.h.
Referenced by TableOfTrackingStations().
| bool cbm::algo::TrackingSetupIfs< ConcreteDetector >::IsValid | ( | ) | const |
Validates the interface.
Definition at line 160 of file TrackingSetupIfs.h.
References fvStationActiveVolumes, fvStationFullVolumes, and GetNofTrackingStations().
|
protecteddefault |
References TrackingSetupIfs().
|
protecteddefault |
References TrackingSetupIfs().
|
inlineprivate |
Definition at line 144 of file TrackingSetupIfs.h.
References fvStationActiveVolumes, and fvStationFullVolumes.
| std::string cbm::algo::TrackingSetupIfs< ConcreteDetector >::TableOfTrackingStations | ( | ) | const |
Dumps table of tracking stations to string.
Definition at line 228 of file TrackingSetupIfs.h.
References GetActiveVolume(), GetFullVolume(), GetNofTrackingStations(), and IsTimeInfoProvided().
|
friend |
Serialization method.
Definition at line 142 of file TrackingSetupIfs.h.
References boost::serialization::access.
Referenced by boost::serialization::access.
|
private |
Geometric properties of each station active volume.
Definition at line 151 of file TrackingSetupIfs.h.
Referenced by GetActiveVolume(), IsValid(), serialize(), and TrackingSetupIfs().
|
private |
Geometric properties of each station passive volume.
Definition at line 150 of file TrackingSetupIfs.h.
Referenced by GetFullVolume(), GetNofTrackingStations(), IsValid(), serialize(), and TrackingSetupIfs().