 |
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 GPUO2Interface.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 1000
38#define GPUCA_MIN_TRACK_PTB5_DEFAULT 0.010f
39#define GPUCA_MIN_TRACK_PTB5_REJECT_DEFAULT 0.050f
41#define GPUCA_MAX_SIN_PHI_LOW 0.99f
42#define GPUCA_MAX_SIN_PHI 0.999f
44#define GPUCA_MIN_BIN_SIZE 2.f
45#define GPUCA_MAX_BIN_SIZE 1000.f
47#define GPUCA_TPC_COMP_CHUNK_SIZE 1024
49#define TPC_MAX_TIME_BIN_TRIGGERED 600
51#if defined(GPUCA_NSECTORS) || defined(GPUCA_ROW_COUNT)
52 #error GPUCA_NSECTORS or GPUCA_ROW_COUNT already defined, do not include GPUTPCGeometry.h before!
54#if defined(GPUCA_TPC_GEOMETRY_O2) && !(defined(ROOT_VERSION_CODE) && ROOT_VERSION_CODE < 393216)
57 #define GPUCA_NSECTORS o2::tpc::constants::MAXSECTOR
58 #define GPUCA_ROW_COUNT o2::tpc::constants::MAXGLOBALPADROW
61 #define GPUCA_NSECTORS 36
62 #ifdef GPUCA_TPC_GEOMETRY_O2
63 #define GPUCA_ROW_COUNT 152
65 #define GPUCA_ROW_COUNT 159