BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnAlignDefines.h File Reference
#include "Math/SMatrix.h"
#include "Math/SVector.h"
#include "RtypesCore.h"
#include "TRandom3.h"
Include dependency graph for BmnAlignDefines.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BMN_MODULE_COUNT   22
#define BMN_CORRECTIONS   {"dX", "dY", "dZ"}
#define BMN_GLOBAL_PARAMS_PD   3
#define BMN_LOCAL_PARAMS_PT   4
#define BMN_MIN_HITS_PER_TRACK   5
#define BMN_MAX_CHI2_PER_NDF   5.0
#define BMN_MIN_HITS_PORTION   0.1
#define BMN_SVD_LOW   10.0
#define BMN_ALMOST_ZERO   1.0E-12
#define BMN_CLOSE_TO_ZERO   1.0E-6
#define BMN_DRAW_TRACKS_CNT   20
#define BMN_MAX_HIT_RAM_SIZE   8589934592
#define BMN_MIN_TRACKS_PER_THREAD   1000
#define BMN_TRACKS_READ_PORTION   100000
#define BMN_THREAD_TRACKS_TICK   40000
#define BMN_MIN_ACTIVE_DETECTORS   1
#define BMN_MIN_REL_PROGRESS   0.001
#define BMN_REL_PROGRESS_GOOD   0.05
#define BMN_MIN_REGULAR_ITERS   3
#define BMN_MAX_REGULAR_RETRY   10
#define BMN_1D_STEP_TOLERANCE   0.01
#define BMN_BRENT_GRID_SIZE   4
#define BMN_LM_ITERATIONS_MIN   3
#define BMN_LM_ITERATIONS_MAX   10
#define BMN_LM_MULT_STEP   10.0
#define BMN_TEST_MODULE_COUNT   16
#define BMN_TEST_AVERAGE_DX   0.0208
#define BMN_TEST_AVERAGE_DY   0.1234
#define BMN_TEST_ALPHA1_SIGMA   1.0
#define BMN_TEST_ALPHA2_MIN   -1.0
#define BMN_TEST_ALPHA2_MAX   1.0
#define BMN_ALIGN_PARAM_TOLERENCE   0.1
#define BMN_RESIDUALS_BINS   201
#define BMN_RESIDUALS_RANGE_X   0.2
#define BMN_RESIDUALS_RANGE_Y   1.0
#define BMN_RESIDUALS_MAX   1000.0

Typedefs

typedef ROOT::Math::SVector< Double_t, 2 > SVect2
typedef ROOT::Math::SVector< Double_t, 3 > SVect3
typedef ROOT::Math::SVector< Double_t, BMN_LOCAL_PARAMS_PT > SVectLC
typedef ROOT::Math::SVector< Double_t, BMN_GLOBAL_PARAMS_PD > SVectGL
typedef ROOT::Math::SVector< Double_t, BMN_GLPARAMS_TOTAL > SVectGLT
typedef ROOT::Math::SMatrix< Double_t, 3, 3 > SMatr3x3
typedef ROOT::Math::SMatrix< Double_t, BMN_LOCAL_PARAMS_PT, BMN_LOCAL_PARAMS_PT > SMatrLC
typedef ROOT::Math::SMatrix< Double_t, BMN_GLOBAL_PARAMS_PD, BMN_GLOBAL_PARAMS_PD > SMatrGL
typedef ROOT::Math::SMatrix< Double_t, BMN_GLPARAMS_TOTAL, BMN_GLPARAMS_TOTAL > SMatrC
typedef ROOT::Math::SMatrix< Double_t, BMN_GLPARAMS_TOTAL, BMN_LOCAL_PARAMS_PT > SMatrG
typedef ROOT::Math::SMatrix< Double_t, BMN_GLOBAL_PARAMS_PD, BMN_LOCAL_PARAMS_PT > SMatrGP

Enumerations

enum  CoordIdx { iX = 0 , iY = 1 , iZ = 2 }
enum  LocalParamsIdx { iX0 = 0 , iX1 = 1 , iY0 = 2 , iY1 = 3 }

Variables

static constexpr Int_t BMN_GLPARAMS_TOTAL {BMN_MODULE_COUNT * BMN_GLOBAL_PARAMS_PD}
static TRandom3 BMN_RND {0}

Macro Definition Documentation

◆ BMN_1D_STEP_TOLERANCE

#define BMN_1D_STEP_TOLERANCE   0.01

◆ BMN_ALIGN_PARAM_TOLERENCE

#define BMN_ALIGN_PARAM_TOLERENCE   0.1

Definition at line 61 of file BmnAlignDefines.h.

Referenced by BmnATestDetector::BmnATestDetector().

◆ BMN_ALMOST_ZERO

#define BMN_ALMOST_ZERO   1.0E-12

Definition at line 31 of file BmnAlignDefines.h.

Referenced by BmnAligner< HitType >::CalculateMSEpart().

◆ BMN_BRENT_GRID_SIZE

#define BMN_BRENT_GRID_SIZE   4

◆ BMN_CLOSE_TO_ZERO

◆ BMN_CORRECTIONS

#define BMN_CORRECTIONS   {"dX", "dY", "dZ"}

◆ BMN_DRAW_TRACKS_CNT

#define BMN_DRAW_TRACKS_CNT   20

Definition at line 33 of file BmnAlignDefines.h.

Referenced by BmnAligner< HitType >::Draw(), and BmnAlignerTest::Draw().

◆ BMN_GLOBAL_PARAMS_PD

◆ BMN_LM_ITERATIONS_MAX

#define BMN_LM_ITERATIONS_MAX   10

Definition at line 49 of file BmnAlignDefines.h.

Referenced by BmnAligner< HitType >::IterateAlignment().

◆ BMN_LM_ITERATIONS_MIN

#define BMN_LM_ITERATIONS_MIN   3

Definition at line 48 of file BmnAlignDefines.h.

Referenced by BmnAligner< HitType >::IterateAlignment().

◆ BMN_LM_MULT_STEP

#define BMN_LM_MULT_STEP   10.0

Definition at line 52 of file BmnAlignDefines.h.

Referenced by BmnAligner< HitType >::IterateAlignment().

◆ BMN_LOCAL_PARAMS_PT

#define BMN_LOCAL_PARAMS_PT   4

◆ BMN_MAX_CHI2_PER_NDF

#define BMN_MAX_CHI2_PER_NDF   5.0

◆ BMN_MAX_HIT_RAM_SIZE

#define BMN_MAX_HIT_RAM_SIZE   8589934592

◆ BMN_MAX_REGULAR_RETRY

#define BMN_MAX_REGULAR_RETRY   10

Definition at line 45 of file BmnAlignDefines.h.

Referenced by BmnAligner< HitType >::Align().

◆ BMN_MIN_ACTIVE_DETECTORS

#define BMN_MIN_ACTIVE_DETECTORS   1

Definition at line 41 of file BmnAlignDefines.h.

Referenced by BmnAligner< HitType >::Align().

◆ BMN_MIN_HITS_PER_TRACK

◆ BMN_MIN_HITS_PORTION

#define BMN_MIN_HITS_PORTION   0.1

Definition at line 25 of file BmnAlignDefines.h.

Referenced by BmnAligner< HitType >::Align().

◆ BMN_MIN_REGULAR_ITERS

#define BMN_MIN_REGULAR_ITERS   3

Definition at line 44 of file BmnAlignDefines.h.

Referenced by BmnAligner< HitType >::Align().

◆ BMN_MIN_REL_PROGRESS

#define BMN_MIN_REL_PROGRESS   0.001

Definition at line 42 of file BmnAlignDefines.h.

Referenced by BmnAligner< HitType >::Align().

◆ BMN_MIN_TRACKS_PER_THREAD

#define BMN_MIN_TRACKS_PER_THREAD   1000

Definition at line 36 of file BmnAlignDefines.h.

Referenced by BmnAligner< HitType >::InitIterators().

◆ BMN_MODULE_COUNT

◆ BMN_REL_PROGRESS_GOOD

#define BMN_REL_PROGRESS_GOOD   0.05

◆ BMN_RESIDUALS_BINS

#define BMN_RESIDUALS_BINS   201

◆ BMN_RESIDUALS_MAX

#define BMN_RESIDUALS_MAX   1000.0

Definition at line 66 of file BmnAlignDefines.h.

◆ BMN_RESIDUALS_RANGE_X

#define BMN_RESIDUALS_RANGE_X   0.2

◆ BMN_RESIDUALS_RANGE_Y

#define BMN_RESIDUALS_RANGE_Y   1.0

◆ BMN_SVD_LOW

#define BMN_SVD_LOW   10.0

Definition at line 30 of file BmnAlignDefines.h.

◆ BMN_TEST_ALPHA1_SIGMA

#define BMN_TEST_ALPHA1_SIGMA   1.0

Definition at line 58 of file BmnAlignDefines.h.

Referenced by BmnAlignerTest::PrepareData().

◆ BMN_TEST_ALPHA2_MAX

#define BMN_TEST_ALPHA2_MAX   1.0

Definition at line 60 of file BmnAlignDefines.h.

Referenced by BmnAlignerTest::PrepareData().

◆ BMN_TEST_ALPHA2_MIN

#define BMN_TEST_ALPHA2_MIN   -1.0

Definition at line 59 of file BmnAlignDefines.h.

Referenced by BmnAlignerTest::PrepareData().

◆ BMN_TEST_AVERAGE_DX

#define BMN_TEST_AVERAGE_DX   0.0208

Definition at line 56 of file BmnAlignDefines.h.

Referenced by BmnAlignerTest::PrepareData().

◆ BMN_TEST_AVERAGE_DY

#define BMN_TEST_AVERAGE_DY   0.1234

Definition at line 57 of file BmnAlignDefines.h.

Referenced by BmnAlignerTest::PrepareData().

◆ BMN_TEST_MODULE_COUNT

◆ BMN_THREAD_TRACKS_TICK

#define BMN_THREAD_TRACKS_TICK   40000

Definition at line 38 of file BmnAlignDefines.h.

◆ BMN_TRACKS_READ_PORTION

#define BMN_TRACKS_READ_PORTION   100000

Definition at line 37 of file BmnAlignDefines.h.

Typedef Documentation

◆ SMatr3x3

Definition at line 76 of file BmnAlignDefines.h.

◆ SMatrC

◆ SMatrG

◆ SMatrGL

◆ SMatrGP

◆ SMatrLC

◆ SVect2

Definition at line 70 of file BmnAlignDefines.h.

◆ SVect3

Definition at line 71 of file BmnAlignDefines.h.

◆ SVectGL

◆ SVectGLT

◆ SVectLC

Enumeration Type Documentation

◆ CoordIdx

enum CoordIdx
Enumerator
iX 0 
iY 1 
iZ 2 

Definition at line 83 of file BmnAlignDefines.h.

◆ LocalParamsIdx

Enumerator
iX0 0 
iX1 1 
iY0 2 
iY1 3 

Definition at line 90 of file BmnAlignDefines.h.

Variable Documentation

◆ BMN_GLPARAMS_TOTAL

◆ BMN_RND