A factory for geometry tracking KF-setup in CBM.
More...
#include <CbmKfTrackingGeoSetupFactory.h>
|
| | TrackingGeoSetupFactory (bool requireHitPresence=false) |
| | Constructor (RAII)
|
| |
| Setup< double > | Create (FloatTag< double >, EFieldMode fldMode) const override |
| | Method to create a setup with double-precision floating point type.
|
| |
| Setup< float > | Create (FloatTag< float >, EFieldMode fldMode) const override |
| | Method to create a setup with single-precision floating point type.
|
| |
| Setup< fvec > | Create (FloatTag< algo::kf::fvec >, EFieldMode fldMode) const override |
| | Method to create a setup with vectorized floating point type.
|
| |
| bool | IsInGeometry (algo::ca::EDetectorID detID) const |
| | Checks, if a tracking detector is in geometry.
|
| |
| bool | HasHits (algo::ca::EDetectorID detID) const |
| | Checks, if a tracking detector has hits.
|
| |
| const algo::kf::FieldFn_t & | GetFieldFunction () const override |
| | Access to field function.
|
| |
| virtual Setup< double > | Create (FloatTag< double > floatTag, EFieldMode fldMode) const =0 |
| | Method to create a setup with double-precision floating point type.
|
| |
| virtual Setup< float > | Create (FloatTag< float > floatTag, EFieldMode fldMode) const =0 |
| | Method to create a setup with single-precision floating point type.
|
| |
| virtual Setup< fvec > | Create (FloatTag< fvec > floatTag, EFieldMode fldMode) const =0 |
| | Method to create a setup with vectorized floating point type.
|
| |
A factory for geometry tracking KF-setup in CBM.
Definition at line 25 of file CbmKfTrackingGeoSetupFactory.h.
◆ DetectorIDArray_t
◆ TrackingGeoSetupFactory()
| TrackingGeoSetupFactory::TrackingGeoSetupFactory |
( |
bool | requireHitPresence = false | ) |
|
Constructor (RAII)
- Parameters
-
| requireHitPresence | Requires hits to be in data-sample to infer the subsystem presence |
- Exceptions
-
| std::runtime_error,if | the internal fields cannot be properly initialized |
Definition at line 41 of file CbmKfTrackingGeoSetupFactory.cxx.
◆ CheckDetectorPresence()
| void TrackingGeoSetupFactory::CheckDetectorPresence |
( |
bool | requireHitPresence | ) |
|
|
private |
Check detector presence.
- Parameters
-
| requireHitPresence | Requires hits to be in data-sample to infer the subsystem presence |
Definition at line 124 of file CbmKfTrackingGeoSetupFactory.cxx.
◆ Create() [1/6]
| virtual Setup< double > cbm::algo::kf::ISetupFactory::Create |
( |
FloatTag< double > | floatTag, |
|
|
EFieldMode | fldMode ) const |
|
pure virtualinherited |
◆ Create() [2/6]
| virtual Setup< float > cbm::algo::kf::ISetupFactory::Create |
( |
FloatTag< float > | floatTag, |
|
|
EFieldMode | fldMode ) const |
|
pure virtualinherited |
◆ Create() [3/6]
◆ Create() [4/6]
◆ Create() [5/6]
Method to create a setup with double-precision floating point type.
- Parameters
-
| floatTag | Floating point tag |
| fldMode | Field mode |
Definition at line 35 of file CbmKfTrackingGeoSetupFactory.h.
◆ Create() [6/6]
Method to create a setup with single-precision floating point type.
- Parameters
-
| floatTag | Floating point tag |
| fldMode | Field mode |
Definition at line 43 of file CbmKfTrackingGeoSetupFactory.h.
◆ GetFieldFunction()
| const algo::kf::FieldFn_t & cbm::kf::TrackingGeoSetupFactory::GetFieldFunction |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ HasHits()
| bool cbm::kf::TrackingGeoSetupFactory::HasHits |
( |
algo::ca::EDetectorID | detID | ) |
const |
|
inline |
◆ IsInGeometry()
| bool cbm::kf::TrackingGeoSetupFactory::IsInGeometry |
( |
algo::ca::EDetectorID | detID | ) |
const |
|
inline |
◆ MaterialCacheFile()
| std::string TrackingGeoSetupFactory::MaterialCacheFile |
( |
| ) |
const |
|
private |
◆ SetMaterialCacheFile()
| void cbm::kf::TrackingGeoSetupFactory::SetMaterialCacheFile |
( |
const TString & | filename, |
|
|
size_t | geoHash ) |
|
inlineprivate |
Sets the material budget cache file name.
- Parameters
-
| filename | Material budget cache file name |
| geoHash | A hash of the geometry |
If provided, the instance will try to read the material budget maps from the file. If the file does not exist,or the geometry hash was changed since the last time (reference hash differs from the one read from the file), a warning will be produced, the material budget maps will be recreated on the fly and they will be stored again to the file (meaning a new cache file will be generated over the existing one).
Definition at line 97 of file CbmKfTrackingGeoSetupFactory.h.
◆ fBuilder
| algo::kf::SetupBuilder cbm::kf::TrackingGeoSetupFactory::fBuilder {} |
|
private |
◆ fvbDetHasHits
◆ fvbDetInGeometry
◆ kDetHitBrName
◆ kMatCreatorMaxNbins
| int cbm::kf::TrackingGeoSetupFactory::kMatCreatorMaxNbins {100} |
|
staticconstexprprivate |
◆ kMatCreatorNrays
| int cbm::kf::TrackingGeoSetupFactory::kMatCreatorNrays {3} |
|
staticconstexprprivate |
◆ kMatCreatorPitch
| double cbm::kf::TrackingGeoSetupFactory::kMatCreatorPitch {0.1} |
|
staticconstexprprivate |
◆ kMatCreatorSafeMode
| bool cbm::kf::TrackingGeoSetupFactory::kMatCreatorSafeMode {true} |
|
staticconstexprprivate |
◆ kTargFieldInitStep
| double cbm::kf::TrackingGeoSetupFactory::kTargFieldInitStep {2.5} |
|
staticconstexprprivate |
◆ kTargMaterialOffset
| double cbm::kf::TrackingGeoSetupFactory::kTargMaterialOffset {1} |
|
staticconstexprprivate |
The documentation for this class was generated from the following files: