|
CbmRoot
|
Configuration of the CA tracking (excluding geometry) More...
#include <CaConfig.h>
Classes | |
| struct | Control |
| CA control flags and parametrs. More... | |
| struct | Dev |
| CA development flags. More... | |
Public Types | |
| template<typename T> | |
| using | DynArray_t = std::vector<T> |
| A type of container for a dynamic array. | |
| using | MisalignmentTolArray_t = std::array<MisalignmentTolerance, constants::size::MaxNdetectors> |
Public Member Functions | |
| Config ()=default | |
| Config (DynArray_t< Iteration > &&iterations, Control &&controlFlags, Dev &&devFlags, MisalignmentTolArray_t &&misalignment) | |
| Constructor. | |
| bool | DevExtendTracksViaMc () const |
| Dev. flag: if to extend tracks using MC infromation. | |
| bool | DevForceUseOriginalField () const |
| Dev. flag: if to forse using the original magnetic field. | |
| bool | DevIgnoreHitSearchAreas () const |
| Dev. flag: if to ignore hit search areas. | |
| bool | DevMatchDoubletsViaMc () const |
| Dev. flag: if to match doublets with MC information. | |
| bool | DevMatchTripletsViaMc () const |
| Dev. flag: if to match triplets with MC information. | |
| bool | DevSuppressOverlapHitsViaMc () const |
| Dev. flag: if to suppress hits in sensor overlaps using MC information. | |
| bool | DevUseParSearchWindows () const |
| Dev. flag: use pre-estimated parameterized search windows. | |
| int | GetNofIterations () const |
| Gets number of CA iterations. | |
| const Iteration & | GetIteration (int iIteration) const |
| Gets an iteraion. | |
| const DynArray_t< Iteration > & | GetIterations () const |
| Constant accessor to iterations array. | |
| float | GetDefaultMass () const |
| Gets default mass of a particle for fitting tracks. | |
| int | GetMaxDoubletsPerSinglet () const |
| Gets maximal number of doublets per singlet allowed in triplet finding. | |
| int | GetMaxTripletsPerDoublet () const |
| Gets maximal number of triplets per doublet allowed in triplet finding. | |
| const MisalignmentTolerance & | GetMisalignmentTolerance (EDetectorID detId) const |
| Gets misalignment tolerance. | |
| bool | SuppressGhost () const |
| Enables ghost track suppression. | |
| std::string | ToString (int indentLevel=0) const |
| String representation of the class. | |
Private Member Functions | |
| template<class Archive> | |
| void | serialize (Archive &ar, const unsigned int) |
| Serialization method. | |
Private Attributes | |
| DynArray_t< Iteration > | fvCaIterations |
| Vector of CA iteration properties. | |
| Control | fControl |
| Control flags. | |
| Dev | fDev |
| Development flags. | |
| MisalignmentTolArray_t | fvMisalignment = {} |
| Misalignment tolerances vs. detID. | |
Friends | |
| class | boost::serialization::access |
Configuration of the CA tracking (excluding geometry)
The configuration contains: 1) tracking iteration properties 3) control flags 3) development flags
Definition at line 36 of file CaConfig.h.
| using cbm::algo::ca::Config::DynArray_t = std::vector<T> |
A type of container for a dynamic array.
Definition at line 39 of file CaConfig.h.
| using cbm::algo::ca::Config::MisalignmentTolArray_t = std::array<MisalignmentTolerance, constants::size::MaxNdetectors> |
Definition at line 41 of file CaConfig.h.
|
default |
| Config::Config | ( | Config::DynArray_t< Iteration > && | iterations, |
| Config::Control && | controlFlags, | ||
| Config::Dev && | devFlags, | ||
| Config::MisalignmentTolArray_t && | misalignment ) |
Constructor.
| iterations | An iterations vector |
| controlFlags | A structure with control flags |
| devFlags | A structure with development flags |
| misalignment | An array with misalignment tolerances |
Definition at line 21 of file CaConfig.cxx.
References fControl, fDev, fvCaIterations, and fvMisalignment.
|
inline |
Dev. flag: if to extend tracks using MC infromation.
Definition at line 129 of file CaConfig.h.
References fDev.
|
inline |
Dev. flag: if to forse using the original magnetic field.
Definition at line 132 of file CaConfig.h.
References fDev.
|
inline |
Dev. flag: if to ignore hit search areas.
Definition at line 135 of file CaConfig.h.
References fDev.
|
inline |
Dev. flag: if to match doublets with MC information.
Definition at line 138 of file CaConfig.h.
References fDev.
|
inline |
Dev. flag: if to match triplets with MC information.
Definition at line 141 of file CaConfig.h.
References fDev.
|
inline |
Dev. flag: if to suppress hits in sensor overlaps using MC information.
Definition at line 144 of file CaConfig.h.
References fDev.
|
inline |
Dev. flag: use pre-estimated parameterized search windows.
Definition at line 147 of file CaConfig.h.
References fDev.
|
inline |
Gets default mass of a particle for fitting tracks.
Definition at line 160 of file CaConfig.h.
References fControl.
|
inline |
Gets an iteraion.
| iIteration | Iteration index |
Definition at line 154 of file CaConfig.h.
References fvCaIterations.
Referenced by cbm::algo::ca::SearchWindowMapContainerFactory::Create().
|
inline |
Constant accessor to iterations array.
Definition at line 157 of file CaConfig.h.
References fvCaIterations.
|
inline |
Gets maximal number of doublets per singlet allowed in triplet finding.
Definition at line 163 of file CaConfig.h.
References fControl.
|
inline |
Gets maximal number of triplets per doublet allowed in triplet finding.
Definition at line 166 of file CaConfig.h.
References fControl.
|
inline |
Gets misalignment tolerance.
| detId | Tracking detector ID |
Definition at line 170 of file CaConfig.h.
References fvMisalignment.
|
inline |
Gets number of CA iterations.
Definition at line 150 of file CaConfig.h.
References fvCaIterations.
Referenced by cbm::algo::ca::SearchWindowMapContainerFactory::Create().
|
inlineprivate |
Serialization method.
Definition at line 191 of file CaConfig.h.
References fControl, fDev, fvCaIterations, and fvMisalignment.
|
inline |
| std::string Config::ToString | ( | int | indentLevel = 0 | ) | const |
String representation of the class.
| indentLevel | The indent level to the left board of the log |
Definition at line 33 of file CaConfig.cxx.
References fControl, fDev, fvCaIterations, fvMisalignment, cbm::algo::ca::constants::size::MaxNdetectors, and cbm::algo::ca::Iteration::ToTableFromVector().
|
friend |
Definition at line 188 of file CaConfig.h.
References boost::serialization::access.
Referenced by boost::serialization::access.
|
private |
Control flags.
Definition at line 184 of file CaConfig.h.
Referenced by Config(), GetDefaultMass(), GetMaxDoubletsPerSinglet(), GetMaxTripletsPerDoublet(), serialize(), SuppressGhost(), and ToString().
|
private |
Development flags.
Definition at line 185 of file CaConfig.h.
Referenced by Config(), DevExtendTracksViaMc(), DevForceUseOriginalField(), DevIgnoreHitSearchAreas(), DevMatchDoubletsViaMc(), DevMatchTripletsViaMc(), DevSuppressOverlapHitsViaMc(), DevUseParSearchWindows(), serialize(), and ToString().
|
private |
Vector of CA iteration properties.
Definition at line 183 of file CaConfig.h.
Referenced by Config(), GetIteration(), GetIterations(), GetNofIterations(), serialize(), and ToString().
|
private |
Misalignment tolerances vs. detID.
Definition at line 186 of file CaConfig.h.
Referenced by Config(), GetMisalignmentTolerance(), serialize(), and ToString().