#include <EventSetup.h>
Public Member Functions | |
EventSetup (TFile *) | |
EventSetup (const EventSetup &)=delete | |
bool | exists (const char *iRecordName) const |
const Record & | get (const RecordID &) const |
std::vector< std::string > | namesOfAvailableRecords () const |
const EventSetup & | operator= (const EventSetup &)=delete |
RecordID | recordID (const char *iRecordName) const |
void | syncTo (const edm::EventID &, const edm::Timestamp &) |
virtual | ~EventSetup () |
Private Attributes | |
TFile * | m_file |
std::vector< Record * > | m_records |
edm::EventID | m_syncedEvent |
edm::Timestamp | m_syncedTimestamp |
Definition at line 68 of file EventSetup.h.
EventSetup::EventSetup | ( | TFile * | iFile | ) |
Definition at line 38 of file EventSetup.cc.
|
delete |
|
virtual |
bool EventSetup::exists | ( | const char * | iRecordName | ) | const |
Returns true if a record with the name iRecordName is available in the file
Definition at line 74 of file EventSetup.cc.
References kRecordAuxiliaryBranchName, m_file, getGTfromDQMFile::obj, AlCaHLTBitMon_QueryRunRegistry::string, and fwlite::unformat_mangled_to_type().
Referenced by main().
Definition at line 117 of file EventSetup.cc.
References cms::cuda::assert(), and m_records.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), main(), FWLiteESSource::registerResolvers(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), FWLiteESSource::setIntervalFor(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), rrapi.RRApi::workspaces(), and util.rrapi.RRApi::workspaces().
std::vector< std::string > EventSetup::namesOfAvailableRecords | ( | ) | const |
Definition at line 122 of file EventSetup.cc.
References submitPVResolutionJobs::key, relativeConstraints::keys, m_file, GetRecoTauVFromDQM_MC_cff::next, getGTfromDQMFile::obj, and fwlite::unformat_mangled_to_type().
Referenced by FWLiteESSource::delaySettingRecords().
|
delete |
RecordID EventSetup::recordID | ( | const char * | iRecordName | ) | const |
Returns the lookup id of the record whose name is iRecordName. The returned id is only valid for the instance of an EventSetup object to which the recordID call was made. If you later create a new EventSetup instance even for the same file the RecordIDs can be different.
Definition at line 87 of file EventSetup.cc.
References Exception, fwlite::format_type_to_mangled(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, kRecordAuxiliaryBranchName, m_file, m_records, Skims_PA_cff::name, getGTfromDQMFile::obj, HLT_2024v13_cff::Record, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWLiteESSource::delaySettingRecords(), and main().
void EventSetup::syncTo | ( | const edm::EventID & | iID, |
const edm::Timestamp & | iTime | ||
) |
Ensures that all Records will access the appropriate data for this instant in time
Definition at line 66 of file EventSetup.cc.
References m_records, and fwlite::Record::syncTo().
Referenced by main(), and FWLiteESSource::setIntervalFor().
|
mutableprivate |
Definition at line 110 of file EventSetup.h.
Referenced by exists(), namesOfAvailableRecords(), and recordID().
|
mutableprivate |
Definition at line 112 of file EventSetup.h.
Referenced by get(), recordID(), syncTo(), and ~EventSetup().
|
private |
Definition at line 106 of file EventSetup.h.
|
private |
Definition at line 107 of file EventSetup.h.