Go to the documentation of this file.
93 edm::InputTag(
"ecalUncalibRecHitProducerGPU",
"EcalUncalibRecHitsEB"));
95 edm::InputTag(
"ecalUncalibRecHitProducerGPU",
"EcalUncalibRecHitsEE"));
100 desc.add<
bool>(
"killDeadChannels",
true);
102 desc.add<
double>(
"EBLaserMIN", 0.01);
103 desc.add<
double>(
"EELaserMIN", 0.01);
104 desc.add<
double>(
"EBLaserMAX", 30.0);
105 desc.add<
double>(
"EELaserMAX", 30.0);
107 desc.add<uint32_t>(
"maxNumberHitsEB", 61200);
108 desc.add<uint32_t>(
"maxNumberHitsEE", 14648);
173 auto const& ebUncalibRecHits = ctx.get(ebUncalibRecHitsProduct);
174 auto const& eeUncalibRecHits = ctx.get(eeUncalibRecHitsProduct);
178 neb_ = ebUncalibRecHits.size;
179 nee_ = eeUncalibRecHits.size;
187 <<
"max number of channels exceeded. See options 'maxNumberHitsEB and maxNumberHitsEE' ";
190 int nchannelsEB = ebUncalibRecHits.size;
221 IntercalibConstantsProduct,
222 ChannelStatusProduct,
223 LaserAPDPNRatiosProduct,
224 LaserAPDPNRatiosRefProduct,
226 LinearCorrectionsProduct,
EcalRecHitProducerGPU(edm::ParameterSet const &ps)
bool recoverEEIsolatedChannels
std::vector< uint32_t > expanded_Sizes_v_DB_reco_flags_
edm::ESHandle< EcalIntercalibConstantsGPU > IntercalibConstantsHandle_
edm::ESGetToken< EcalLaserAPDPNRatiosGPU, EcalLaserAPDPNRatiosRcd > tokenLaserAPDPNRatios_
edm::EDPutTokenT< OutputProduct > recHitsTokenEB_
edm::EDGetTokenT< InputProduct > uncalibRecHitsInEBToken_
edm::ESGetToken< EcalLaserAlphasGPU, EcalLaserAlphasRcd > tokenLaserAlphas_
Product const & getProduct(cudaStream_t) const
Product const & getProduct(cudaStream_t) const
ecal::rechit::ConfigurationParameters configParameters_
uint32_t getOffset() const
edm::ESGetToken< EcalRecHitParametersGPU, JobConfigurationGPURecord > tokenRecHitParameters_
edm::EDGetTokenT< InputProduct > uncalibRecHitsInEEToken_
edm::ESGetToken< EcalLinearCorrectionsGPU, EcalLinearCorrectionsRcd > tokenLinearCorrections_
#define DEFINE_FWK_MODULE(type)
const uint32_t * expanded_Sizes_v_DB_reco_flags
uint32_t expanded_v_DB_reco_flagsSize
std::tuple< intvec, intvec, uint32vec, uint32vec > getValues() const
void create_ecal_rehit(EventInputDataGPU const &eventInputGPU, EventOutputDataGPU &eventOutputGPU, ConditionsProducts const &conditions, ConfigurationParameters const &configParameters, uint32_t const nChannelsBarrel, edm::TimeValue_t const event_time, cudaStream_t cudaStream)
edm::EDPutTokenT< OutputProduct > recHitsTokenEE_
ecal::rechit::EventOutputDataGPU eventOutputDataGPU_
bool recoverEBIsolatedChannels
edm::ESGetToken< EcalIntercalibConstantsGPU, EcalIntercalibConstantsRcd > tokenIntercalibConstants_
std::vector< uint32_t > expanded_flagbit_v_DB_reco_flags_
void allocate(ConfigurationParameters const &configParameters, cudaStream_t cudaStream)
edm::ESGetToken< EcalLaserAPDPNRatiosRefGPU, EcalLaserAPDPNRatiosRefRcd > tokenLaserAPDPNRatiosRef_
cms::cuda::ContextState cudaState_
~EcalRecHitProducerGPU() override
Log< level::Error, false > LogError
uint32_t ChannelStatusToBeExcludedSize
void produce(edm::Event &, edm::EventSetup const &) override
std::vector< int > expanded_v_DB_reco_flags_
#define cudaCheck(ARG,...)
static void fillDescriptions(edm::ConfigurationDescriptions &)
const int * expanded_v_DB_reco_flags
edm::ESGetToken< EcalRechitADCToGeVConstantGPU, EcalADCToGeVConstantRcd > tokenADCToGeVConstant_
T getParameter(std::string const &) const
const int * ChannelStatusToBeExcluded
RecHit<::calo::common::DevStoragePolicy > recHitsEB
const uint32_t * expanded_flagbit_v_DB_reco_flags
edm::ESGetToken< EcalRechitChannelStatusGPU, EcalChannelStatusRcd > tokenChannelStatus_
RecHit<::calo::common::DevStoragePolicy > recHitsEE
edm::ESHandle< EcalRecHitParametersGPU > recHitParametersHandle_
unsigned long long TimeValue_t
void acquire(edm::Event const &, edm::EventSetup const &, edm::WaitingTaskWithArenaHolder) override