ATLAS Offline Software
Loading...
Searching...
No Matches
FPGATrackSimConstants.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGFPGATrackSimOBJECTS_CONSTANTS_H
6#define TRIGFPGATrackSimOBJECTS_CONSTANTS_H
7
8
9#include <array>
10#define MTX_TOLERANCE 3e-16
11
12namespace fpgatracksim {
13
14 // Default set of q/pt bins, maybe still referenced by some legacy code?
15 constexpr std::array< double, 5 > QOVERPT_BINS = { -0.001, -0.0005, 0, 0.0005, 0.001};
16
17 // --- This is the current FPGATrackSimCluster to FPGATrackSimHit scaling factor --- //
18 constexpr float scaleHitFactor = 2;
19 constexpr float DEG_TO_RAD = 0.017453292519943295;
20
21
22 constexpr int SPACEPOINT_SECTOR_OFFSET = 1;
23 constexpr int QPT_SECTOR_OFFSET = 10;
24 constexpr int SUBREGION_SECTOR_OFFSET = 1000;
25 constexpr int ETA_SECTOR_OFFSET = 100000;
26
27
28 static constexpr double A = 0.0003; // for Hough Transform
29
30}
31
32#endif // TRIGFPGATrackSimOBJECTS_CONSTANTS_H
constexpr float scaleHitFactor
constexpr int ETA_SECTOR_OFFSET
constexpr int QPT_SECTOR_OFFSET
constexpr std::array< double, 5 > QOVERPT_BINS
constexpr float DEG_TO_RAD
static constexpr double A
constexpr int SPACEPOINT_SECTOR_OFFSET
constexpr int SUBREGION_SECTOR_OFFSET