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(), MonLaserGreenDat::fetchData(), MonPNRedDat::fetchData(), MonPulseShapeDat::fetchData(), CaliHVScanRatioDat::fetchData(), CaliTempDat::fetchData(), DCUIDarkDat::fetchData(), DCULVRTempsDat::fetchData(), MonH4TablePositionDat::fetchData(), ITimingDat::fetchData(), MonShapeQualityDat::fetchData(), DCUCCSDat::fetchData(), MonMemTTConsistencyDat::fetchData(), MonPedestalsOnlineDat::fetchData(), RunTTErrorsDat::fetchData(), MODCCSTRDat::fetchData(), MonDelaysTTDat::fetchData(), MonMemChConsistencyDat::fetchData(), MonPNIRedDat::fetchData(), MonTestPulseDat::fetchData(), CaliGainRatioDat::fetchData(), MonLaserIRedDat::fetchData(), MonLaserPulseDat::fetchData(), MonLaserRedDat::fetchData(), CaliGeneralDat::fetchData(), DCUIDarkPedDat::fetchData(), DCUVFETempDat::fetchData(), MonLaserBlueDat::fetchData(), MonPNGreenDat::fetchData(), MonPNLed1Dat::fetchData(), CaliCrystalIntercalDat::fetchData(), MODDCCDetailsDat::fetchData(), MonLed2Dat::fetchData(), MonPNBlueDat::fetchData(), MonPNLed2Dat::fetchData(), MonLed1Dat::fetchData(), MonPNPedDat::fetchData(), DCULVRVoltagesDat::fetchData(), MODCCSFEDat::fetchData(), MonLaserStatusDat::fetchData(), MonPNMGPADat::fetchData(), DCULVRBTempsDat::fetchData(), MonCrystalConsistencyDat::fetchData(), MonOccupancyDat::fetchData(), MonPedestalOffsetsDat::fetchData(), DCUCapsuleTempDat::fetchData(), MODCCSHFDat::fetchData(), MonTTConsistencyDat::fetchData(), DCUCapsuleTempRawDat::fetchData(), MODDCCOperationDat::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; }