#include <HeterogeneousHGCalHEFConditions.h>
Classes | |
struct | GPUData |
Public Member Functions | |
hgcal_conditions::HeterogeneousHEFConditionsESProduct const * | getHeterogeneousConditionsESProductAsync (cudaStream_t stream) const |
HeterogeneousHGCalHEFConditionsWrapper (const HGCalParameters *) | |
~HeterogeneousHGCalHEFConditionsWrapper () | |
Private Member Functions | |
size_t | allocate_memory_params_ (const std::vector< size_t > &) |
std::vector< size_t > | calculate_memory_bytes_params_ (const HGCalParameters *) |
double *& | select_pointer_d_ (cpar::HeterogeneousHGCalHEFParameters *, const unsigned int &) const |
std::vector< double > | select_pointer_d_ (const HGCalParameters *, const unsigned int &) const |
int32_t *& | select_pointer_i_ (cpar::HeterogeneousHGCalHEFParameters *, const unsigned int &) const |
std::vector< int32_t > | select_pointer_i_ (const HGCalParameters *, const unsigned int &) const |
void | transfer_data_to_heterogeneous_pointers_params_ (const std::vector< size_t > &, const HGCalParameters *) |
Private Attributes | |
size_t | chunk_params_ |
cms::cuda::ESProduct< GPUData > | gpuData_ |
cpar::HeterogeneousHGCalHEFParameters | params_ |
std::vector< size_t > | sizes_params_ |
Definition at line 19 of file HeterogeneousHGCalHEFConditions.h.
HeterogeneousHGCalHEFConditionsWrapper::HeterogeneousHGCalHEFConditionsWrapper | ( | const HGCalParameters * | cpuHGCalParameters | ) |
Definition at line 3 of file HeterogeneousHGCalHEFConditions.cc.
References allocate_memory_params_(), calculate_memory_bytes_params_(), chunk_params_, sizes_params_, and transfer_data_to_heterogeneous_pointers_params_().
HeterogeneousHGCalHEFConditionsWrapper::~HeterogeneousHGCalHEFConditionsWrapper | ( | ) |
Definition at line 87 of file HeterogeneousHGCalHEFConditions.cc.
References hgcal_conditions::parameters::HeterogeneousHGCalHEFParameters::cellFineX_, cudaCheck, and params_.
|
private |
Definition at line 11 of file HeterogeneousHGCalHEFConditions.cc.
References hgcal_conditions::parameters::HeterogeneousHGCalHEFParameters::cellFineX_, cudaCheck, and params_.
Referenced by HeterogeneousHGCalHEFConditionsWrapper().
|
private |
Definition at line 61 of file HeterogeneousHGCalHEFConditions.cc.
References hgcal_conditions::parameters::Double, mps_fire::i, select_pointer_d_(), select_pointer_i_(), sizes_params_, HcalDetIdTransform::transform(), and hgcal_conditions::parameters::typesHEF.
Referenced by HeterogeneousHGCalHEFConditionsWrapper().
hgcal_conditions::HeterogeneousHEFConditionsESProduct const * HeterogeneousHGCalHEFConditionsWrapper::getHeterogeneousConditionsESProductAsync | ( | cudaStream_t | stream | ) | const |
Definition at line 150 of file HeterogeneousHGCalHEFConditions.cc.
References chunk_params_, cudaCheck, data, hgcal_conditions::parameters::Double, Exception, gpuData_, dqmiolumiharvest::j, select_pointer_d_(), select_pointer_i_(), sizes_params_, cms::cuda::stream, and hgcal_conditions::parameters::typesHEF.
|
private |
Definition at line 93 of file HeterogeneousHGCalHEFConditions.cc.
References hgcal_conditions::parameters::HeterogeneousHGCalHEFParameters::cellCoarseX_, hgcal_conditions::parameters::HeterogeneousHGCalHEFParameters::cellCoarseY_, hgcal_conditions::parameters::HeterogeneousHGCalHEFParameters::cellFineX_, hgcal_conditions::parameters::HeterogeneousHGCalHEFParameters::cellFineY_, and B2GTnPMonitor_cfi::item.
Referenced by calculate_memory_bytes_params_(), getHeterogeneousConditionsESProductAsync(), and transfer_data_to_heterogeneous_pointers_params_().
|
private |
Definition at line 110 of file HeterogeneousHGCalHEFConditions.cc.
References HGCalParameters::cellCoarseX_, HGCalParameters::cellCoarseY_, HGCalParameters::cellFineX_, HGCalParameters::cellFineY_, and B2GTnPMonitor_cfi::item.
|
private |
Definition at line 127 of file HeterogeneousHGCalHEFConditions.cc.
References B2GTnPMonitor_cfi::item, and hgcal_conditions::parameters::HeterogeneousHGCalHEFParameters::waferTypeL_.
Referenced by calculate_memory_bytes_params_(), getHeterogeneousConditionsESProductAsync(), and transfer_data_to_heterogeneous_pointers_params_().
|
private |
Definition at line 138 of file HeterogeneousHGCalHEFConditions.cc.
References B2GTnPMonitor_cfi::item, and HGCalParameters::waferTypeL_.
|
private |
Definition at line 17 of file HeterogeneousHGCalHEFConditions.cc.
References hgcal_conditions::parameters::Double, Exception, mps_fire::i, dqmiolumiharvest::j, params_, select_pointer_d_(), select_pointer_i_(), edm::shift, and hgcal_conditions::parameters::typesHEF.
Referenced by HeterogeneousHGCalHEFConditionsWrapper().
|
private |
Definition at line 38 of file HeterogeneousHGCalHEFConditions.h.
Referenced by getHeterogeneousConditionsESProductAsync(), and HeterogeneousHGCalHEFConditionsWrapper().
|
private |
Definition at line 65 of file HeterogeneousHGCalHEFConditions.h.
Referenced by getHeterogeneousConditionsESProductAsync().
|
private |
Definition at line 35 of file HeterogeneousHGCalHEFConditions.h.
Referenced by allocate_memory_params_(), transfer_data_to_heterogeneous_pointers_params_(), and ~HeterogeneousHGCalHEFConditionsWrapper().
|
private |
Definition at line 37 of file HeterogeneousHGCalHEFConditions.h.
Referenced by calculate_memory_bytes_params_(), getHeterogeneousConditionsESProductAsync(), and HeterogeneousHGCalHEFConditionsWrapper().