|
|
Definition at line 34 of file EcalRecHitProducerGPU.cc.
◆ InputProduct
◆ OutputProduct
◆ EcalRecHitProducerGPU()
Definition at line 107 of file EcalRecHitProducerGPU.cc.
References configParameters_, ecal::rechit::ConfigurationParameters::EBLaserMAX, ecal::rechit::ConfigurationParameters::EBLaserMIN, ecal::rechit::ConfigurationParameters::EELaserMAX, ecal::rechit::ConfigurationParameters::EELaserMIN, ecal::rechit::ConfigurationParameters::flagmask, flagmask_, edm::ParameterSet::getParameter(), EcalRecHit::kDead, ecal::rechit::ConfigurationParameters::killDeadChannels, HLT_FULL_cff::killDeadChannels, EcalRecHit::kKilled, EcalRecHit::kL1SpikeFlag, EcalRecHit::kNeighboursRecovered, EcalRecHit::kTowerRecovered, EcalRecHit::kTPSaturated, ecal::rechit::ConfigurationParameters::maxNumberHitsEB, ecal::rechit::ConfigurationParameters::maxNumberHitsEE, recHitsTokenEB_, recHitsTokenEE_, ecal::rechit::ConfigurationParameters::recoverEBFE, ecal::rechit::ConfigurationParameters::recoverEBIsolatedChannels, ecal::rechit::ConfigurationParameters::recoverEBVFE, ecal::rechit::ConfigurationParameters::recoverEEFE, ecal::rechit::ConfigurationParameters::recoverEEIsolatedChannels, ecal::rechit::ConfigurationParameters::recoverEEVFE, AlCaHLTBitMon_QueryRunRegistry::string, uncalibRecHitsInEBToken_, and uncalibRecHitsInEEToken_.
◆ ~EcalRecHitProducerGPU()
EcalRecHitProducerGPU::~EcalRecHitProducerGPU |
( |
| ) |
|
|
override |
◆ acquire()
Definition at line 150 of file EcalRecHitProducerGPU.cc.
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,
References ADCToGeVConstantHandle_, ecal::rechit::EventOutputDataGPU::allocate(), ChannelStatusHandle_, ecal::rechit::ConfigurationParameters::ChannelStatusToBeExcluded, ecal::rechit::ConfigurationParameters::ChannelStatusToBeExcludedSize, submitPVValidationJobs::conditions, configParameters_, ecal::rechit::create_ecal_rehit(), cudaCheck, cudaState_, eventOutputDataGPU_, ecal::rechit::ConfigurationParameters::expanded_flagbit_v_DB_reco_flags, ecal::rechit::ConfigurationParameters::expanded_Sizes_v_DB_reco_flags, ecal::rechit::ConfigurationParameters::expanded_v_DB_reco_flags, ecal::rechit::ConfigurationParameters::expanded_v_DB_reco_flagsSize, get, EcalIntercalibConstantsGPU::getOffset(), EcalIntercalibConstantsGPU::getProduct(), EcalLaserAPDPNRatiosRefGPU::getProduct(), EcalLaserAlphasGPU::getProduct(), EcalRechitADCToGeVConstantGPU::getProduct(), EcalRechitChannelStatusGPU::getProduct(), EcalRecHitParametersGPU::getProduct(), EcalLinearCorrectionsGPU::getProduct(), EcalLaserAPDPNRatiosGPU::getProduct(), EcalRecHitParametersGPU::getValues(), IntercalibConstantsHandle_, LaserAlphasHandle_, LaserAPDPNRatiosHandle_, LaserAPDPNRatiosRefHandle_, LinearCorrectionsHandle_, ecal::rechit::ConfigurationParameters::maxNumberHitsEB, ecal::rechit::ConfigurationParameters::maxNumberHitsEE, eostools::move(), neb_, nee_, recHitParametersHandle_, singleTopDQM_cfi::setup, uncalibRecHitsInEBToken_, and uncalibRecHitsInEEToken_.
◆ fillDescriptions()
Definition at line 85 of file EcalRecHitProducerGPU.cc.
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);
References submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
◆ produce()
◆ ADCToGeVConstantHandle_
◆ ChannelStatusHandle_
◆ configParameters_
◆ cudaState_
◆ eventOutputDataGPU_
◆ expanded_flagbit_v_DB_reco_flags_
std::vector<uint32_t> EcalRecHitProducerGPU::expanded_flagbit_v_DB_reco_flags_ |
|
private |
◆ expanded_Sizes_v_DB_reco_flags_
std::vector<uint32_t> EcalRecHitProducerGPU::expanded_Sizes_v_DB_reco_flags_ |
|
private |
◆ expanded_v_DB_reco_flags_
std::vector<int> EcalRecHitProducerGPU::expanded_v_DB_reco_flags_ |
|
private |
◆ flagmask_
uint32_t EcalRecHitProducerGPU::flagmask_ |
|
private |
◆ IntercalibConstantsHandle_
◆ LaserAlphasHandle_
◆ LaserAPDPNRatiosHandle_
◆ LaserAPDPNRatiosRefHandle_
◆ LinearCorrectionsHandle_
◆ neb_
uint32_t EcalRecHitProducerGPU::neb_ |
|
private |
◆ nee_
uint32_t EcalRecHitProducerGPU::nee_ |
|
private |
◆ recHitParametersHandle_
◆ recHitsTokenEB_
◆ recHitsTokenEE_
◆ uncalibRecHitsInEBToken_
◆ uncalibRecHitsInEEToken_
bool recoverEEIsolatedChannels
Product const & getProduct(cudaStream_t) const
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_
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_
void allocate(ConfigurationParameters const &configParameters, cudaStream_t cudaStream)
edm::ESHandle< EcalLaserAPDPNRatiosRefGPU > LaserAPDPNRatiosRefHandle_
cms::cuda::ContextState cudaState_
Product const & getProduct(cudaStream_t) const
Log< level::Error, false > LogError
uint32_t ChannelStatusToBeExcludedSize
Product const & getProduct(cudaStream_t) const
#define cudaCheck(ARG,...)
edm::ESHandle< EcalRechitChannelStatusGPU > ChannelStatusHandle_
const int * expanded_v_DB_reco_flags
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