|
| VertexProducer (const edm::ParameterSet &) |
|
| ~VertexProducer () override |
|
| EDProducer ()=default |
|
| EDProducer (const EDProducer &)=delete |
|
bool | hasAbilityToProduceInBeginLumis () const final |
|
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
|
bool | hasAbilityToProduceInBeginRuns () const final |
|
bool | hasAbilityToProduceInEndLumis () const final |
|
bool | hasAbilityToProduceInEndProcessBlocks () const final |
|
bool | hasAbilityToProduceInEndRuns () const final |
|
EDProducer & | operator= (const EDProducer &)=delete |
|
bool | wantsGlobalLuminosityBlocks () const noexcept final |
|
bool | wantsGlobalRuns () const noexcept final |
|
bool | wantsInputProcessBlocks () const noexcept final |
|
bool | wantsProcessBlocks () const noexcept final |
|
bool | wantsStreamLuminosityBlocks () const noexcept final |
|
bool | wantsStreamRuns () const noexcept final |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
| ~EDProducerBase () override |
|
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 |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ESResolverIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESResolverIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
|
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (edm::Transition iTrans) const |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProductResolverIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef EDProducerBase | ModuleType |
|
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 |
|
typedef ProductLabels | Labels |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &descriptions) |
|
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 () |
|
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 VertexProducer.h.
Implements edm::global::EDProducerBase.
Definition at line 84 of file VertexProducer.cc.
References l1tVertexFinder::VertexFinder::adaptiveVertexReconstruction(), l1tVertexFinder::VertexFinder::agglomerativeHierarchicalClustering(), l1tVertexFinder::VertexFinder::DBSCAN(), l1tVertexFinder::AlgoSettings::debug(), l1tVertexFinder::VertexFinder::fastHisto(), l1tVertexFinder::VertexFinder::fastHistoEmulation(), l1tVertexFinder::VertexFinder::fastHistoLooseAssociation(), l1tVertexFinder::VertexFinder::findPrimaryVertex(), l1tVertexFinder::VertexFinder::GapClustering(), edm::EventSetup::getData(), l1tVertexFinder::VertexFinder::HPV(), iEvent, l1tVertexFinder::VertexFinder::Kmeans(), hltEgammaEleL1TrkIsoL1Seeded_cfi::l1Tracks, l1TracksToken_, eostools::move(), l1tVertexFinder::VertexFinder::NNVtxEmulation(), outputCollectionName_, PattRecSesh_, l1tVertexFinder::VertexFinder::PVR(), edm::refToPtr(), settings_, edm::RefVector< C, T, F >::size(), l1tVertexFinder::VertexFinder::sortVerticesInPt(), HLT_2024v14_cff::track, TrkWSesh_, tTopoToken, l1tVertexFinder::VertexFinder::vertices(), l1tVertexFinder::VertexFinder::verticesEmulation(), L1BJetProducer_cff::vtx, l1tVertexFinder::AlgoSettings::vx_algo(), and l1tVertexFinder::AlgoSettings::vx_TrackMinPt().
88 std::vector<l1tVertexFinder::L1Track>
l1Tracks;
91 edm::LogInfo(
"VertexProducer") <<
"produce::Processing " << l1TracksHandle->
size() <<
" tracks";
93 for (
const auto&
track : *l1TracksHandle) {
99 edm::LogInfo(
"VertexProducer") <<
"produce::Removing track with too low of a pt (" << l1track.pt() <<
")\n" 100 <<
" word = " << l1track.getTTTrackPtr()->getTrackWord().to_string(2);
106 edm::LogInfo(
"VertexProducer") <<
"produce::Processing " <<
l1Tracks.size() <<
" tracks after minimum pt cut of" 113 case Algorithm::fastHisto: {
115 vf.fastHisto(&tTopo);
118 case Algorithm::fastHistoEmulation:
119 vf.fastHistoEmulation();
121 case Algorithm::fastHistoLooseAssociation:
122 vf.fastHistoLooseAssociation();
124 case Algorithm::GapClustering:
127 case Algorithm::agglomerativeHierarchical:
128 vf.agglomerativeHierarchicalClustering();
130 case Algorithm::DBSCAN:
136 case Algorithm::adaptiveVertexReconstruction:
137 vf.adaptiveVertexReconstruction();
142 case Algorithm::Kmeans:
145 case Algorithm::NNEmulation:
150 vf.sortVerticesInPt();
151 vf.findPrimaryVertex();
155 std::unique_ptr<l1t::VertexWordCollection> product_emulation =
156 std::make_unique<l1t::VertexWordCollection>(vf.verticesEmulation().begin(), vf.verticesEmulation().end());
159 std::unique_ptr<l1t::VertexCollection> product(
new std::vector<l1t::Vertex>());
160 for (
const auto&
vtx : vf.vertices()) {
161 product->emplace_back(
vtx.vertex());
Ptr< typename C::value_type > refToPtr(Ref< C, typename C::value_type, refhelper::FindUsingAdvance< C, typename C::value_type > > const &ref)
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken
tensorflow::Session * TrkWSesh_
const edm::EDGetTokenT< TTTrackRefCollectionType > l1TracksToken_
const std::string outputCollectionName_
unsigned int debug() const
float vx_TrackMinPt() const
Log< level::Info, false > LogInfo
tensorflow::Session * PattRecSesh_
size_type size() const
Size of the RefVector.
Algorithm vx_algo() const
l1tVertexFinder::AlgoSettings settings_