CbmRoot
Loading...
Searching...
No Matches
cbm::algo::ca::Parameters< DataT > Class Template Reference

A container for all external parameters of the CA tracking algorithm. More...

#include <CaParameters.h>

Inheritance diagram for cbm::algo::ca::Parameters< DataT >:
[legend]
Collaboration diagram for cbm::algo::ca::Parameters< DataT >:
[legend]

Public Member Functions

 Parameters ()
 Default constructor.
 
 ~Parameters () noexcept=default
 Destructor.
 
 Parameters (const Parameters &other)=default
 Copy constructor.
 
template<typename DataIn >
 Parameters (const Parameters< DataIn > &other)
 Copy constructor with type conversion.
 
Parametersoperator= (const Parameters &other)=default
 Copy assignment operator.
 
 Parameters (Parameters &&other)=default
 Move constructor.
 
Parametersoperator= (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.
 
unsigned int GetMaxDoubletsPerSinglet () const
 Gets upper-bound cut on max number of doublets per one singlet.
 
unsigned int GetMaxTripletPerDoublets () const
 Gets upper-bound cut on max number of triplets per one doublet.
 
int GetNstationsActive () const
 Gets total number of active stations.
 
int GetNstationsActive (EDetectorID detectorID) 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 detectorID) const
 Gets number of stations, provided by setup geometry for given detector ID.
 
const std::array< int, constants::size::MaxNdetectors+1 > & GetFirstGeoId () const
 Provides access to the first index of the station on each particular detector (const)
 
std::pair< EDetectorID, int > GetStationIndexLocal (int geoIndex) const
 Gets local index of station.
 
const StationArray_t< std::pair< EDetectorID, int > > & GetGeoToLocalIdMap () const
 Provides access to local indexes of stations (const)
 
int GetStationIndexGeometry (int localIndex, EDetectorID detectorID) const
 Calculates global index of station among geometry (accounts for inactive stations)
 
const StationArray_t< int > & GetLocalToGeoIdMap () const
 Provides access to global indexes of stations among geometry (const)
 
int GetStationIndexActive (int localIndex, EDetectorID detectorID) const
 Calculates global index of station used by track finder.
 
const StationArray_t< int > & GetGeoToActiveMap () const
 Provides access to global indexes of stations used by track finder (const)
 
const StationArray_t< int > & GetActiveToGeoMap () const
 Provides access to the map of active to geo station indices (const)
 
const IterationsContainer_tGetCAIterations () const
 Provides access to L1CAIteration vector (const)
 
int GetNcaIterations () const
 Provides number of iterations.
 
const StationsContainer_t< DataT > & GetStations () const
 Provides access to L1Stations container (const)
 
const Station< DataT > & GetStation (int iStation) const
 Gets reference to the particular station.
 
const SearchWindowGetSearchWindow (int iStation, int iTrackGr) const
 Gets a search window for a selected station and track group.
 
const std::array< SearchWindow, constants::size::MaxNstations *constants::size::MaxNtrackGroups > & GetSearchWindows () const
 Provides access to the map of search windows vs. active station global index and tracks group (const)
 
DataT GetTargetPositionX () const
 Gets X component of target position.
 
DataT GetTargetPositionY () const
 Gets Y component of target position.
 
DataT GetTargetPositionZ () const
 Gets Z component of target position.
 
const kf::FieldRegion< DataT > & GetVertexFieldRegion () const
 Gets kf::FieldRegion object at primary vertex.
 
const kf::FieldValue< DataT > & GetVertexFieldValue () const
 Gets kf::FieldValue object at primary vertex.
 
int GetRandomSeed () const
 Gets random seed.
 
const auto & GetActiveSetup () const
 Gets active setup.
 
const auto & GetGeometrySetup () const
 Gets active setup.
 
int GetGhostSuppression () const
 Gets ghost suppression flag.
 
float GetDefaultMass () const
 Gets default mass.
 
float GetMisalignmentXsq (EDetectorID detId) const
 Gets misalignment of the detector systems in X, squared rms.
 
float GetMisalignmentYsq (EDetectorID detId) const
 Gets misalignment of the detector systems in Y, squared rms.
 
float GetMisalignmentTsq (EDetectorID detId) const
 Gets miscalibration of the detector systems in Time, squared rms.
 
const std::array< float, constants::size::MaxNdetectorsGetMisalignmentX () const
 Provides access to the misalignment of the detector systems in X.
 
const std::array< float, constants::size::MaxNdetectorsGetMisalignmentY () const
 Provides access to the misalignment of the detector systems in Y.
 
const std::array< float, constants::size::MaxNdetectorsGetMisalignmentT () const
 Provides access to the misalignment of the detector systems in Time.
 
bool IsActive (EDetectorID detId) const
 Checks, if the detector subsystem active.
 
void CheckConsistency () const
 Class invariant checker.
 
bool DevIsIgnoreHitSearchAreas () const
 Are the hit search areas ignored.
 
bool DevIsUseOfOriginalField () const
 Is original field must be used instead of the approximated one.
 
bool DevIsMatchDoubletsViaMc () const
 Flag to match doublets using MC information.
 
bool DevIsMatchTripletsViaMc () const
 Flag to match triplets using Mc information.
 
bool DevIsExtendTracksViaMc () const
 Flag to extend tracks using Mc information.
 
bool DevIsSuppressOverlapHitsViaMc () const
 Flag to match hits in overlaps using Mc information.
 
bool DevIsParSearchWUsed () const
 

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

kf::Setup< DataT > fGeometrySetup {kf::EFieldMode::Intrpl}
 Geometrical KF-setup (including inactive stations)
 
kf::Setup< DataT > fActiveSetup {kf::EFieldMode::Intrpl}
 Active KF-setup (every layer is an active tracking station)
 
unsigned int fMaxDoubletsPerSinglet {150}
 Upper-bound cut on max number of doublets per one singlet.
 
unsigned int fMaxTripletPerDoublets {15}
 Upper-bound cut on max number of triplets per one doublet.
 
IterationsContainer_t fCAIterations
 L1 tracking iterations vector.
 
std::array< DataT, 3 > fTargetPos {Undef<float>, Undef<float>, Undef<float>}
 Target position.
 
kf::FieldValue< DataT > fVertexFieldValue {}
 Field value object at primary vertex (between target and the first station)
 
kf::FieldRegion< DataT > fVertexFieldRegion {}
 Field region object at primary vertex (between target and the first station)
 
StationsContainer_t< DataT > fStations {}
 Array of stations.
 
std::array< int, constants::size::MaxNdetectors+1 > fvFirstGeoId {}
 First index of the station on the particular detector.
 
StationArray_t< int > fvLocalToGeoIdMap {}
 Map of (local, det) to geo indices.
 
StationArray_t< std::pair< EDetectorID, int > > fvGeoToLocalIdMap {}
 Map of geo to (local, det) indices.
 
StationArray_t< int > fvGeoToActiveMap {}
 
StationArray_t< int > fvActiveToGeoMap {}
 Map of active to geo indices.
 
int fNstationsActiveTotal = -1
 total number of active tracking stations
 
std::array< SearchWindow, constants::size::MaxNstations *constants::size::MaxNtrackGroupsfSearchWindows = {}
 Map of search windows vs. active station global index and tracks group.
 
int fGhostSuppression = 0
 flag: if true, ghost tracks are suppressed
 
int fRandomSeed = 1
 random seed
 
float fDefaultMass = constants::phys::MuonMass
 
std::array< float, constants::size::MaxNdetectorsfMisalignmentX {0.}
 misalignment of the detector systems in X
 
std::array< float, constants::size::MaxNdetectorsfMisalignmentY {0.}
 misalignment of the detector systems in Y
 
std::array< float, constants::size::MaxNdetectorsfMisalignmentT {0.}
 miscalibration of the detector systems in Time
 
bool fDevIsIgnoreHitSearchAreas {false}
 Process all hits on the station ignoring hit search area.
 
bool fDevIsUseOfOriginalField {false}
 Force use of original field.
 
bool fDevIsMatchDoubletsViaMc {false}
 Flag to match doublets using MC information.
 
bool fDevIsMatchTripletsViaMc {false}
 Flag to match triplets using Mc information.
 
bool fDevIsExtendTracksViaMc {false}
 Flag to extend tracks using Mc information.
 
bool fDevIsSuppressOverlapHitsViaMc {false}
 Flag to match hits in overlaps using Mc information.
 
bool fDevIsParSearchWUsed = false
 

Friends

class InitManager
 
class boost::serialization::access
 Serialization function.
 

Detailed Description

template<typename DataT>
class cbm::algo::ca::Parameters< DataT >

A container for all external parameters of the CA tracking algorithm.

The class includes geometry parameters and physics cuts. The instance of the Parameters is constructed inside the InitManager class and then moved to the L1Algo instance.

Member Typedef Documentation

◆ DetectorID_t

template<typename DataT >
using cbm::algo::ca::Parameters< DataT >::DetectorID_t = std::underlying_type_t<EDetectorID>
private

Definition at line 58 of file CaParameters.h.

◆ StationArray_t

template<typename DataT >
template<typename T >
using cbm::algo::ca::Parameters< DataT >::StationArray_t = std::array<T, constants::size::MaxNstations>
private

Definition at line 60 of file CaParameters.h.

Constructor & Destructor Documentation

◆ Parameters() [1/4]

template<typename DataT >
Parameters::Parameters ( )

Default constructor.

Definition at line 24 of file CaParameters.cxx.

◆ ~Parameters()

template<typename DataT >
cbm::algo::ca::Parameters< DataT >::~Parameters ( )
defaultnoexcept

Destructor.

◆ Parameters() [2/4]

template<typename DataT >
cbm::algo::ca::Parameters< DataT >::Parameters ( const Parameters< DataT > & other)
default

Copy constructor.

◆ Parameters() [3/4]

template<typename DataT >
template<typename DataIn >
cbm::algo::ca::Parameters< DataT >::Parameters ( const Parameters< DataIn > & other)
inline

◆ Parameters() [4/4]

template<typename DataT >
cbm::algo::ca::Parameters< DataT >::Parameters ( Parameters< DataT > && other)
default

Move constructor.

Member Function Documentation

◆ CheckConsistency()

template<typename DataT >
void Parameters::CheckConsistency ( ) const

Class invariant checker.

Definition at line 32 of file CaParameters.cxx.

References x.

◆ DevIsExtendTracksViaMc()

template<typename DataT >
bool cbm::algo::ca::Parameters< DataT >::DevIsExtendTracksViaMc ( ) const
inline

Flag to extend tracks using Mc information.

Definition at line 311 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fDevIsExtendTracksViaMc.

◆ DevIsIgnoreHitSearchAreas()

template<typename DataT >
bool cbm::algo::ca::Parameters< DataT >::DevIsIgnoreHitSearchAreas ( ) const
inline

Are the hit search areas ignored.

Definition at line 299 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fDevIsIgnoreHitSearchAreas.

◆ DevIsMatchDoubletsViaMc()

template<typename DataT >
bool cbm::algo::ca::Parameters< DataT >::DevIsMatchDoubletsViaMc ( ) const
inline

Flag to match doublets using MC information.

Definition at line 305 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fDevIsMatchDoubletsViaMc.

◆ DevIsMatchTripletsViaMc()

template<typename DataT >
bool cbm::algo::ca::Parameters< DataT >::DevIsMatchTripletsViaMc ( ) const
inline

Flag to match triplets using Mc information.

Definition at line 308 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fDevIsMatchTripletsViaMc.

◆ DevIsParSearchWUsed()

template<typename DataT >
bool cbm::algo::ca::Parameters< DataT >::DevIsParSearchWUsed ( ) const
inline

◆ DevIsSuppressOverlapHitsViaMc()

template<typename DataT >
bool cbm::algo::ca::Parameters< DataT >::DevIsSuppressOverlapHitsViaMc ( ) const
inline

Flag to match hits in overlaps using Mc information.

Definition at line 314 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fDevIsSuppressOverlapHitsViaMc.

◆ DevIsUseOfOriginalField()

template<typename DataT >
bool cbm::algo::ca::Parameters< DataT >::DevIsUseOfOriginalField ( ) const
inline

Is original field must be used instead of the approximated one.

Definition at line 302 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fDevIsUseOfOriginalField.

◆ GetActiveSetup()

template<typename DataT >
const auto & cbm::algo::ca::Parameters< DataT >::GetActiveSetup ( ) const
inline

Gets active setup.

Definition at line 246 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fActiveSetup.

◆ GetActiveToGeoMap()

template<typename DataT >
const StationArray_t< int > & cbm::algo::ca::Parameters< DataT >::GetActiveToGeoMap ( ) const
inline

Provides access to the map of active to geo station indices (const)

Definition at line 190 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fvActiveToGeoMap.

◆ GetCAIterations()

template<typename DataT >
const IterationsContainer_t & cbm::algo::ca::Parameters< DataT >::GetCAIterations ( ) const
inline

Provides access to L1CAIteration vector (const)

Definition at line 193 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fCAIterations.

◆ GetDefaultMass()

template<typename DataT >
float cbm::algo::ca::Parameters< DataT >::GetDefaultMass ( ) const
inline

Gets default mass.

Definition at line 255 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fDefaultMass.

◆ GetFirstGeoId()

template<typename DataT >
const std::array< int, constants::size::MaxNdetectors+1 > & cbm::algo::ca::Parameters< DataT >::GetFirstGeoId ( ) const
inline

Provides access to the first index of the station on each particular detector (const)

Definition at line 150 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fvFirstGeoId.

◆ GetGeometrySetup()

template<typename DataT >
const auto & cbm::algo::ca::Parameters< DataT >::GetGeometrySetup ( ) const
inline

Gets active setup.

Definition at line 249 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fGeometrySetup.

◆ GetGeoToActiveMap()

template<typename DataT >
const StationArray_t< int > & cbm::algo::ca::Parameters< DataT >::GetGeoToActiveMap ( ) const
inline

Provides access to global indexes of stations used by track finder (const)

Definition at line 187 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fvGeoToActiveMap.

◆ GetGeoToLocalIdMap()

template<typename DataT >
const StationArray_t< std::pair< EDetectorID, int > > & cbm::algo::ca::Parameters< DataT >::GetGeoToLocalIdMap ( ) const
inline

Provides access to local indexes of stations (const)

Definition at line 161 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fvGeoToLocalIdMap.

◆ GetGhostSuppression()

template<typename DataT >
int cbm::algo::ca::Parameters< DataT >::GetGhostSuppression ( ) const
inline

Gets ghost suppression flag.

Definition at line 252 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fGhostSuppression.

◆ GetLocalToGeoIdMap()

template<typename DataT >
const StationArray_t< int > & cbm::algo::ca::Parameters< DataT >::GetLocalToGeoIdMap ( ) const
inline

Provides access to global indexes of stations among geometry (const)

Definition at line 175 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fvLocalToGeoIdMap.

◆ GetMaxDoubletsPerSinglet()

template<typename DataT >
unsigned int cbm::algo::ca::Parameters< DataT >::GetMaxDoubletsPerSinglet ( ) const
inline

Gets upper-bound cut on max number of doublets per one singlet.

Definition at line 129 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fMaxDoubletsPerSinglet.

◆ GetMaxTripletPerDoublets()

template<typename DataT >
unsigned int cbm::algo::ca::Parameters< DataT >::GetMaxTripletPerDoublets ( ) const
inline

Gets upper-bound cut on max number of triplets per one doublet.

Definition at line 132 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fMaxTripletPerDoublets.

◆ GetMisalignmentT()

template<typename DataT >
const std::array< float, constants::size::MaxNdetectors > cbm::algo::ca::Parameters< DataT >::GetMisalignmentT ( ) const
inline

Provides access to the misalignment of the detector systems in Time.

Definition at line 285 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fMisalignmentT.

◆ GetMisalignmentTsq()

template<typename DataT >
float cbm::algo::ca::Parameters< DataT >::GetMisalignmentTsq ( EDetectorID detId) const
inline

Gets miscalibration of the detector systems in Time, squared rms.

Definition at line 272 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fMisalignmentT.

◆ GetMisalignmentX()

template<typename DataT >
const std::array< float, constants::size::MaxNdetectors > cbm::algo::ca::Parameters< DataT >::GetMisalignmentX ( ) const
inline

Provides access to the misalignment of the detector systems in X.

Definition at line 279 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fMisalignmentX.

◆ GetMisalignmentXsq()

template<typename DataT >
float cbm::algo::ca::Parameters< DataT >::GetMisalignmentXsq ( EDetectorID detId) const
inline

Gets misalignment of the detector systems in X, squared rms.

Definition at line 258 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fMisalignmentX.

◆ GetMisalignmentY()

template<typename DataT >
const std::array< float, constants::size::MaxNdetectors > cbm::algo::ca::Parameters< DataT >::GetMisalignmentY ( ) const
inline

Provides access to the misalignment of the detector systems in Y.

Definition at line 282 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fMisalignmentY.

◆ GetMisalignmentYsq()

template<typename DataT >
float cbm::algo::ca::Parameters< DataT >::GetMisalignmentYsq ( EDetectorID detId) const
inline

Gets misalignment of the detector systems in Y, squared rms.

Definition at line 265 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fMisalignmentY.

◆ GetNcaIterations()

template<typename DataT >
int cbm::algo::ca::Parameters< DataT >::GetNcaIterations ( ) const
inline

Provides number of iterations.

Definition at line 196 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fCAIterations.

◆ GetNstationsActive() [1/2]

template<typename DataT >
int cbm::algo::ca::Parameters< DataT >::GetNstationsActive ( ) const
inline

◆ GetNstationsActive() [2/2]

template<typename DataT >
int Parameters::GetNstationsActive ( EDetectorID detectorID) const

Gets number of active stations for given detector ID.

Definition at line 264 of file CaParameters.cxx.

◆ GetNstationsGeometry() [1/2]

template<typename DataT >
int cbm::algo::ca::Parameters< DataT >::GetNstationsGeometry ( ) const
inline

Gets total number of stations, provided by setup geometry.

Definition at line 141 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fvFirstGeoId.

Referenced by cbm::algo::ca::Parameters< DataT >::GetStationIndexGeometry().

◆ GetNstationsGeometry() [2/2]

template<typename DataT >
int cbm::algo::ca::Parameters< DataT >::GetNstationsGeometry ( EDetectorID detectorID) const
inline

Gets number of stations, provided by setup geometry for given detector ID.

Definition at line 144 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fvFirstGeoId.

◆ GetRandomSeed()

template<typename DataT >
int cbm::algo::ca::Parameters< DataT >::GetRandomSeed ( ) const
inline

Gets random seed.

If random seed is zero, std::random_device is used to seed the random number generator.

Definition at line 243 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fRandomSeed.

◆ GetSearchWindow()

template<typename DataT >
const SearchWindow & cbm::algo::ca::Parameters< DataT >::GetSearchWindow ( int iStation,
int iTrackGr ) const
inline

Gets a search window for a selected station and track group.

Note
For a particular track finder iteration one can select a track group, which is defined by the minimal momentum of tracks (fast tracks, all tracks), their vertex (primary or secondary tracks), or by particle (electrons, muons, hadrons, etc.)
Parameters
iStationGlobal index of active station
iTrackGrIndex of a track group

Definition at line 211 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fCAIterations, cbm::algo::ca::Parameters< DataT >::fSearchWindows, and cbm::algo::ca::constants::size::MaxNstations.

◆ GetSearchWindows()

template<typename DataT >
const std::array< SearchWindow, constants::size::MaxNstations *constants::size::MaxNtrackGroups > & cbm::algo::ca::Parameters< DataT >::GetSearchWindows ( ) const
inline

Provides access to the map of search windows vs. active station global index and tracks group (const)

Definition at line 220 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fSearchWindows.

◆ GetStation()

template<typename DataT >
const Station< DataT > & cbm::algo::ca::Parameters< DataT >::GetStation ( int iStation) const
inline

Gets reference to the particular station.

Parameters
iStationIndex of station in the active stations container

Definition at line 203 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fStations.

◆ GetStationIndexActive()

template<typename DataT >
int cbm::algo::ca::Parameters< DataT >::GetStationIndexActive ( int localIndex,
EDetectorID detectorID ) const
inline

Calculates global index of station used by track finder.

Parameters
localIndexlocal index of the tracking station (for a particular detector)
detectorIDID of the detector subsystem

Definition at line 180 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fvGeoToActiveMap, and cbm::algo::ca::Parameters< DataT >::GetStationIndexGeometry().

◆ GetStationIndexGeometry()

template<typename DataT >
int cbm::algo::ca::Parameters< DataT >::GetStationIndexGeometry ( int localIndex,
EDetectorID detectorID ) const
inline

Calculates global index of station among geometry (accounts for inactive stations)

Parameters
localIndexlocal index of the tracking station (for a particular detector)
detectorIDID of the detector subsystem

Definition at line 166 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fvFirstGeoId, cbm::algo::ca::Parameters< DataT >::fvLocalToGeoIdMap, and cbm::algo::ca::Parameters< DataT >::GetNstationsGeometry().

Referenced by cbm::algo::ca::Parameters< DataT >::GetStationIndexActive().

◆ GetStationIndexLocal()

template<typename DataT >
std::pair< EDetectorID, int > cbm::algo::ca::Parameters< DataT >::GetStationIndexLocal ( int geoIndex) const
inline

Gets local index of station.

Parameters
geoIndexgeometry index of the tracking station
Returns
A pair (detectorID, local index of the tracking station)

Definition at line 155 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fvGeoToLocalIdMap.

◆ GetStations()

template<typename DataT >
const StationsContainer_t< DataT > & cbm::algo::ca::Parameters< DataT >::GetStations ( ) const
inline

Provides access to L1Stations container (const)

Definition at line 199 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fStations.

◆ GetTargetPositionX()

template<typename DataT >
DataT cbm::algo::ca::Parameters< DataT >::GetTargetPositionX ( ) const
inline

Gets X component of target position.

Definition at line 226 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fTargetPos.

◆ GetTargetPositionY()

template<typename DataT >
DataT cbm::algo::ca::Parameters< DataT >::GetTargetPositionY ( ) const
inline

Gets Y component of target position.

Definition at line 229 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fTargetPos.

◆ GetTargetPositionZ()

template<typename DataT >
DataT cbm::algo::ca::Parameters< DataT >::GetTargetPositionZ ( ) const
inline

Gets Z component of target position.

Definition at line 232 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fTargetPos.

◆ GetVertexFieldRegion()

template<typename DataT >
const kf::FieldRegion< DataT > & cbm::algo::ca::Parameters< DataT >::GetVertexFieldRegion ( ) const
inline

Gets kf::FieldRegion object at primary vertex.

Definition at line 235 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fVertexFieldRegion.

◆ GetVertexFieldValue()

template<typename DataT >
const kf::FieldValue< DataT > & cbm::algo::ca::Parameters< DataT >::GetVertexFieldValue ( ) const
inline

Gets kf::FieldValue object at primary vertex.

Definition at line 238 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fVertexFieldValue.

◆ IsActive()

template<typename DataT >
bool cbm::algo::ca::Parameters< DataT >::IsActive ( EDetectorID detId) const
inline

Checks, if the detector subsystem active.

Parameters
detIdDetector ID

Definition at line 289 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::GetNstationsActive().

◆ operator=() [1/2]

template<typename DataT >
Parameters & cbm::algo::ca::Parameters< DataT >::operator= ( const Parameters< DataT > & other)
default

Copy assignment operator.

◆ operator=() [2/2]

template<typename DataT >
Parameters & cbm::algo::ca::Parameters< DataT >::operator= ( Parameters< DataT > && other)
default

Move assignment operator.

◆ Print()

template<typename DataT >
void Parameters::Print ( int verbosityLevel = 0) const

Prints configuration.

Definition at line 279 of file CaParameters.cxx.

References ToString().

◆ serialize()

template<typename DataT >
template<class Archive >
void cbm::algo::ca::Parameters< DataT >::serialize ( Archive & ar,
const unsigned int  )
inlineprivate

Definition at line 415 of file CaParameters.h.

References cbm::algo::ca::Parameters< DataT >::fCAIterations, cbm::algo::ca::Parameters< DataT >::fDefaultMass, cbm::algo::ca::Parameters< DataT >::fDevIsExtendTracksViaMc, cbm::algo::ca::Parameters< DataT >::fDevIsIgnoreHitSearchAreas, cbm::algo::ca::Parameters< DataT >::fDevIsMatchDoubletsViaMc, cbm::algo::ca::Parameters< DataT >::fDevIsMatchTripletsViaMc, cbm::algo::ca::Parameters< DataT >::fDevIsSuppressOverlapHitsViaMc, cbm::algo::ca::Parameters< DataT >::fDevIsUseOfOriginalField, cbm::algo::ca::Parameters< DataT >::fGhostSuppression, cbm::algo::ca::Parameters< DataT >::fMaxDoubletsPerSinglet, cbm::algo::ca::Parameters< DataT >::fMaxTripletPerDoublets, cbm::algo::ca::Parameters< DataT >::fMisalignmentT, cbm::algo::ca::Parameters< DataT >::fMisalignmentX, cbm::algo::ca::Parameters< DataT >::fMisalignmentY, cbm::algo::ca::Parameters< DataT >::fNstationsActiveTotal, cbm::algo::ca::Parameters< DataT >::fRandomSeed, cbm::algo::ca::Parameters< DataT >::fSearchWindows, cbm::algo::ca::Parameters< DataT >::fStations, cbm::algo::ca::Parameters< DataT >::fTargetPos, cbm::algo::ca::Parameters< DataT >::fvActiveToGeoMap, cbm::algo::ca::Parameters< DataT >::fVertexFieldRegion, cbm::algo::ca::Parameters< DataT >::fVertexFieldValue, cbm::algo::ca::Parameters< DataT >::fvFirstGeoId, cbm::algo::ca::Parameters< DataT >::fvGeoToActiveMap, cbm::algo::ca::Parameters< DataT >::fvGeoToLocalIdMap, and cbm::algo::ca::Parameters< DataT >::fvLocalToGeoIdMap.

◆ ToString()

template<typename DataT >
std::string Parameters::ToString ( int verbosity = 0,
int indentLevel = 0 ) const

String representation of the class contents.

Parameters
verbosityA verbose level for output
indentLevelIndent level of the string output

Sets red/green color dependently from flag

Definition at line 287 of file CaParameters.cxx.

Friends And Related Symbol Documentation

◆ boost::serialization::access

template<typename DataT >
friend class boost::serialization::access
friend

Serialization function.

Definition at line 413 of file CaParameters.h.

◆ InitManager

template<typename DataT >
friend class InitManager
friend
Note
The init manager is responsible for the formation of the Parameters block

Definition at line 56 of file CaParameters.h.

Member Data Documentation

◆ fActiveSetup

template<typename DataT >
kf::Setup<DataT> cbm::algo::ca::Parameters< DataT >::fActiveSetup {kf::EFieldMode::Intrpl}
private

Active KF-setup (every layer is an active tracking station)

Definition at line 323 of file CaParameters.h.

Referenced by cbm::algo::ca::Parameters< DataT >::GetActiveSetup().

◆ fCAIterations

template<typename DataT >
IterationsContainer_t cbm::algo::ca::Parameters< DataT >::fCAIterations
private

◆ fDefaultMass

template<typename DataT >
float cbm::algo::ca::Parameters< DataT >::fDefaultMass = constants::phys::MuonMass
private

◆ fDevIsExtendTracksViaMc

template<typename DataT >
bool cbm::algo::ca::Parameters< DataT >::fDevIsExtendTracksViaMc {false}
private

Flag to extend tracks using Mc information.

Definition at line 406 of file CaParameters.h.

Referenced by cbm::algo::ca::Parameters< DataT >::DevIsExtendTracksViaMc(), and cbm::algo::ca::Parameters< DataT >::serialize().

◆ fDevIsIgnoreHitSearchAreas

template<typename DataT >
bool cbm::algo::ca::Parameters< DataT >::fDevIsIgnoreHitSearchAreas {false}
private

Process all hits on the station ignoring hit search area.

Definition at line 402 of file CaParameters.h.

Referenced by cbm::algo::ca::Parameters< DataT >::DevIsIgnoreHitSearchAreas(), and cbm::algo::ca::Parameters< DataT >::serialize().

◆ fDevIsMatchDoubletsViaMc

template<typename DataT >
bool cbm::algo::ca::Parameters< DataT >::fDevIsMatchDoubletsViaMc {false}
private

Flag to match doublets using MC information.

Definition at line 404 of file CaParameters.h.

Referenced by cbm::algo::ca::Parameters< DataT >::DevIsMatchDoubletsViaMc(), and cbm::algo::ca::Parameters< DataT >::serialize().

◆ fDevIsMatchTripletsViaMc

template<typename DataT >
bool cbm::algo::ca::Parameters< DataT >::fDevIsMatchTripletsViaMc {false}
private

Flag to match triplets using Mc information.

Definition at line 405 of file CaParameters.h.

Referenced by cbm::algo::ca::Parameters< DataT >::DevIsMatchTripletsViaMc(), and cbm::algo::ca::Parameters< DataT >::serialize().

◆ fDevIsParSearchWUsed

template<typename DataT >
bool cbm::algo::ca::Parameters< DataT >::fDevIsParSearchWUsed = false
private

Flag: when true, the parametrized search windows are used in track finder; when false, the Kalman filter is used instead

Definition at line 409 of file CaParameters.h.

Referenced by cbm::algo::ca::Parameters< DataT >::DevIsParSearchWUsed().

◆ fDevIsSuppressOverlapHitsViaMc

template<typename DataT >
bool cbm::algo::ca::Parameters< DataT >::fDevIsSuppressOverlapHitsViaMc {false}
private

Flag to match hits in overlaps using Mc information.

Definition at line 407 of file CaParameters.h.

Referenced by cbm::algo::ca::Parameters< DataT >::DevIsSuppressOverlapHitsViaMc(), and cbm::algo::ca::Parameters< DataT >::serialize().

◆ fDevIsUseOfOriginalField

template<typename DataT >
bool cbm::algo::ca::Parameters< DataT >::fDevIsUseOfOriginalField {false}
private

◆ fGeometrySetup

template<typename DataT >
kf::Setup<DataT> cbm::algo::ca::Parameters< DataT >::fGeometrySetup {kf::EFieldMode::Intrpl}
private

Geometrical KF-setup (including inactive stations)

Definition at line 320 of file CaParameters.h.

Referenced by cbm::algo::ca::Parameters< DataT >::GetGeometrySetup().

◆ fGhostSuppression

template<typename DataT >
int cbm::algo::ca::Parameters< DataT >::fGhostSuppression = 0
private

flag: if true, ghost tracks are suppressed

Definition at line 385 of file CaParameters.h.

Referenced by cbm::algo::ca::Parameters< DataT >::GetGhostSuppression(), and cbm::algo::ca::Parameters< DataT >::serialize().

◆ fMaxDoubletsPerSinglet

template<typename DataT >
unsigned int cbm::algo::ca::Parameters< DataT >::fMaxDoubletsPerSinglet {150}
private

Upper-bound cut on max number of doublets per one singlet.

Definition at line 325 of file CaParameters.h.

Referenced by cbm::algo::ca::Parameters< DataT >::GetMaxDoubletsPerSinglet(), and cbm::algo::ca::Parameters< DataT >::serialize().

◆ fMaxTripletPerDoublets

template<typename DataT >
unsigned int cbm::algo::ca::Parameters< DataT >::fMaxTripletPerDoublets {15}
private

Upper-bound cut on max number of triplets per one doublet.

Definition at line 326 of file CaParameters.h.

Referenced by cbm::algo::ca::Parameters< DataT >::GetMaxTripletPerDoublets(), and cbm::algo::ca::Parameters< DataT >::serialize().

◆ fMisalignmentT

template<typename DataT >
std::array<float, constants::size::MaxNdetectors> cbm::algo::ca::Parameters< DataT >::fMisalignmentT {0.}
private

◆ fMisalignmentX

template<typename DataT >
std::array<float, constants::size::MaxNdetectors> cbm::algo::ca::Parameters< DataT >::fMisalignmentX {0.}
private

◆ fMisalignmentY

template<typename DataT >
std::array<float, constants::size::MaxNdetectors> cbm::algo::ca::Parameters< DataT >::fMisalignmentY {0.}
private

◆ fNstationsActiveTotal

template<typename DataT >
int cbm::algo::ca::Parameters< DataT >::fNstationsActiveTotal = -1
private

total number of active tracking stations

Definition at line 375 of file CaParameters.h.

Referenced by cbm::algo::ca::Parameters< DataT >::GetNstationsActive(), and cbm::algo::ca::Parameters< DataT >::serialize().

◆ fRandomSeed

template<typename DataT >
int cbm::algo::ca::Parameters< DataT >::fRandomSeed = 1
private

◆ fSearchWindows

template<typename DataT >
std::array<SearchWindow, constants::size::MaxNstations* constants::size::MaxNtrackGroups> cbm::algo::ca::Parameters< DataT >::fSearchWindows = {}
private

Map of search windows vs. active station global index and tracks group.

The tracks group can be defined by minimum momentum (fast/all tracks), origin (primary/secondary) and particle type (electron, muon, all). Other options also can be added

Definition at line 383 of file CaParameters.h.

Referenced by cbm::algo::ca::Parameters< DataT >::GetSearchWindow(), cbm::algo::ca::Parameters< DataT >::GetSearchWindows(), and cbm::algo::ca::Parameters< DataT >::serialize().

◆ fStations

◆ fTargetPos

◆ fvActiveToGeoMap

template<typename DataT >
StationArray_t<int> cbm::algo::ca::Parameters< DataT >::fvActiveToGeoMap {}
private

Map of active to geo indices.

Definition at line 372 of file CaParameters.h.

Referenced by cbm::algo::ca::Parameters< DataT >::GetActiveToGeoMap(), and cbm::algo::ca::Parameters< DataT >::serialize().

◆ fVertexFieldRegion

template<typename DataT >
kf::FieldRegion<DataT> cbm::algo::ca::Parameters< DataT >::fVertexFieldRegion {}
private

Field region object at primary vertex (between target and the first station)

Definition at line 341 of file CaParameters.h.

Referenced by cbm::algo::ca::Parameters< DataT >::GetVertexFieldRegion(), and cbm::algo::ca::Parameters< DataT >::serialize().

◆ fVertexFieldValue

template<typename DataT >
kf::FieldValue<DataT> cbm::algo::ca::Parameters< DataT >::fVertexFieldValue {}
private

Field value object at primary vertex (between target and the first station)

Definition at line 338 of file CaParameters.h.

Referenced by cbm::algo::ca::Parameters< DataT >::GetVertexFieldValue(), and cbm::algo::ca::Parameters< DataT >::serialize().

◆ fvFirstGeoId

template<typename DataT >
std::array<int, constants::size::MaxNdetectors + 1> cbm::algo::ca::Parameters< DataT >::fvFirstGeoId {}
private

First index of the station on the particular detector.

The last element of the array corresponds to the total number of geometry stations

Definition at line 350 of file CaParameters.h.

Referenced by cbm::algo::ca::Parameters< DataT >::GetFirstGeoId(), cbm::algo::ca::Parameters< DataT >::GetNstationsGeometry(), cbm::algo::ca::Parameters< DataT >::GetNstationsGeometry(), cbm::algo::ca::Parameters< DataT >::GetStationIndexGeometry(), and cbm::algo::ca::Parameters< DataT >::serialize().

◆ fvGeoToActiveMap

◆ fvGeoToLocalIdMap

template<typename DataT >
StationArray_t<std::pair<EDetectorID, int> > cbm::algo::ca::Parameters< DataT >::fvGeoToLocalIdMap {}
private

◆ fvLocalToGeoIdMap

template<typename DataT >
StationArray_t<int> cbm::algo::ca::Parameters< DataT >::fvLocalToGeoIdMap {}
private

Map of (local, det) to geo indices.

Usage: iStGeo = fvLocaToGeoIdMap[fvFirstGeoId[iDet] + iStLocal]; geo index.

Definition at line 357 of file CaParameters.h.

Referenced by cbm::algo::ca::Parameters< DataT >::GetLocalToGeoIdMap(), cbm::algo::ca::Parameters< DataT >::GetStationIndexGeometry(), and cbm::algo::ca::Parameters< DataT >::serialize().


The documentation for this class was generated from the following files: