 |
Project
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
18#ifndef GPUDEFCONSTANTSANDSETTINGS_H
19#define GPUDEFCONSTANTSANDSETTINGS_H
25#if !defined(GPUCA_STANDALONE) && !defined(GPUCA_O2_LIB) && !defined(GPUCA_O2_INTERFACE)
26 #error You are using the CA GPU tracking without defining the build type (O2/Standalone). If you are running an O2 ROOT macro, please include GPUO2ExternalUser.h first!
29#if (defined(GPUCA_O2_LIB) && defined(GPUCA_STANDALONE))
30 #error Invalid Compile Definitions, need to build for either O2 or Standalone!
33#define GPUCA_TRACKLET_SELECTOR_MIN_HITS_B5(QPTB5) (CAMath::Abs(QPTB5) > 10 ? 10 : (CAMath::Abs(QPTB5) > 5 ? 15 : 29))
35#define GPUCA_MERGER_MAX_TRACK_CLUSTERS 1024
39#define GPUCA_MAX_SIN_PHI_LOW 0.99f
40#define GPUCA_MAX_SIN_PHI 0.999f
42#define GPUCA_MIN_BIN_SIZE 2.f
43#define GPUCA_MAX_BIN_SIZE 1000.f
45#define GPUCA_TPC_COMP_CHUNK_SIZE 1024
47#define TPC_MAX_TIME_BIN_TRIGGERED 600
49#if defined(GPUCA_NSECTORS) || defined(GPUCA_ROW_COUNT)
50 #error GPUCA_NSECTORS or GPUCA_ROW_COUNT already defined, do not include GPUTPCGeometry.h before!
52#if defined(GPUCA_TPC_GEOMETRY_O2) && !(defined(ROOT_VERSION_CODE) && ROOT_VERSION_CODE < 393216)
55 #define GPUCA_NSECTORS o2::tpc::constants::MAXSECTOR
56 #define GPUCA_ROW_COUNT o2::tpc::constants::MAXGLOBALPADROW
59 #define GPUCA_NSECTORS 36
60 #ifdef GPUCA_TPC_GEOMETRY_O2
61 #define GPUCA_ROW_COUNT 152
63 #define GPUCA_ROW_COUNT 159