CMS 3D CMS Logo

KernelHelpers.h
Go to the documentation of this file.
1 #ifndef RecoLocalCalo_EcalRecProducers_plugins_KernelHelpers_h
2 #define RecoLocalCalo_EcalRecProducers_plugins_KernelHelpers_h
3 
5 
6 #include <cmath>
7 #include <limits>
8 #include <type_traits>
9 
10 #include <Eigen/Dense>
11 
12 namespace ecal {
13  namespace reconstruction {
14 
15  __device__ uint32_t hashedIndexEB(uint32_t id);
16 
17  __device__ uint32_t hashedIndexEE(uint32_t id);
18 
19  __device__ int laser_monitoring_region_EB(uint32_t id);
20 
21  __device__ int laser_monitoring_region_EE(uint32_t id);
22 
23  } // namespace reconstruction
24 } // namespace ecal
25 
26 #endif // RecoLocalCalo_EcalRecProducers_plugins_KernelHelpers_h
__device__ uint32_t hashedIndexEE(uint32_t id)
__device__ int laser_monitoring_region_EE(uint32_t id)
__device__ int laser_monitoring_region_EB(uint32_t id)
#define __device__
__device__ uint32_t hashedIndexEB(uint32_t id)