|
CbmRoot
|
A container for all external parameters of the CA tracking algorithm. More...
#include <CaParameters.h>
Public Member Functions | |
| Parameters ()=default | |
| Default constructor. | |
| Parameters (ca::Setup< DataT > &&setup, ca::Config &&config, SearchWindowMapContainer &&searchWindows) | |
| Constructor from arguments. | |
| template<typename DataIn> | |
| Parameters (const Parameters< DataIn > &other) | |
| Copy constructor with type conversion. | |
| Parameters (const Parameters &other)=default | |
| Copy constructor. | |
| Parameters (Parameters &&other)=default | |
| Move constructor. | |
| ~Parameters () noexcept=default | |
| Destructor. | |
| Parameters & | operator= (const Parameters &other)=default |
| Copy assignment operator. | |
| Parameters & | operator= (Parameters &&other)=default |
| Move assignment operator. | |
| void | Print (int verbosityLevel=0) const |
| Prints configuration. | |
| std::string | ToString (int verbosity=0, int indentLevel=0) const |
| String representation of the class contents. | |
| kf::EFieldMode | GetFieldMode () const |
| Gets field mode. | |
| int | GetNstationsActive () const |
| Gets total number of active stations. | |
| int | GetNstationsActive (EDetectorID detId) const |
| Gets number of active stations for given detector ID. | |
| int | GetNstationsGeometry () const |
| Gets total number of stations, provided by setup geometry. | |
| int | GetNstationsGeometry (EDetectorID detId) const |
| Gets number of stations, provided by setup geometry for given detector ID. | |
| std::pair< EDetectorID, int > | GetStationIndexLocal (int geoId) const |
| Provides access to the first index of the station on each particular detector (const) | |
| int | GetStationIndexGeometry (int locId, EDetectorID detId) const |
| Provides access to local indexes of stations (const) | |
| int | GetStationIndexActive (int locId, EDetectorID detId) const |
| Provides access to global indexes of stations among geometry (const) | |
| const auto & | GetCAIterations () const |
| Provides access to L1CAIteration vector (const) | |
| int | GetNcaIterations () const |
| Provides number of iterations. | |
| const auto & | GetActiveSetup () const |
| Gets active setup. | |
| const auto & | GetGeometrySetup () const |
| Gets active setup. | |
| bool | IsActive (EDetectorID detId) const |
| Checks, if the detector subsystem active. | |
| void | CheckConsistency () const |
| Class invariant checker. | |
| const Setup< DataT > & | GetSetup () const |
| Constant accessor to CA setup. | |
| const Config & | GetConfig () const |
| Constant accessor to CA config. | |
| const SearchWindowMapContainer & | GetSearchWindows () const |
| Constant accessor to search window map container. | |
Private Types | |
| using | DetectorID_t = std::underlying_type_t<EDetectorID> |
| template<typename T> | |
| using | StationArray_t = std::array<T, constants::size::MaxNstations> |
Private Member Functions | |
| template<class Archive> | |
| void | serialize (Archive &ar, const unsigned int) |
Private Attributes | |
| Setup< DataT > | fSetup |
| Setup representation. | |
| Config | fConfig |
| Configuration. | |
| SearchWindowMapContainer | fSwMaps |
| Search window map. | |
Friends | |
| class | ParametersIO |
| class | boost::serialization::access |
| Serialization function. | |
A container for all external parameters of the CA tracking algorithm.
Definition at line 52 of file CaParameters.h.
|
private |
Definition at line 55 of file CaParameters.h.
|
private |
Definition at line 57 of file CaParameters.h.
|
default |
Default constructor.
| Parameters::Parameters | ( | ca::Setup< DataT > && | setup, |
| ca::Config && | config, | ||
| ca::SearchWindowMapContainer && | searchWindows ) |
Constructor from arguments.
| setup | initialized CA-setup |
| config | initialized CA config |
| searchWindows | initialized search window container |
Definition at line 31 of file CaParameters.cxx.
|
inline |
Copy constructor with type conversion.
Definition at line 71 of file CaParameters.h.
|
default |
Copy constructor.
|
default |
Move constructor.
|
defaultnoexcept |
Destructor.
| void Parameters::CheckConsistency | ( | ) | const |
Class invariant checker.
Definition at line 43 of file CaParameters.cxx.
|
inline |
Gets active setup.
Definition at line 160 of file CaParameters.h.
|
inline |
Provides access to L1CAIteration vector (const)
Definition at line 154 of file CaParameters.h.
|
inline |
Constant accessor to CA config.
Definition at line 176 of file CaParameters.h.
|
inline |
Gets field mode.
Definition at line 102 of file CaParameters.h.
|
inline |
Gets active setup.
Definition at line 163 of file CaParameters.h.
|
inline |
Provides number of iterations.
Definition at line 157 of file CaParameters.h.
|
inline |
Gets total number of active stations.
Definition at line 105 of file CaParameters.h.
|
inline |
Gets number of active stations for given detector ID.
Definition at line 108 of file CaParameters.h.
|
inline |
Gets total number of stations, provided by setup geometry.
Definition at line 111 of file CaParameters.h.
|
inline |
Gets number of stations, provided by setup geometry for given detector ID.
Definition at line 114 of file CaParameters.h.
|
inline |
Constant accessor to search window map container.
Definition at line 179 of file CaParameters.h.
|
inline |
Constant accessor to CA setup.
Definition at line 173 of file CaParameters.h.
|
inline |
Provides access to global indexes of stations among geometry (const)
Calculates global index of station used by track finder
| locId | local index of the tracking station (for a particular detector) |
| detId | ID of the detector subsystem |
Definition at line 148 of file CaParameters.h.
|
inline |
Provides access to local indexes of stations (const)
Calculates global index of station among geometry (accounts for inactive stations)
| locId | local index of the tracking station (for a particular detector) |
| detId | ID of the detector subsystem |
Definition at line 134 of file CaParameters.h.
|
inline |
Provides access to the first index of the station on each particular detector (const)
Gets local index of station
| geoId | geometry index of the tracking station |
Definition at line 122 of file CaParameters.h.
|
inline |
Checks, if the detector subsystem active.
| detId | Detector ID |
Definition at line 167 of file CaParameters.h.
|
default |
Copy assignment operator.
|
default |
Move assignment operator.
| void Parameters::Print | ( | int | verbosityLevel = 0 | ) | const |
Prints configuration.
Definition at line 271 of file CaParameters.cxx.
|
inlineprivate |
Definition at line 189 of file CaParameters.h.
| std::string Parameters::ToString | ( | int | verbosity = 0, |
| int | indentLevel = 0 ) const |
String representation of the class contents.
| verbosity | A verbose level for output |
| indentLevel | Indent level of the string output |
Sets red/green color dependently from flag
Definition at line 279 of file CaParameters.cxx.
|
friend |
Serialization function.
Definition at line 187 of file CaParameters.h.
|
friend |
Definition at line 53 of file CaParameters.h.
|
private |
Configuration.
Definition at line 183 of file CaParameters.h.
|
private |
Setup representation.
Definition at line 182 of file CaParameters.h.
|
private |
Search window map.
Definition at line 184 of file CaParameters.h.