src
RecoLocalCalo
HGCalRecProducers
plugins
KernelManagerHGCalCellPositions.h
Go to the documentation of this file.
1
#ifndef RecoLocalCalo_HGCalESProducers_KernelManagerHGCalCellPositions_h
2
#define RecoLocalCalo_HGCalESProducers_KernelManagerHGCalCellPositions_h
3
4
#include "
FWCore/Utilities/interface/Exception.h
"
5
#include "
HeterogeneousCore/CUDAUtilities/interface/MessageLogger.h
"
6
#include "
DataFormats/DetId/interface/DetId.h
"
7
#include "
HeterogeneousCore/CUDAUtilities/interface/cudaCompat.h
"
8
#include "
HeterogeneousCore/CUDAUtilities/interface/cudaCheck.h
"
9
#include "RecoLocalCalo/HGCalRecProducers/plugins/HGCalCellPositionsKernelImpl.cuh"
10
#include "
CUDADataFormats/HGCal/interface/HGCConditions.h
"
11
12
#include <vector>
13
#include <algorithm>
//std::swap
14
#include <variant>
15
#include <cuda.h>
16
#include <cuda_runtime.h>
17
18
/*
19
#ifdef __CUDA_ARCH__
20
extern __constant__ uint32_t calo_rechit_masks[];
21
#endif
22
*/
23
24
class
KernelManagerHGCalCellPositions
{
25
public
:
26
KernelManagerHGCalCellPositions
(
const
size_t
&);
27
28
void
fill_positions
(
const
hgcal_conditions::HeterogeneousHEFCellPositionsConditionsESProduct
*);
29
void
test_cell_positions
(
unsigned
,
const
hgcal_conditions::HeterogeneousHEFCellPositionsConditionsESProduct
*);
30
};
31
32
#endif //RecoLocalCalo_HGCalESProducers_KernelManagerHGCalCellPositions_h
MessageLogger.h
KernelManagerHGCalCellPositions::fill_positions
void fill_positions(const hgcal_conditions::HeterogeneousHEFCellPositionsConditionsESProduct *)
KernelManagerHGCalCellPositions
Definition:
KernelManagerHGCalCellPositions.h:24
KernelManagerHGCalCellPositions::test_cell_positions
void test_cell_positions(unsigned, const hgcal_conditions::HeterogeneousHEFCellPositionsConditionsESProduct *)
cudaCompat.h
HGCConditions.h
KernelManagerHGCalCellPositions::KernelManagerHGCalCellPositions
KernelManagerHGCalCellPositions(const size_t &)
Exception.h
cudaCheck.h
hgcal_conditions::HeterogeneousHEFCellPositionsConditionsESProduct
Definition:
HGCConditions.h:196
DetId.h
Generated for CMSSW Reference Manual by
1.8.14