Public Member Functions | |
HGCalSoARecHitsProducer (edm::ParameterSet const &config) | |
void | produce (device::Event &iEvent, device::EventSetup const &iSetup) override |
~HGCalSoARecHitsProducer () override=default | |
Public Member Functions inherited from ALPAKA_ACCELERATOR_NAMESPACE::stream::EDProducer<> | |
void | produce (edm::Event &iEvent, edm::EventSetup const &iSetup) final |
Public Member Functions inherited from edm::ProducerBase< edm::stream::EDProducer, Args... > | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
std::vector< bool > const & | recordProvenanceList () const |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
TypeLabelList const & | typeLabelList () const |
used by the fwk to register the list of products of this module More... | |
~ProducerBase () noexcept(false) override | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | computeThreshold () |
Private Attributes | |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | caloGeomToken_ |
std::vector< double > | dEdXweights_ |
int | deltasi_index_regemfac_ |
std::string | detector_ |
device::EDPutToken< HGCalSoARecHitsDeviceCollection > const | deviceToken_ |
double | ecut_ |
double | fcPerEle_ |
std::vector< double > | fcPerMip_ |
edm::EDGetTokenT< HGCRecHitCollection > | hits_token_ |
bool | initialized_ |
bool | isNose_ |
unsigned int | maxlayer_ |
unsigned | maxNumberOfThickIndices_ |
std::vector< double > | nonAgedNoises_ |
hgcal::RecHitTools | rhtools_ |
double | sciThicknessCorrection_ |
std::vector< double > | thicknessCorrection_ |
std::vector< std::vector< double > > | thresholds_ |
std::vector< std::vector< double > > | v_sigmaNoise_ |
Additional Inherited Members | |
Public Types inherited from edm::ProducerBase< edm::stream::EDProducer, Args... > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Protected Member Functions inherited from edm::ProducerBase< edm::stream::EDProducer, Args... > | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
BranchAliasSetterT< ProductType > | produces () |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
BranchAliasSetterT< ProductType > | produces () |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
BranchAliasSetterT< ProductType > | produces () |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Definition at line 22 of file HGCalSoARecHitsProducer.cc.
|
inline |
Definition at line 24 of file HGCalSoARecHitsProducer.cc.
References edm::ProducerBase< edm::stream::EDProducer, Args... >::produces().
|
overridedefault |
|
inlineprivate |
Definition at line 176 of file HGCalSoARecHitsProducer.cc.
References gather_cfg::cout, dEdXweights_, ecut_, fcPerEle_, fcPerMip_, initialized_, isNose_, maxlayer_, maxNumberOfThickIndices_, nonAgedNoises_, thicknessCorrection_, thresholds_, and v_sigmaNoise_.
Referenced by produce().
|
inlinestatic |
Definition at line 140 of file HGCalSoARecHitsProducer.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverridevirtual |
Implements ALPAKA_ACCELERATOR_NAMESPACE::stream::EDProducer<>.
Definition at line 41 of file HGCalSoARecHitsProducer.cc.
References caloGeomToken_, hgcalTBTopologyTester_cfi::cells, computeThreshold(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), gather_cfg::cout, deltasi_index_regemfac_, DetId::det(), detector_, CaloRecHit::detid(), deviceToken_, CaloRecHit::energy(), relativeConstraints::geom, ALPAKA_ACCELERATOR_NAMESPACE::device::EventSetup::getHandle(), hgcal::RecHitTools::getLayerWithOffset(), hgcal::RecHitTools::getPosition(), hgcal::RecHitTools::getSiThickIndex(), DetId::HGCalHSi, HGCHEF, hfClusterShapes_cfi::hits, hits_token_, mps_fire::i, iEvent, isNose_, hgcal::RecHitTools::lastLayer(), maxlayer_, maxNumberOfThickIndices_, eostools::move(), hltrates_dqm_sourceclient-live_cfg::offset, position, edm::Handle< T >::product(), DetId::rawId(), rhtools_, hgcal::RecHitTools::setGeometry(), DetId::subdetId(), thresholds_, CaloRecHit::time(), HGCRecHit::timeError(), v_sigmaNoise_, and hgcal::RecHitTools::zside().
|
private |
Definition at line 172 of file HGCalSoARecHitsProducer.cc.
Referenced by produce().
|
private |
Definition at line 166 of file HGCalSoARecHitsProducer.cc.
Referenced by computeThreshold().
|
private |
Definition at line 160 of file HGCalSoARecHitsProducer.cc.
Referenced by produce().
|
private |
Definition at line 155 of file HGCalSoARecHitsProducer.cc.
Referenced by produce().
|
private |
Definition at line 174 of file HGCalSoARecHitsProducer.cc.
Referenced by produce().
|
private |
Definition at line 163 of file HGCalSoARecHitsProducer.cc.
Referenced by computeThreshold().
|
private |
Definition at line 162 of file HGCalSoARecHitsProducer.cc.
Referenced by computeThreshold().
|
private |
Definition at line 164 of file HGCalSoARecHitsProducer.cc.
Referenced by computeThreshold().
|
private |
Definition at line 173 of file HGCalSoARecHitsProducer.cc.
Referenced by produce().
|
private |
Definition at line 156 of file HGCalSoARecHitsProducer.cc.
Referenced by computeThreshold().
|
private |
Definition at line 157 of file HGCalSoARecHitsProducer.cc.
Referenced by computeThreshold(), and produce().
|
private |
Definition at line 159 of file HGCalSoARecHitsProducer.cc.
Referenced by computeThreshold(), and produce().
|
private |
Definition at line 158 of file HGCalSoARecHitsProducer.cc.
Referenced by computeThreshold(), and produce().
|
private |
Definition at line 165 of file HGCalSoARecHitsProducer.cc.
Referenced by computeThreshold().
|
private |
Definition at line 171 of file HGCalSoARecHitsProducer.cc.
Referenced by produce().
|
private |
Definition at line 161 of file HGCalSoARecHitsProducer.cc.
|
private |
Definition at line 167 of file HGCalSoARecHitsProducer.cc.
Referenced by computeThreshold().
|
private |
Definition at line 168 of file HGCalSoARecHitsProducer.cc.
Referenced by computeThreshold(), and produce().
|
private |
Definition at line 169 of file HGCalSoARecHitsProducer.cc.
Referenced by computeThreshold(), and produce().