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);
166 auto const& ebUncalibRecHits = ctx.get(ebUncalibRecHitsProduct);
167 auto const& eeUncalibRecHits = ctx.get(eeUncalibRecHitsProduct);
171 neb_ = ebUncalibRecHits.size;
172 nee_ = eeUncalibRecHits.size;
178 int nchannelsEB = ebUncalibRecHits.size;
209 IntercalibConstantsProduct,
210 ChannelStatusProduct,
211 LaserAPDPNRatiosProduct,
212 LaserAPDPNRatiosRefProduct,
214 LinearCorrectionsProduct,
std::vector< uint32_t > expanded_Sizes_v_DB_reco_flags_
bool recoverEEIsolatedChannels
T getParameter(std::string const &) const
Product const & getProduct(cudaStream_t) const
const int * ChannelStatusToBeExcluded
edm::EDGetTokenT< InputProduct > uncalibRecHitsInEBToken_
edm::ESHandle< EcalRecHitParametersGPU > recHitParametersHandle_
RecHit<::calo::common::DevStoragePolicy > recHitsEB
ecal::rechit::EventOutputDataGPU eventOutputDataGPU_
RecHit<::calo::common::DevStoragePolicy > recHitsEE
void produce(edm::Event &, edm::EventSetup const &) override
edm::ESGetToken< EcalRecHitParametersGPU, JobConfigurationGPURecord > tokenRecHitParameters_
edm::ESHandle< EcalIntercalibConstantsGPU > IntercalibConstantsHandle_
edm::ESGetToken< EcalIntercalibConstantsGPU, EcalIntercalibConstantsRcd > tokenIntercalibConstants_
EcalRecHitProducerGPU(edm::ParameterSet const &ps)
edm::EDPutTokenT< OutputProduct > recHitsTokenEB_
edm::EDPutTokenT< OutputProduct > recHitsTokenEE_
edm::ESGetToken< EcalLaserAlphasGPU, EcalLaserAlphasRcd > tokenLaserAlphas_
void allocate(ConfigurationParameters const &configParameters, uint32_t sizeEB, uint32_t sizeEE, cudaStream_t cudaStream)
const uint32_t * expanded_flagbit_v_DB_reco_flags
edm::EDGetTokenT< InputProduct > uncalibRecHitsInEEToken_
~EcalRecHitProducerGPU() override
edm::ESGetToken< EcalLinearCorrectionsGPU, EcalLinearCorrectionsRcd > tokenLinearCorrections_
std::vector< uint32_t > expanded_flagbit_v_DB_reco_flags_
static void fillDescriptions(edm::ConfigurationDescriptions &)
uint32_t ChannelStatusToBeExcludedSize
std::tuple< intvec, intvec, uint32vec, uint32vec > getValues() const
const uint32_t * expanded_Sizes_v_DB_reco_flags
#define DEFINE_FWK_MODULE(type)
unsigned long long TimeValue_t
uint32_t getOffset() const
bool recoverEBIsolatedChannels
uint32_t expanded_v_DB_reco_flagsSize
edm::ESGetToken< EcalRechitADCToGeVConstantGPU, EcalADCToGeVConstantRcd > tokenADCToGeVConstant_
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)
Product const & getProduct(cudaStream_t) const
edm::ESGetToken< EcalLaserAPDPNRatiosRefGPU, EcalLaserAPDPNRatiosRefRcd > tokenLaserAPDPNRatiosRef_
ecal::rechit::ConfigurationParameters configParameters_
std::vector< int > expanded_v_DB_reco_flags_
edm::ESGetToken< EcalLaserAPDPNRatiosGPU, EcalLaserAPDPNRatiosRcd > tokenLaserAPDPNRatios_
edm::ESGetToken< EcalRechitChannelStatusGPU, EcalChannelStatusRcd > tokenChannelStatus_
#define cudaCheck(ARG,...)
cms::cuda::ContextState cudaState_
const int * expanded_v_DB_reco_flags
void acquire(edm::Event const &, edm::EventSetup const &, edm::WaitingTaskWithArenaHolder) override