Go to the documentation of this file.
89 edm::InputTag(
"ecalUncalibRecHitProducerGPU",
"EcalUncalibRecHitsEB"));
91 edm::InputTag(
"ecalUncalibRecHitProducerGPU",
"EcalUncalibRecHitsEE"));
96 desc.add<
bool>(
"killDeadChannels",
true);
98 desc.add<
double>(
"EBLaserMIN", 0.01);
99 desc.add<
double>(
"EELaserMIN", 0.01);
100 desc.add<
double>(
"EBLaserMAX", 30.0);
101 desc.add<
double>(
"EELaserMAX", 30.0);
103 desc.add<uint32_t>(
"maxNumberHitsEB", 61200);
104 desc.add<uint32_t>(
"maxNumberHitsEE", 14648);
159 auto const& ebUncalibRecHits = ctx.get(ebUncalibRecHitsProduct);
160 auto const& eeUncalibRecHits = ctx.get(eeUncalibRecHitsProduct);
164 neb_ = ebUncalibRecHits.size;
165 nee_ = eeUncalibRecHits.size;
169 <<
"max number of channels exceeded. See options 'maxNumberHitsEB and maxNumberHitsEE' ";
172 int nchannelsEB = ebUncalibRecHits.size;
210 IntercalibConstantsProduct,
211 ChannelStatusProduct,
212 LaserAPDPNRatiosProduct,
213 LaserAPDPNRatiosRefProduct,
215 LinearCorrectionsProduct,
EcalRecHitProducerGPU(edm::ParameterSet const &ps)
bool recoverEEIsolatedChannels
Product const & getProduct(cudaStream_t) const
std::vector< uint32_t > expanded_Sizes_v_DB_reco_flags_
edm::ESHandle< EcalIntercalibConstantsGPU > IntercalibConstantsHandle_
edm::ESHandle< EcalLaserAlphasGPU > LaserAlphasHandle_
edm::EDPutTokenT< OutputProduct > recHitsTokenEB_
edm::EDGetTokenT< InputProduct > uncalibRecHitsInEBToken_
const Product & getProduct(cudaStream_t) const
Product const & getProduct(cudaStream_t) const
ecal::rechit::ConfigurationParameters configParameters_
uint32_t getOffset() const
Product const & getProduct(cudaStream_t) const
edm::EDGetTokenT< InputProduct > uncalibRecHitsInEEToken_
#define DEFINE_FWK_MODULE(type)
edm::ESHandle< EcalLaserAPDPNRatiosGPU > LaserAPDPNRatiosHandle_
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_
const Product & getProduct(cudaStream_t) const
bool recoverEBIsolatedChannels
edm::ESHandle< EcalLinearCorrectionsGPU > LinearCorrectionsHandle_
std::vector< uint32_t > expanded_flagbit_v_DB_reco_flags_
void allocate(ConfigurationParameters const &configParameters, cudaStream_t cudaStream)
edm::ESHandle< EcalLaserAPDPNRatiosRefGPU > LaserAPDPNRatiosRefHandle_
cms::cuda::ContextState cudaState_
Product const & getProduct(cudaStream_t) const
~EcalRecHitProducerGPU() override
Log< level::Error, false > LogError
uint32_t ChannelStatusToBeExcludedSize
void produce(edm::Event &, edm::EventSetup const &) override
Product const & getProduct(cudaStream_t) const
std::vector< int > expanded_v_DB_reco_flags_
#define cudaCheck(ARG,...)
static void fillDescriptions(edm::ConfigurationDescriptions &)
edm::ESHandle< EcalRechitChannelStatusGPU > ChannelStatusHandle_
const int * expanded_v_DB_reco_flags
T getParameter(std::string const &) const
const int * ChannelStatusToBeExcluded
RecHit<::calo::common::DevStoragePolicy > recHitsEB
const Product & getProduct(cudaStream_t) const
const uint32_t * expanded_flagbit_v_DB_reco_flags
RecHit<::calo::common::DevStoragePolicy > recHitsEE
edm::ESHandle< EcalRechitADCToGeVConstantGPU > ADCToGeVConstantHandle_
edm::ESHandle< EcalRecHitParametersGPU > recHitParametersHandle_
unsigned long long TimeValue_t
void acquire(edm::Event const &, edm::EventSetup const &, edm::WaitingTaskWithArenaHolder) override