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) |
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< PCaloHit > &calohits, 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< 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, 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 no_tag | has_isProductEqual (...) |
template<typename T > | |
static yes_tag | has_isProductEqual (isProductEqual_function< T, &T::isProductEqual > *dummy) |
template<typename T > | |
static no_tag | has_member_type (...) |
template<typename T > | |
static yes_tag | has_member_type (typename T::member_type *) |
template<typename T > | |
static no_tag | has_mergeProduct (...) |
template<typename T > | |
static yes_tag | has_mergeProduct (mergeProduct_function< T, &T::mergeProduct > *dummy) |
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 no_tag | has_swap (...) |
template<typename T > | |
static yes_tag | has_swap (swap_function< T, &T::swap > *dummy) |
template<typename T > | |
static no_tag | has_value_type (...) |
template<typename T > | |
static yes_tag | has_value_type (typename T::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 ®) |
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) |
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[]().
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 80 of file TriggerResultsBasedEventSelector.cc.
References edm::ParameterSet::empty(), edm::ParameterSet::getParameter(), mps_fire::i, eostools::move(), edm::detail::TriggerResultsBasedEventSelector::setup(), and edm::detail::TriggerResultsBasedEventSelector::setupDefault().
Referenced by edm::global::OutputModuleBase::doPreallocate(), edm::limited::OutputModuleBase::doPreallocate(), edm::one::OutputModuleBase::doPreallocate(), edm::global::OutputModuleBase::OutputModuleBase(), edm::limited::OutputModuleBase::OutputModuleBase(), edm::one::OutputModuleBase::OutputModuleBase(), and edm::SubProcess::SubProcess().
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 triggerObjects_cff::id, B2GTnPMonitor_cfi::item, and CalibratedDigis_cfi::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 triggerObjects_cff::id, createfilelist::int, B2GTnPMonitor_cfi::item, HLTBitAnalyser_cfi::simhits, CalibratedDigis_cfi::timeOffset, and edm::convertException::wrap().
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 triggerObjects_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 triggerObjects_cff::id, B2GTnPMonitor_cfi::item, and CalibratedDigis_cfi::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(), triggerObjects_cff::id, trackerHitRTTI::isFast(), 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 B2GTnPMonitor_cfi::item, eostools::move(), getGTfromDQMFile::obj, convertSQLitetoXML_cfg::output, 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 394 of file getThinned_implementation.h.
References edm::ThinnedAssociationsHelper::begin(), edm::ThinnedAssociationsHelper::end(), Exception, edm::errors::InvalidReference, crabWrapper::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 287 of file getThinned_implementation.h.
References getThinnedProductOnSlimmingDepth(), and crabWrapper::key.
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 67 of file getThinned_implementation.h.
References edm::ThinnedAssociation::getThinnedIndex(), crabWrapper::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 334 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 187 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(), and edm::ThinnedAssociation::thinnedCollectionID().
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().
auto edm::detail::makeThinnedIndexes | ( | std::vector< unsigned int > const & | keys, |
std::vector< WrapperBase const * > const & | foundContainers, | ||
ThinnedAssociation const * | thinnedAssociation | ||
) |
Definition at line 142 of file getThinned_implementation.h.
References edm::ThinnedAssociation::getThinnedIndex(), dqmdumpme::k, relativeConstraints::keys, kThinningDoNotLookForThisIndex, and eostools::move().
Referenced by getThinnedProductsOnSlimmingDepth().
|
inline |
Definition at line 97 of file ThreadSafeRegistry.h.
References edm::detail::ThreadSafeRegistry< KEY, T >::print().
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(), edm::errors::LogicError, Skims_PA_cff::name, edm::pointerToBase(), and edm::Exception::throwThis().
Referenced by edm::fillPtrVector(), edm::OwnArray< T, MAX_SIZE, P >::fillPtrVector(), edm::SortedCollection< EcalRecHit >::fillPtrVector(), and edm::OwnVector< TrackingRegion >::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 crabWrapper::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(), 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 163 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::one::OutputModuleBase::setEventSelectionInfo(), and edm::SubProcess::SubProcess().
|
constexpr |
Definition at line 21 of file getThinned_implementation.h.
Referenced by getThinnedProducts(), getThinnedProductsOnSlimmingDepth(), and makeThinnedIndexes().