Classes | |
class | ProcessParameterSetIDCache |
struct | TypeTrans |
Typedefs | |
typedef detail::ThreadSafeRegistry < ParameterSetID, ParameterSet, ProcessParameterSetIDCache > | Registry |
typedef std::map < ParameterSetID, ParameterSetBlob > | regmap_type |
Functions | |
void | fillMap (Registry *reg, regmap_type &fillme) |
ParameterSetID | getProcessParameterSetID (Registry const *reg) |
Associated free functions. |
typedef detail::ThreadSafeRegistry<ParameterSetID, ParameterSet, ProcessParameterSetIDCache> edm::pset::Registry |
Definition at line 37 of file Registry.h.
typedef std::map<ParameterSetID, ParameterSetBlob> edm::pset::regmap_type |
Fill the given map with the persistent form of each ParameterSet in the given registry.
Definition at line 49 of file Registry.h.
void edm::pset::fillMap | ( | Registry * | reg, |
regmap_type & | fillme | ||
) |
Definition at line 24 of file Registry.cc.
References edm::detail::ThreadSafeRegistry< KEY, T, E >::begin(), alignCSCRings::e, edm::detail::ThreadSafeRegistry< KEY, T, E >::end(), and i.
Referenced by EcalCondDBInterface::fetchConfigDataSet(), MonPulseShapeDat::fetchData(), MonPNRedDat::fetchData(), MonLaserGreenDat::fetchData(), MonH4TablePositionDat::fetchData(), DCULVRTempsDat::fetchData(), DCUIDarkDat::fetchData(), CaliTempDat::fetchData(), CaliHVScanRatioDat::fetchData(), MonShapeQualityDat::fetchData(), ITimingDat::fetchData(), MonMemTTConsistencyDat::fetchData(), DCUCCSDat::fetchData(), MonPedestalsOnlineDat::fetchData(), RunTTErrorsDat::fetchData(), MonTestPulseDat::fetchData(), MonPNIRedDat::fetchData(), MonMemChConsistencyDat::fetchData(), MonDelaysTTDat::fetchData(), MODCCSTRDat::fetchData(), MonLaserRedDat::fetchData(), MonLaserPulseDat::fetchData(), MonLaserIRedDat::fetchData(), CaliGainRatioDat::fetchData(), MonPNLed1Dat::fetchData(), MonPNGreenDat::fetchData(), MonLaserBlueDat::fetchData(), DCUVFETempDat::fetchData(), DCUIDarkPedDat::fetchData(), CaliGeneralDat::fetchData(), MonPNLed2Dat::fetchData(), MonPNBlueDat::fetchData(), MonLed2Dat::fetchData(), MODDCCDetailsDat::fetchData(), CaliCrystalIntercalDat::fetchData(), MonPNPedDat::fetchData(), MonLed1Dat::fetchData(), MonPNMGPADat::fetchData(), MonLaserStatusDat::fetchData(), MODCCSFEDat::fetchData(), DCULVRVoltagesDat::fetchData(), MonPedestalOffsetsDat::fetchData(), MonOccupancyDat::fetchData(), MonCrystalConsistencyDat::fetchData(), DCULVRBTempsDat::fetchData(), MonTTConsistencyDat::fetchData(), MODCCSHFDat::fetchData(), DCUCapsuleTempDat::fetchData(), MODDCCOperationDat::fetchData(), DCUCapsuleTempRawDat::fetchData(), EcalCondDBInterface::fetchDataSet(), EcalCondDBInterface::fetchDataSetWithMap(), EcalCondDBInterface::fetchDCSDataSet(), EcalCondDBInterface::fetchFEDelaysForRun(), RunDCSHVDat::fetchHistoricalData(), RunDCSMagnetDat::fetchLastData(), and edm::StreamSerializer::serializeRegistry().
ParameterSetID edm::pset::getProcessParameterSetID | ( | Registry const * | reg | ) |
Associated free functions.
Return the ParameterSetID of the top-level ParameterSet stored in the given Registry. Note the the returned ParameterSetID may be invalid; this will happen if the Registry has not yet been filled.
Definition at line 11 of file Registry.cc.
References Exception, edm::detail::ThreadSafeRegistry< KEY, T, E >::extra(), edm::Hash< I >::isValid(), and edm::errors::LogicError.
Referenced by edm::getProcessParameterSet(), and edm::StreamerOutputModuleBase::serializeRegistry().
{ ParameterSetID const& psetID = reg->extra().id(); if (!psetID.isValid()) { throw edm::Exception(errors::LogicError) << "Illegal attempt to access the process top level parameter set ID\n" << "before that parameter set has been frozen and registered.\n" << "The parameter set can be changed during module validation,\n" << "which occurs concurrently with module construction.\n" << "It is illegal to access the parameter set before it is frozen.\n"; } return psetID; }