Go to the documentation of this file.
81 : m_pset(iConfig), m_index(0) {
141 auto pRecord = iSetup.
find(it->first);
143 edm::LogWarning(
"RecordNotInIOV") <<
"The EventSetup Record '" << it->first.name()
144 <<
"' is not available for this IOV.";
146 if (it->second.size() <=
m_index) {
148 <<
"The vector of cacheIdentifiers for the record " << it->first.name() <<
" is too short";
150 if (pRecord && pRecord->cacheIdentifier() != it->second[
m_index]) {
152 <<
"The Record " << it->first.name() <<
" was supposed to have cacheIdentifier: " << it->second[
m_index]
153 <<
" but instead has " << pRecord->cacheIdentifier();
162 for (
auto const&
name : recordNames) {
182 "The label is the name of an EventSetup Record while the vector contains the expected cacheIdentifier values for "
183 "each beginRun, beginLuminosityBlock and event transition");
void analyze(const edm::Event &, const edm::EventSetup &) override
static HCTypeTag findType(char const *iTypeName)
find a type based on the types name, if not found will return default HCTypeTag
void beginRun(edm::Run const &, edm::EventSetup const &) override
T getUntrackedParameter(std::string const &, T const &) const
#define DEFINE_FWK_MODULE(type)
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
heterocontainer::HCTypeTag TypeTag
ParameterWildcardBase * addWildcardUntracked(U const &pattern)
void check(edm::EventSetup const &)
const TypeTag & type() const
std::vector< std::string > getParameterNamesForType(bool trackiness=true) const
std::optional< eventsetup::EventSetupRecordGeneric > find(const eventsetup::EventSetupRecordKey &iKey) const
std::map< eventsetup::EventSetupRecordKey, std::vector< unsigned int > > m_recordKeysToExpectedCacheIdentifiers
EventSetupCacheIdentifierChecker(const edm::ParameterSet &)
~EventSetupCacheIdentifierChecker() override
void addDefault(ParameterSetDescription const &psetDescription)