Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:11:20

0001 #ifndef ACCEPTANCE_H
0002 #define ACCEPTANCE_H
0003 
0004 #define INCLUDE_VZ_RANGE
0005 #define INCLUDE_ETA_RANGE
0006 #include "bins.h"
0007 
0008 static const int a12[neta * nvz] = {
0009 0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,
0010 0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,
0011 0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,
0012 0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,
0013 0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,
0014 0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,
0015 0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,
0016 0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,
0017 0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,
0018 0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,
0019 0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,
0020 0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,
0021 0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,
0022 0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,
0023 0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,
0024 0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,
0025 0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,
0026 0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,
0027 0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,
0028 0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0
0029 };
0030 
0031 // coarse eta bin
0032 // static const int a12[neta * nvz] = {
0033 //     0,1,1,1,1,1,1,0,0,
0034 //     0,1,1,1,1,1,1,0,0,
0035 //     0,1,1,1,1,1,1,0,0,
0036 //     0,1,1,1,1,1,1,0,0,
0037 //     0,1,1,1,1,1,1,0,0,
0038 //     0,1,1,1,1,1,1,0,0,
0039 //     0,1,1,1,1,1,1,0,0,
0040 //     0,1,1,1,1,1,1,0,0,
0041 //     0,1,1,1,1,1,1,0,0,
0042 //     0,0,1,1,1,1,1,0,0,
0043 //     0,0,1,1,1,1,1,1,0,
0044 //     0,0,1,1,1,1,1,1,0,
0045 //     0,0,1,1,1,1,1,1,0,
0046 //     0,0,1,1,1,1,1,1,0,
0047 //     0,0,1,1,1,1,1,1,0,
0048 //     0,0,1,1,1,1,1,1,0,
0049 //     0,0,1,1,1,1,1,1,0,
0050 //     0,0,1,1,1,1,1,1,0,
0051 //     0,0,1,1,1,1,1,1,0,
0052 //     0,0,1,1,1,1,1,1,0
0053 // };
0054 
0055 
0056 
0057 const int* ext_accep_map() {
0058     return a12;
0059 
0060     __builtin_unreachable();
0061 }
0062 
0063 #endif  /* ACCEPTANCE_H */