CbmRoot
LxCA.cxx File Reference
#include "LxCA.h"
#include "Lx.h"
#include <iostream>
#include <sys/time.h>
#include "base/CbmLitToolFactory.h"
#include "utils/CbmLitConverterFairTrackParam.h"
#include <cmath>
Include dependency graph for LxCA.cxx:

Go to the source code of this file.

Classes

struct  LxTrackCandidate
 

Macros

#define _mm_malloc(X, Y)   malloc((X))
 
#define _mm_free   free
 

Functions

static void CalcTangents (int station_number)
 
void BuildRaysGlobal ()
 
static void Ask ()
 

Variables

scaltype tx_limits [LXSTATIONS]
 
scaltype tx_limits_sq [LXSTATIONS]
 
scaltype ty_limits [LXSTATIONS]
 
scaltype ty_limits_sq [LXSTATIONS]
 
scaltype x_disp_left_limits [LXSTATIONS]
 
scaltype x_disp_left_limits_sq [LXSTATIONS]
 
scaltype y_disp_left_limits [LXSTATIONS]
 
scaltype y_disp_left_limits_sq [LXSTATIONS]
 
scaltype x_disp_right_limits [LXSTATIONS]
 
scaltype x_disp_right_limits_sq [LXSTATIONS]
 
scaltype y_disp_right_limits [LXSTATIONS]
 
scaltype y_disp_right_limits_sq [LXSTATIONS]
 
scaltype x_coords [LXSTATIONS][LXLAYERS][LXMAXPOINTSONSTATION]
 
scaltype tx_vals [LXSTATIONS - 1][LXMAXPOINTSONSTATION]
 
scaltype x_errs [LXSTATIONS][LXLAYERS][LXMAXPOINTSONSTATION]
 
scaltype y_coords [LXSTATIONS][LXLAYERS][LXMAXPOINTSONSTATION]
 
scaltype ty_vals [LXSTATIONS][LXMAXPOINTSONSTATION]
 
scaltype y_errs [LXSTATIONS][LXLAYERS][LXMAXPOINTSONSTATION]
 
scaltype z_coords [LXSTATIONS][LXLAYERS][LXMAXPOINTSONSTATION]
 
LxPointpoint_refs [LXSTATIONS][LXLAYERS][LXMAXPOINTSONSTATION]
 
bool use_points [LXSTATIONS - 1][LXMAXPOINTSONSTATION]
 
int points_counts [LXSTATIONS][LXLAYERS]
 
static scaltype errorXcoeff = 4.0
 
static scaltype errorYcoeff = 4.0
 
static scaltype errorTxBreakCoeff = 4.0
 
static scaltype errorTyBreakCoeff = 4.0
 
static scaltype dispersions01XSmall [] = {0.6, 1.0, 0.8, 0.8, 1.2, 1.2}
 
static scaltype dispersions01XBig [] = {1.9, 1.8, 1.6, 1.6, 1.9, 2.9}
 
static scaltype dispersions01YSmall [] = {0.4, 0.5, 0.7, 0.7, 1.0, 1.0}
 
static scaltype dispersions01YBig [] = {1.2, 1.3, 1.3, 1.3, 1.6, 2.9}
 
static scaltype dispersions02XSmall [] = {0.7, 1.2, 1.2, 1.2, 1.1, 1.4}
 
static scaltype dispersions02XBig [] = {2.0, 1.9, 1.6, 1.7, 1.8, 2.3}
 
static scaltype dispersions02YSmall [] = {0.2, 0.6, 1.0, 0.9, 0.9, 1.4}
 
static scaltype dispersions02YBig [] = {1.5, 1.3, 1.3, 1.4, 1.7, 2.2}
 

Macro Definition Documentation

◆ _mm_free

#define _mm_free   free

Definition at line 320 of file LxCA.cxx.

◆ _mm_malloc

#define _mm_malloc (   X,
 
)    malloc((X))

Definition at line 319 of file LxCA.cxx.

Function Documentation

◆ Ask()

static void Ask ( )
inlinestatic

Definition at line 590 of file LxCA.cxx.

◆ BuildRaysGlobal()

◆ CalcTangents()

static void CalcTangents ( int  station_number)
static

Definition at line 332 of file LxCA.cxx.

References i, points_counts, tx_vals, ty_vals, use_points, x_coords, y_coords, and z_coords.

Referenced by BuildRaysGlobal().

Variable Documentation

◆ dispersions01XBig

scaltype dispersions01XBig[] = {1.9, 1.8, 1.6, 1.6, 1.9, 2.9}
static

Definition at line 938 of file LxCA.cxx.

◆ dispersions01XSmall

scaltype dispersions01XSmall[] = {0.6, 1.0, 0.8, 0.8, 1.2, 1.2}
static

Definition at line 937 of file LxCA.cxx.

◆ dispersions01YBig

scaltype dispersions01YBig[] = {1.2, 1.3, 1.3, 1.3, 1.6, 2.9}
static

Definition at line 940 of file LxCA.cxx.

◆ dispersions01YSmall

scaltype dispersions01YSmall[] = {0.4, 0.5, 0.7, 0.7, 1.0, 1.0}
static

Definition at line 939 of file LxCA.cxx.

◆ dispersions02XBig

scaltype dispersions02XBig[] = {2.0, 1.9, 1.6, 1.7, 1.8, 2.3}
static

Definition at line 943 of file LxCA.cxx.

◆ dispersions02XSmall

scaltype dispersions02XSmall[] = {0.7, 1.2, 1.2, 1.2, 1.1, 1.4}
static

Definition at line 942 of file LxCA.cxx.

◆ dispersions02YBig

scaltype dispersions02YBig[] = {1.5, 1.3, 1.3, 1.4, 1.7, 2.2}
static

Definition at line 945 of file LxCA.cxx.

◆ dispersions02YSmall

scaltype dispersions02YSmall[] = {0.2, 0.6, 1.0, 0.9, 0.9, 1.4}
static

Definition at line 944 of file LxCA.cxx.

◆ errorTxBreakCoeff

scaltype errorTxBreakCoeff = 4.0
static

Definition at line 414 of file LxCA.cxx.

Referenced by LxStation::ConnectNeighbours().

◆ errorTyBreakCoeff

scaltype errorTyBreakCoeff = 4.0
static

Definition at line 415 of file LxCA.cxx.

Referenced by LxStation::ConnectNeighbours().

◆ errorXcoeff

scaltype errorXcoeff = 4.0
static

Definition at line 410 of file LxCA.cxx.

Referenced by LxLayer::PickNearestPoint().

◆ errorYcoeff

scaltype errorYcoeff = 4.0
static

Definition at line 411 of file LxCA.cxx.

Referenced by LxLayer::PickNearestPoint().

◆ point_refs

Definition at line 328 of file LxCA.cxx.

Referenced by BuildRaysGlobal(), and LxSpace::InitGlobalCAArrays().

◆ points_counts

int points_counts[LXSTATIONS][LXLAYERS]

Definition at line 330 of file LxCA.cxx.

Referenced by BuildRaysGlobal(), CalcTangents(), and LxSpace::InitGlobalCAArrays().

◆ tx_limits

scaltype tx_limits[LXSTATIONS]

Definition at line 21 of file LxCA.cxx.

Referenced by BuildRaysGlobal(), and LxFinder::Init().

◆ tx_limits_sq

scaltype tx_limits_sq[LXSTATIONS]

Definition at line 22 of file LxCA.cxx.

Referenced by LxFinder::Init().

◆ tx_vals

◆ ty_limits

scaltype ty_limits[LXSTATIONS]

Definition at line 23 of file LxCA.cxx.

Referenced by BuildRaysGlobal(), and LxFinder::Init().

◆ ty_limits_sq

scaltype ty_limits_sq[LXSTATIONS]

Definition at line 24 of file LxCA.cxx.

Referenced by LxFinder::Init().

◆ ty_vals

◆ use_points

bool use_points[LXSTATIONS - 1][LXMAXPOINTSONSTATION]

Definition at line 329 of file LxCA.cxx.

Referenced by BuildRaysGlobal(), CalcTangents(), and LxSpace::InitGlobalCAArrays().

◆ x_coords

◆ x_disp_left_limits

scaltype x_disp_left_limits[LXSTATIONS]

Definition at line 25 of file LxCA.cxx.

Referenced by LxFinder::Init().

◆ x_disp_left_limits_sq

scaltype x_disp_left_limits_sq[LXSTATIONS]

Definition at line 26 of file LxCA.cxx.

Referenced by LxFinder::Init().

◆ x_disp_right_limits

scaltype x_disp_right_limits[LXSTATIONS]

Definition at line 29 of file LxCA.cxx.

Referenced by LxFinder::Init().

◆ x_disp_right_limits_sq

scaltype x_disp_right_limits_sq[LXSTATIONS]

Definition at line 30 of file LxCA.cxx.

Referenced by LxFinder::Init().

◆ x_errs

◆ y_coords

◆ y_disp_left_limits

scaltype y_disp_left_limits[LXSTATIONS]

Definition at line 27 of file LxCA.cxx.

Referenced by LxFinder::Init().

◆ y_disp_left_limits_sq

scaltype y_disp_left_limits_sq[LXSTATIONS]

Definition at line 28 of file LxCA.cxx.

Referenced by LxFinder::Init().

◆ y_disp_right_limits

scaltype y_disp_right_limits[LXSTATIONS]

Definition at line 31 of file LxCA.cxx.

Referenced by LxFinder::Init().

◆ y_disp_right_limits_sq

scaltype y_disp_right_limits_sq[LXSTATIONS]

Definition at line 32 of file LxCA.cxx.

Referenced by LxFinder::Init().

◆ y_errs

◆ z_coords