Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
Static Public Member Functions inherited from edm::global::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
double | getDiscriminatorValue (const DisplacedVertexCluster &, const reco::BeamSpot &) const |
Private Attributes | |
const edm::EDGetTokenT< reco::BeamSpot > | beamSpotToken_ |
const double | discriminatorCut_ |
const double | farThreshold_ |
const vector< string > | input_names_ |
const unsigned int | maxPseudoROIs_ |
const double | minRadius_ |
const double | nearThreshold_ |
const vector< string > | output_names_ |
const double | rParam_ |
tensorflow::Session * | session_ |
const edm::EDGetTokenT< edm::View< reco::VertexCompositeCandidate > > | trackClustersToken_ |
Additional Inherited Members | |
Public Types inherited from edm::global::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
template<typename T > | |
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 |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
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) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 32 of file DisplacedRegionSeedingVertexProducer.cc.
DisplacedRegionSeedingVertexProducer::DisplacedRegionSeedingVertexProducer | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 60 of file DisplacedRegionSeedingVertexProducer.cc.
References looper::cfg, tensorflow::createSession(), contentValuesFiles::fullPath, tensorflow::loadGraphDef(), AlcaSiPixelAliHarvester0T_cff::options, and session_.
|
override |
Definition at line 83 of file DisplacedRegionSeedingVertexProducer.cc.
References tensorflow::closeSession(), and session_.
|
static |
Definition at line 198 of file DisplacedRegionSeedingVertexProducer.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and ProducerED_cfi::InputTag.
|
private |
Definition at line 220 of file DisplacedRegionSeedingVertexProducer.cc.
References reco::Candidate::bestTrack(), cms::cuda::bs, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), DisplacedVertexCluster::constituent(), reco::CompositeCandidate::daughter(), nano_mu_digi_cff::float, reco::TrackBase::highPurity, mps_fire::i, input_names_, dqmiolumiharvest::j, hltPixelTracks_cff::maxNVertices, DisplacedVertexCluster::nConstituents(), output_names_, PatBasicFWLiteJetAnalyzer_Selector_cfg::outputs, tensorflow::run(), session_, and reco::TrackBase::vx().
Referenced by produce().
|
overridevirtual |
Implements edm::global::EDProducerBase.
Definition at line 88 of file DisplacedRegionSeedingVertexProducer.cc.
References a, pwdgSkimBPark_cfi::beamSpot, beamSpotToken_, cms::cuda::bs, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), discriminatorCut_, farThreshold_, getDiscriminatorValue(), mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, dqmiolumiharvest::j, SiStripPI::max, maxPseudoROIs_, SiStripPI::min, minRadius_, eostools::move(), nearThreshold_, rParam_, DisplacedRegionalStep_cff::trackClusters, trackClustersToken_, reco::LeafCandidate::vertex(), and x.
|
private |
Definition at line 52 of file DisplacedRegionSeedingVertexProducer.cc.
Referenced by produce().
|
private |
Definition at line 47 of file DisplacedRegionSeedingVertexProducer.cc.
Referenced by produce().
|
private |
Definition at line 46 of file DisplacedRegionSeedingVertexProducer.cc.
Referenced by produce().
|
private |
Definition at line 49 of file DisplacedRegionSeedingVertexProducer.cc.
Referenced by getDiscriminatorValue().
|
private |
Definition at line 48 of file DisplacedRegionSeedingVertexProducer.cc.
Referenced by produce().
|
private |
Definition at line 44 of file DisplacedRegionSeedingVertexProducer.cc.
Referenced by produce().
|
private |
Definition at line 45 of file DisplacedRegionSeedingVertexProducer.cc.
Referenced by produce().
|
private |
Definition at line 50 of file DisplacedRegionSeedingVertexProducer.cc.
Referenced by getDiscriminatorValue().
|
private |
Definition at line 41 of file DisplacedRegionSeedingVertexProducer.cc.
Referenced by produce().
|
private |
Definition at line 55 of file DisplacedRegionSeedingVertexProducer.cc.
Referenced by DisplacedRegionSeedingVertexProducer(), getDiscriminatorValue(), and ~DisplacedRegionSeedingVertexProducer().
|
private |
Definition at line 53 of file DisplacedRegionSeedingVertexProducer.cc.
Referenced by produce().