Typedefs | |
using | GetThinnedKeyFromExceptionFactory = std::function< edm::Exception()> |
typedef edm::Handle< edm::TriggerResults > | handle_t |
using | no_tag = std::false_type |
using | yes_tag = std::true_type |
Functions | |
void | _throw_range (det_id_type i) |
void | annotateResolverMakerExceptionAndRethrow (cms::Exception &except, std::string const &modtype, ModuleTypeResolverBase const *resolver) |
bool | configureEventSelector (edm::ParameterSet const &iPSet, std::string const &iProcessName, std::vector< std::string > const &iAllTriggerNames, edm::detail::TriggerResultsBasedEventSelector &oSelector, ConsumesCollector &&iC) |
void | doTheOffset (int bunchSpace, int bcr, std::vector< SimTrack > &simtracks, unsigned int evtNr, int vertexOffset, bool wrap) |
void | doTheOffset (int bunchSpace, int bcr, std::vector< SimVertex > &simvertices, unsigned int evtNr, int vertexOffset, bool wrap) |
void | doTheOffset (int bunchSpace, int bcr, std::vector< PSimHit > &simhits, unsigned int evtNr, int vertexOffset, bool wrap) |
void | doTheOffset (int bunchSpace, int bcr, std::vector< PCaloHit > &calohits, unsigned int evtNr, int vertexOffset, bool wrap) |
void | doTheOffset (int bunchSpace, int bcr, TrackingRecHitCollection &trackingrechits, unsigned int evtNr, int vertexOffset, bool wrap) |
template<typename Item , typename Selector , typename Collection > | |
void | fillCollectionForThinning (Item const &item, Selector &selector, unsigned int iIndex, Collection &output, ThinnedAssociation &association) |
template<typename F > | |
std::variant< unsigned int, GetThinnedKeyFromExceptionFactory, std::monostate > | getThinnedKeyFrom_implementation (ProductID const &parentID, BranchID const &parent, unsigned int key, ProductID const &thinnedID, BranchID thinned, ThinnedAssociationsHelper const &thinnedAssociationsHelper, F &&getThinnedAssociation) |
template<typename F1 , typename F2 , typename F3 > | |
std::optional< std::tuple< WrapperBase const *, unsigned int > > | getThinnedProduct (ProductID const &pid, unsigned int key, ThinnedAssociationsHelper const &thinnedAssociationsHelper, F1 pidToBid, F2 getThinnedAssociation, F3 getByProductID) |
template<typename F1 , typename F2 , typename F3 > | |
ThinnedOrSlimmedProduct | getThinnedProductOnSlimmingDepth (ProductID const &pid, unsigned int key, ThinnedAssociationsHelper const &thinnedAssociationsHelper, F1 pidToBid, F2 getThinnedAssociation, F3 getByProductID) |
template<typename F1 , typename F2 , typename F3 > | |
void | getThinnedProducts (ProductID const &pid, ThinnedAssociationsHelper const &thinnedAssociationsHelper, F1 pidToBid, F2 getThinnedAssociation, F3 getByProductID, std::vector< WrapperBase const *> &foundContainers, std::vector< unsigned int > &keys) |
template<typename F1 , typename F2 , typename F3 > | |
std::optional< std::tuple< ThinnedAssociation const *, std::vector< unsigned int > > > | getThinnedProductsOnSlimmingDepth (ProductID const &pid, ThinnedAssociationsHelper const &thinnedAssociationsHelper, F1 pidToBid, F2 getThinnedAssociation, F3 getByProductID, std::vector< WrapperBase const *> &foundContainers, std::vector< unsigned int > &keys) |
template<typename T > | |
static yes_tag | has_isProductEqual (isProductEqual_function< T, &T::isProductEqual > *dummy) |
template<typename T > | |
static no_tag | has_isProductEqual (...) |
template<typename T > | |
static yes_tag | has_member_type (typename T::member_type *) |
template<typename T > | |
static no_tag | has_member_type (...) |
template<typename T > | |
static yes_tag | has_mergeProduct (mergeProduct_function< T, &T::mergeProduct > *dummy) |
template<typename T > | |
static no_tag | has_mergeProduct (...) |
template<typename T > | |
no_tag | has_postinsert_helper (...) |
template<typename T > | |
yes_tag | has_postinsert_helper (postinsert_function< T, &T::post_insert > *p) |
template<typename T > | |
static yes_tag | has_swap (swap_function< T, &T::swap > *dummy) |
template<typename T > | |
static no_tag | has_swap (...) |
template<typename T > | |
static yes_tag | has_value_type (typename T::value_type *) |
template<typename T > | |
static no_tag | has_value_type (...) |
std::string const & | InvalidHash () |
auto | makeThinnedIndexes (std::vector< unsigned int > const &keys, std::vector< WrapperBase const *> const &foundContainers, ThinnedAssociation const *thinnedAssociation) |
template<typename KEY , typename T , typename E > | |
std::ostream & | operator<< (std::ostream &os, ThreadSafeRegistry< KEY, T > const ®) |
void | processEDAliases (std::vector< std::string > const &aliasNamesToProcess, std::unordered_set< std::string > const &aliasModulesToProcess, ParameterSet const &proc_pset, std::string const &processName, ProductRegistry &preg) |
template<typename COLLECTION > | |
void | reallyfillPtrVector (COLLECTION const &coll, std::type_info const &iToType, std::vector< unsigned long > const &iIndicies, std::vector< void const *> &oPtr) |
template<class COLLECTION > | |
void | reallyFillView (COLLECTION const &coll, ProductID const &id, std::vector< void const *> &ptrs, FillViewHelperVector &helpers) |
template<typename COLLECTION > | |
void | reallySetPtr (COLLECTION const &coll, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr) |
ParameterSetID | registerProperSelectionInfo (edm::ParameterSet const &iInitial, std::string const &iLabel, std::map< std::string, std::vector< std::pair< std::string, int > > > const &outputModulePathPositions, bool anyProductProduced) |
template<typename TFactory , typename TCache > | |
auto | resolveMaker (std::string const &moduleType, ModuleTypeResolverMaker const *resolverMaker, edm::ParameterSet const &modulePSet, TCache &makerCache) -> typename TCache::mapped_type::element_type const * |
Variables | |
constexpr unsigned int | kThinningDoNotLookForThisIndex = std::numeric_limits<unsigned int>::max() |
typedef std::function< edm::Exception()> edm::detail::GetThinnedKeyFromExceptionFactory |
Definition at line 37 of file EDProductGetter.h.
Definition at line 28 of file TriggerResultsBasedEventSelector.h.
typedef std::false_type edm::detail::no_tag |
Definition at line 22 of file WrapperDetail.h.
typedef std::true_type edm::detail::yes_tag |
Definition at line 23 of file WrapperDetail.h.
|
inline |
Definition at line 69 of file DetSetVector.h.
References mps_fire::i, edm::errors::InvalidReference, and edm::Exception::throwThis().
Referenced by edm::DetSetVector< TotemRPLocalTrack::FittedRecHit >::operator[]().
void edm::detail::annotateResolverMakerExceptionAndRethrow | ( | cms::Exception & | except, |
std::string const & | modtype, | ||
ModuleTypeResolverBase const * | resolver | ||
) |
Definition at line 4 of file resolverMaker.cc.
References cms::Exception::addAdditionalInfo(), eostools::move(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by resolveMaker().
bool edm::detail::configureEventSelector | ( | edm::ParameterSet const & | iPSet, |
std::string const & | iProcessName, | ||
std::vector< std::string > const & | iAllTriggerNames, | ||
edm::detail::TriggerResultsBasedEventSelector & | oSelector, | ||
edm::ConsumesCollector && | iC | ||
) |
Handles the final initialization of the TriggerResutsBasedEventSelector
Definition at line 43 of file TriggerResultsBasedEventSelector.cc.
References edm::ParameterSet::empty(), edm::ParameterSet::getParameter(), mps_fire::i, eostools::move(), trigger_results_based_event_selector_utils::parse_path_spec(), edm::detail::TriggerResultsBasedEventSelector::setup(), and edm::detail::TriggerResultsBasedEventSelector::setupDefault().
Referenced by edm::core::OutputModuleCore::doPreallocate_(), edm::core::OutputModuleCore::OutputModuleCore(), and edm::SubProcess::SubProcess().
void edm::detail::doTheOffset | ( | int | bunchSpace, |
int | bcr, | ||
std::vector< SimTrack > & | simtracks, | ||
unsigned int | evtNr, | ||
int | vertexOffset, | ||
bool | wrap | ||
) |
Definition at line 7 of file Adjuster.cc.
References l1ctLayer2EG_cff::id, and B2GTnPMonitor_cfi::item.
Referenced by edm::Adjuster< T >::doOffset().
void edm::detail::doTheOffset | ( | int | bunchSpace, |
int | bcr, | ||
std::vector< SimVertex > & | simvertices, | ||
unsigned int | evtNr, | ||
int | vertexOffset, | ||
bool | wrap | ||
) |
Definition at line 18 of file Adjuster.cc.
References l1ctLayer2EG_cff::id, B2GTnPMonitor_cfi::item, and simBeamSpotPI::timeOffset.
void edm::detail::doTheOffset | ( | int | bunchSpace, |
int | bcr, | ||
std::vector< PSimHit > & | simhits, | ||
unsigned int | evtNr, | ||
int | vertexOffset, | ||
bool | wrap | ||
) |
Definition at line 28 of file Adjuster.cc.
References l1ctLayer2EG_cff::id, createfilelist::int, B2GTnPMonitor_cfi::item, HLTBitAnalyser_cfi::simhits, simBeamSpotPI::timeOffset, and edm::convertException::wrap().
void edm::detail::doTheOffset | ( | int | bunchSpace, |
int | bcr, | ||
std::vector< PCaloHit > & | calohits, | ||
unsigned int | evtNr, | ||
int | vertexOffset, | ||
bool | wrap | ||
) |
Definition at line 49 of file Adjuster.cc.
References l1ctLayer2EG_cff::id, B2GTnPMonitor_cfi::item, and simBeamSpotPI::timeOffset.
void edm::detail::doTheOffset | ( | int | bunchSpace, |
int | bcr, | ||
TrackingRecHitCollection & | trackingrechits, | ||
unsigned int | evtNr, | ||
int | vertexOffset, | ||
bool | wrap | ||
) |
Definition at line 59 of file Adjuster.cc.
References edm::OwnVector< T, P >::begin(), edm::OwnVector< T, P >::end(), l1ctLayer2EG_cff::id, trackerHitRTTI::isFast(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, nano_mu_digi_cff::rawId, and FastTrackerRecHit::setEventId().
void edm::detail::fillCollectionForThinning | ( | Item const & | item, |
Selector & | selector, | ||
unsigned int | iIndex, | ||
Collection & | output, | ||
ThinnedAssociation & | association | ||
) |
Definition at line 43 of file ThinningProducer.h.
References ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), B2GTnPMonitor_cfi::item, eostools::move(), getGTfromDQMFile::obj, collectionMerger::selector, and mitigatedMETSequence_cff::U.
Referenced by edmNew::fillCollectionForThinning(), and edm::ThinningProducer< Collection, Selector >::produce().
std::variant<unsigned int, GetThinnedKeyFromExceptionFactory, std::monostate> edm::detail::getThinnedKeyFrom_implementation | ( | ProductID const & | parentID, |
BranchID const & | parent, | ||
unsigned int | key, | ||
ProductID const & | thinnedID, | ||
BranchID | thinned, | ||
ThinnedAssociationsHelper const & | thinnedAssociationsHelper, | ||
F && | getThinnedAssociation | ||
) |
Definition at line 395 of file getThinned_implementation.h.
References edm::ThinnedAssociationsHelper::begin(), edm::ThinnedAssociationsHelper::end(), Exception, edm::errors::InvalidReference, submitPVResolutionJobs::key, edm::errors::LogicError, or, class-composition::parent, edm::ThinnedAssociationsHelper::parentBegin(), and edm::ThinnedAssociationsHelper::parentEnd().
Referenced by fwlite::DataGetterHelper::getThinnedKeyFrom(), BareRootProductGetter::getThinnedKeyFrom(), and edm::EventPrincipal::getThinnedKeyFrom().
std::optional<std::tuple<WrapperBase const*, unsigned int> > edm::detail::getThinnedProduct | ( | ProductID const & | pid, |
unsigned int | key, | ||
ThinnedAssociationsHelper const & | thinnedAssociationsHelper, | ||
F1 | pidToBid, | ||
F2 | getThinnedAssociation, | ||
F3 | getByProductID | ||
) |
Definition at line 288 of file getThinned_implementation.h.
References getThinnedProductOnSlimmingDepth(), submitPVResolutionJobs::key, and mkLumiAveragedPlots::tuple.
Referenced by BareRootProductGetter::getThinnedProduct(), fwlite::DataGetterHelper::getThinnedProduct(), and edm::EventPrincipal::getThinnedProduct().
ThinnedOrSlimmedProduct edm::detail::getThinnedProductOnSlimmingDepth | ( | ProductID const & | pid, |
unsigned int | key, | ||
ThinnedAssociationsHelper const & | thinnedAssociationsHelper, | ||
F1 | pidToBid, | ||
F2 | getThinnedAssociation, | ||
F3 | getByProductID | ||
) |
Definition at line 68 of file getThinned_implementation.h.
References edm::ThinnedAssociation::getThinnedIndex(), submitPVResolutionJobs::key, or, class-composition::parent, edm::ThinnedAssociationsHelper::parentBegin(), edm::ThinnedAssociation::parentCollectionID(), edm::ThinnedAssociationsHelper::parentEnd(), and edm::ThinnedAssociation::thinnedCollectionID().
Referenced by getThinnedProduct().
void edm::detail::getThinnedProducts | ( | ProductID const & | pid, |
ThinnedAssociationsHelper const & | thinnedAssociationsHelper, | ||
F1 | pidToBid, | ||
F2 | getThinnedAssociation, | ||
F3 | getByProductID, | ||
std::vector< WrapperBase const *> & | foundContainers, | ||
std::vector< unsigned int > & | keys | ||
) |
Definition at line 335 of file getThinned_implementation.h.
References getThinnedProductsOnSlimmingDepth(), dqmdumpme::k, relativeConstraints::keys, kThinningDoNotLookForThisIndex, and eostools::move().
Referenced by BareRootProductGetter::getThinnedProducts(), fwlite::DataGetterHelper::getThinnedProducts(), and edm::EventPrincipal::getThinnedProducts().
std::optional<std::tuple<ThinnedAssociation const*, std::vector<unsigned int> > > edm::detail::getThinnedProductsOnSlimmingDepth | ( | ProductID const & | pid, |
ThinnedAssociationsHelper const & | thinnedAssociationsHelper, | ||
F1 | pidToBid, | ||
F2 | getThinnedAssociation, | ||
F3 | getByProductID, | ||
std::vector< WrapperBase const *> & | foundContainers, | ||
std::vector< unsigned int > & | keys | ||
) |
Definition at line 188 of file getThinned_implementation.h.
References dqmdumpme::k, relativeConstraints::keys, kThinningDoNotLookForThisIndex, makeThinnedIndexes(), eostools::move(), or, class-composition::parent, edm::ThinnedAssociationsHelper::parentBegin(), edm::ThinnedAssociation::parentCollectionID(), edm::ThinnedAssociationsHelper::parentEnd(), edm::ThinnedAssociation::thinnedCollectionID(), and mkLumiAveragedPlots::tuple.
Referenced by getThinnedProducts().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
no_tag edm::detail::has_postinsert_helper | ( | ... | ) |
yes_tag edm::detail::has_postinsert_helper | ( | postinsert_function< T, &T::post_insert > * | p | ) |
|
static |
|
static |
|
static |
|
static |
std::string const & edm::detail::InvalidHash | ( | ) |
Definition at line 11 of file Hash.cc.
References cms::MD5Result::compactForm(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edm::hash_detail::isValid_(), and edm::Hash< EntryDescriptionType >::reset().
|
inline |
Definition at line 143 of file getThinned_implementation.h.
References edm::ThinnedAssociation::getThinnedIndex(), dqmdumpme::k, relativeConstraints::keys, kThinningDoNotLookForThisIndex, eostools::move(), and mkLumiAveragedPlots::tuple.
Referenced by getThinnedProductsOnSlimmingDepth().
|
inline |
void edm::detail::processEDAliases | ( | std::vector< std::string > const & | aliasNamesToProcess, |
std::unordered_set< std::string > const & | aliasModulesToProcess, | ||
ParameterSet const & | proc_pset, | ||
std::string const & | processName, | ||
ProductRegistry & | preg | ||
) |
Process and insert EDAliases to ProductRegistry
Processes only those EDAliases whose names are given in aliasNamesToProcess. If aliasModulesToProcess is not empty, only those alias branches that point to modules named in aliasModulesToProcess are processed.
Definition at line 90 of file processEDAliases.cc.
References edm::ProductRegistry::addLabelAlias(), SiStripOfflineCRack_cfg::alias, cms::cuda::assert(), edm::errors::Configuration, submitPVResolutionJobs::desc, relativeConstraints::empty, Exception, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNamesForType(), edm::ParameterSet::getParameterSet(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, HerwigMaxPtPartonFilter_cfi::moduleLabel, SimL1EmulatorRepack_CalouGT_cff::processName, dumpMFGeometry_cfg::prod, edm::ProductRegistry::productList(), muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edm::Schedule::finishSetup(), and edm::ConditionalTaskHelper::processSwitchEDAliases().
void edm::detail::reallyfillPtrVector | ( | COLLECTION const & | coll, |
std::type_info const & | iToType, | ||
std::vector< unsigned long > const & | iIndicies, | ||
std::vector< void const *> & | oPtr | ||
) |
Definition at line 37 of file fillPtrVector.h.
References edm::detail::GetProduct< COLLECTION >::address(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, edm::errors::LogicError, Skims_PA_cff::name, edm::pointerToBase(), and edm::Exception::throwThis().
Referenced by edm::fillPtrVector(), edm::SortedCollection< EcalRecHit >::fillPtrVector(), and edm::OwnVector< LayerWithHits >::fillPtrVector().
void edm::detail::reallyFillView | ( | COLLECTION const & | coll, |
ProductID const & | id, | ||
std::vector< void const *> & | ptrs, | ||
FillViewHelperVector & | helpers | ||
) |
Definition at line 25 of file FillView.h.
References edm::detail::GetProduct< COLLECTION >::address(), MillePedeFileConverter_cfg::e, mps_fire::i, and submitPVResolutionJobs::key.
Referenced by edm::fillView(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::fillView(), edm::SortedCollection< EcalRecHit >::fillView(), and edm::DetSetVector< TotemRPLocalTrack::FittedRecHit >::fillView().
void edm::detail::reallySetPtr | ( | COLLECTION const & | coll, |
std::type_info const & | iToType, | ||
unsigned long | iIndex, | ||
void const *& | oPtr | ||
) |
Definition at line 36 of file setPtr.h.
References edm::detail::GetProduct< COLLECTION >::address(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, edm::errors::LogicError, Skims_PA_cff::name, edm::pointerToBase(), and edm::Exception::throwThis().
Referenced by edm::setPtr(), and edm::SortedCollection< EcalRecHit >::setPtr().
ParameterSetID edm::detail::registerProperSelectionInfo | ( | edm::ParameterSet const & | iInitial, |
std::string const & | iLabel, | ||
std::map< std::string, std::vector< std::pair< std::string, int > > > const & | outputModulePathPositions, | ||
bool | anyProductProduced | ||
) |
Takes the user specified SelectEvents PSet and creates a new one which conforms to the canonical format required for provenance
Definition at line 126 of file TriggerResultsBasedEventSelector.cc.
References edm::ParameterSet::addParameter(), cms::cuda::assert(), edm::ParameterSet::copyForModify(), edm::ParameterSet::exists(), edm::ParameterSet::id(), B2GTnPMonitor_cfi::item, and edm::ParameterSet::registerIt().
Referenced by edm::core::OutputModuleCore::setEventSelectionInfo(), and edm::SubProcess::SubProcess().
auto edm::detail::resolveMaker | ( | std::string const & | moduleType, |
ModuleTypeResolverMaker const * | resolverMaker, | ||
edm::ParameterSet const & | modulePSet, | ||
TCache & | makerCache | ||
) | -> typename TCache::mapped_type::element_type const* |
Definition at line 20 of file resolveMaker.h.
References annotateResolverMakerExceptionAndRethrow(), beamerCreator::create(), newFWLiteAna::found, get, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, visualization-live-secondInstance_cfg::m, eostools::move(), and summarizeEdmComparisonLogfiles::succeeded.
constexpr unsigned int edm::detail::kThinningDoNotLookForThisIndex = std::numeric_limits<unsigned int>::max() |
Definition at line 22 of file getThinned_implementation.h.
Referenced by getThinnedProducts(), getThinnedProductsOnSlimmingDepth(), and makeThinnedIndexes().