1 #ifndef RecoParticleFlow_PFRecHitProducer_interface_alpaka_CalorimeterDefinitions_h 2 #define RecoParticleFlow_PFRecHitProducer_interface_alpaka_CalorimeterDefinitions_h 107 printf(
"invalid detId: %u\n",
detId);
152 const unsigned short kxf[] = {
153 41, 51, 41, 51, 41, 51, 36, 51, 36, 51, 26, 51, 26, 51, 26, 51, 21, 51, 21, 51, 21, 51, 21, 51, 21,
154 51, 16, 51, 16, 51, 14, 51, 14, 51, 14, 51, 14, 51, 14, 51, 9, 51, 9, 51, 9, 51, 9, 51, 9, 51,
155 6, 51, 6, 51, 6, 51, 6, 51, 6, 51, 6, 51, 6, 51, 6, 51, 6, 51, 6, 51, 4, 51, 4, 51, 4,
156 51, 4, 51, 4, 56, 1, 58, 1, 59, 1, 60, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62,
157 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 61, 1, 61, 1, 60, 1, 59, 1, 58, 4, 56, 4, 51, 4,
158 51, 4, 51, 4, 51, 6, 51, 6, 51, 6, 51, 6, 51, 6, 51, 6, 51, 6, 51, 6, 51, 6, 51, 6, 51,
159 9, 51, 9, 51, 9, 51, 9, 51, 9, 51, 14, 51, 14, 51, 14, 51, 14, 51, 14, 51, 16, 51, 16, 51, 21,
160 51, 21, 51, 21, 51, 21, 51, 21, 51, 26, 51, 26, 51, 26, 51, 36, 51, 36, 51, 41, 51, 41, 51, 41, 51};
162 const unsigned short kdi[] = {
163 0, 10, 20, 30, 40, 50, 60, 75, 90, 105, 120, 145, 170, 195, 220, 245, 270,
164 300, 330, 360, 390, 420, 450, 480, 510, 540, 570, 605, 640, 675, 710, 747, 784, 821,
165 858, 895, 932, 969, 1006, 1043, 1080, 1122, 1164, 1206, 1248, 1290, 1332, 1374, 1416, 1458, 1500,
166 1545, 1590, 1635, 1680, 1725, 1770, 1815, 1860, 1905, 1950, 1995, 2040, 2085, 2130, 2175, 2220, 2265,
167 2310, 2355, 2400, 2447, 2494, 2541, 2588, 2635, 2682, 2729, 2776, 2818, 2860, 2903, 2946, 2988, 3030,
168 3071, 3112, 3152, 3192, 3232, 3272, 3311, 3350, 3389, 3428, 3467, 3506, 3545, 3584, 3623, 3662, 3701,
169 3740, 3779, 3818, 3857, 3896, 3935, 3974, 4013, 4052, 4092, 4132, 4172, 4212, 4253, 4294, 4336, 4378,
170 4421, 4464, 4506, 4548, 4595, 4642, 4689, 4736, 4783, 4830, 4877, 4924, 4969, 5014, 5059, 5104, 5149,
171 5194, 5239, 5284, 5329, 5374, 5419, 5464, 5509, 5554, 5599, 5644, 5689, 5734, 5779, 5824, 5866, 5908,
172 5950, 5992, 6034, 6076, 6118, 6160, 6202, 6244, 6281, 6318, 6355, 6392, 6429, 6466, 6503, 6540, 6577,
173 6614, 6649, 6684, 6719, 6754, 6784, 6814, 6844, 6874, 6904, 6934, 6964, 6994, 7024, 7054, 7079, 7104,
174 7129, 7154, 7179, 7204, 7219, 7234, 7249, 7264, 7274, 7284, 7294, 7304, 7314};
177 const uint32_t jd = 2 * (
iy(
detId) - 1) + (jx - 1) / 50;
191 printf(
"invalid detId: %u\n",
detId);
211 #endif // RecoParticleFlow_PFRecHitProducer_interface_alpaka_CalorimeterDefinitions_h
constexpr uint32_t getSubdet(uint32_t detId)
static constexpr uint32_t kMaxIPhi
static constexpr int iphi(uint32_t detId)
static constexpr uint32_t kMaxDepthHE
static constexpr uint32_t kSize
static constexpr uint32_t kSizeEndcap
PortableHostCollection< CaloRecHitSoA > CaloRecHitHostCollection
PortableCollection<::reco::PFRecHitECALTopologySoA > PFRecHitECALTopologyDeviceCollection
static constexpr int kSubdetectorEndcapId
static constexpr bool detIdInRange(uint32_t detId)
constexpr int zside() const
get the z-side of the cell (1/-1)
constexpr int ietaAbs() const
get the absolute value of the cell ieta
static constexpr DetId::Detector kDetectorId
static constexpr int kSubdetectorBarrelId
static constexpr uint32_t detId2denseIdHB(uint32_t detId)
PortableHostCollection< PFRecHitHCALTopologySoA > PFRecHitHCALTopologyHostCollection
static constexpr uint32_t detId2denseIdHE(uint32_t detId)
static constexpr uint32_t kEEhalf
static constexpr int iy(uint32_t detId)
PortableCollection<::reco::PFRecHitECALParamsSoA > PFRecHitECALParamsDeviceCollection
static constexpr bool positiveZ(uint32_t detId)
static constexpr uint32_t detId2denseId(uint32_t detId)
reco::PFRecHitECALParamsDeviceCollection ParameterType
constexpr Detector det() const
get the detector field from this detid
reco::PFRecHitHCALTopologyDeviceCollection TopologyTypeDevice
reco::PFRecHitHCALParamsDeviceCollection ParameterType
static constexpr uint32_t kFirstHBRing
static constexpr bool positiveZ(uint32_t detId)
static constexpr bool checkFlag(uint32_t flagBits, int flag)
static constexpr int getZside(uint32_t detId)
static constexpr uint32_t kSize
static constexpr uint32_t kSize
static constexpr uint32_t getIetaAbs(uint32_t detId)
static constexpr DetId::Detector kDetectorId
static constexpr uint32_t denseIndex(uint32_t detId)
static constexpr uint32_t kMaxDepthHB
static constexpr int getZside(uint32_t detId)
reco::PFRecHitECALTopologyDeviceCollection TopologyTypeDevice
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
static constexpr int kMaxIPhi
static constexpr uint32_t kFirstHERing
reco::CaloRecHitDeviceCollection CaloRecHitSoATypeDevice
PortableCollection<::reco::PFRecHitHCALTopologySoA > PFRecHitHCALTopologyDeviceCollection
static constexpr uint32_t kSizeBarrel
static constexpr int kMaxIEta
static constexpr uint32_t getIphi(uint32_t detId)
static constexpr uint32_t getDepth(uint32_t detId)
ALPAKA_STATIC_ACC_MEM_CONSTANT const unsigned short kdi[]
PortableCollection<::reco::CaloRecHitSoA > CaloRecHitDeviceCollection
static constexpr int ietaAbs(uint32_t detId)
static constexpr int kSubdetectorBarrelId
static constexpr bool detIdInRange(uint32_t detId)
reco::CaloRecHitDeviceCollection CaloRecHitSoATypeDevice
static constexpr int kSubdetectorEndcapId
static constexpr uint32_t denseIndex(uint32_t detId)
PortableCollection<::reco::PFRecHitHCALParamsSoA > PFRecHitHCALParamsDeviceCollection
static constexpr uint32_t kLastHBRing
ALPAKA_STATIC_ACC_MEM_CONSTANT const unsigned short kxf[]
static constexpr uint32_t detId2denseId(uint32_t detId)
constexpr int iphi() const
get the cell iphi
PortableHostCollection< PFRecHitECALTopologySoA > PFRecHitECALTopologyHostCollection
static constexpr int ix(uint32_t detId)
static constexpr int kSize
static constexpr uint32_t kLastHERing
constexpr int depth() const
get the tower depth