|
void | analyze (edm::Event const &, edm::EventSetup const &) override |
|
void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
|
void | beginRun (edm::Run const &, edm::EventSetup const &) override |
|
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
|
void | endRun (edm::Run const &, edm::EventSetup const &) override |
|
| PrintEventSetupDataRetrieval (edm::ParameterSet const &) |
|
| EDAnalyzer ()=default |
|
| EDAnalyzer (const EDAnalyzer &)=delete |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
const EDAnalyzer & | operator= (const EDAnalyzer &)=delete |
|
bool | wantsGlobalLuminosityBlocks () const noexcept final |
|
bool | wantsGlobalRuns () const noexcept final |
|
bool | wantsInputProcessBlocks () const noexcept final |
|
bool | wantsProcessBlocks () const noexcept final |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const noexcept |
|
bool | wantsStreamRuns () const noexcept |
|
| ~EDAnalyzerBase () 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 EDAnalyzerBase | ModuleType |
|
typedef ProductLabels | Labels |
|
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) |
|
void edm::PrintEventSetupDataRetrieval::check |
( |
EventSetup const & |
iES | ) |
|
|
private |
Definition at line 138 of file PrintEventSetupDataRetrieval.cc.
References cms::cuda::assert(), ztail::d, edm::EventSetup::fillAvailableRecordKeys(), edm::EventSetup::find(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, relativeConstraints::keys, m_printProviders, m_recordKeys, m_retrievedDataMap, and mps_check::msg.
Referenced by analyze(), beginLuminosityBlock(), and beginRun().
143 std::unique_ptr<LogSystem>
msg;
144 for (std::vector<eventsetup::EventSetupRecordKey>::const_iterator
it =
m_recordKeys.begin(),
149 auto r = iES.find(*
it);
156 .insert(std::make_pair(*
it, std::pair<
unsigned long long, std::map<eventsetup::DataKey, bool> >()))
158 itRetrievedData->second.first =
r->cacheIdentifier();
159 std::vector<eventsetup::DataKey>
keys;
160 r->fillRegisteredDataKeys(
keys);
161 for (std::vector<eventsetup::DataKey>::const_iterator itData =
keys.begin(), itDataEnd =
keys.end();
164 itRetrievedData->second.second.insert(std::make_pair(*itData,
false));
168 if (itRetrievedData->second.first !=
r->cacheIdentifier()) {
169 itRetrievedData->second.first =
r->cacheIdentifier();
170 for (std::map<eventsetup::DataKey, bool>::iterator itDatum = retrievedData.second.second.begin(),
171 itDatumEnd = retrievedData.second.second.end();
172 itDatum != itDatumEnd;
174 itDatum->second =
false;
178 for (std::map<eventsetup::DataKey, bool>::iterator itDatum = retrievedData.second.second.begin(),
179 itDatumEnd = retrievedData.second.second.end();
180 itDatum != itDatumEnd;
182 bool wasGotten =
r->wasGotten(itDatum->first);
183 if (wasGotten != itDatum->second) {
185 msg = std::make_unique<LogSystem>(
"ESContent");
188 itDatum->second = wasGotten;
189 *
msg <<
"Retrieved> record:" <<
it->name() <<
" data:" << itDatum->first.type().name() <<
" '" 190 << itDatum->first.name().value() <<
"'";
194 *
msg <<
" provider:" <<
d->type_ <<
" '" <<
d->label_ <<
"'";
RetrievedDataMap m_retrievedDataMap
std::vector< eventsetup::EventSetupRecordKey > m_recordKeys
Container::value_type value_type
const bool m_printProviders