CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions | Variables
edm::pset Namespace Reference

Classes

class  Registry
 
struct  TypeTrans
 

Functions

ParameterSetID const & getProcessParameterSetID ()
 
void setProcessParameterSetID (ParameterSetID const &id)
 Associated free functions. More...
 

Variables

static ParameterSetID s_ProcessParameterSetID
 

Function Documentation

ParameterSetID const & edm::pset::getProcessParameterSetID ( )

Return the ParameterSetID of the top-level ParameterSet. Note the the returned ParameterSetID may be invalid; this will happen if the Registry has not yet been filled.

Definition at line 64 of file Registry.cc.

References edm::hlt::Exception, edm::Hash< I >::isValid(), edm::errors::LogicError, and s_ProcessParameterSetID.

Referenced by edm::StreamerOutputModuleBase::serializeRegistry().

64  {
67  << "Illegal attempt to access the process top level parameter set ID\n"
68  << "before that parameter set has been frozen and registered.\n"
69  << "The parameter set can be changed during module validation,\n"
70  << "which occurs concurrently with module construction.\n"
71  << "It is illegal to access the parameter set before it is frozen.\n";
72  }
74  }
static ParameterSetID s_ProcessParameterSetID
Definition: Registry.cc:11
bool isValid() const
Definition: Hash.h:150
void edm::pset::setProcessParameterSetID ( ParameterSetID const &  id)

Associated free functions.

Save the ParameterSetID of the top-level ParameterSet.

Definition at line 76 of file Registry.cc.

References s_ProcessParameterSetID.

Referenced by edm::endpathsAreActive_().

76  {
78  }
static ParameterSetID s_ProcessParameterSetID
Definition: Registry.cc:11

Variable Documentation

ParameterSetID edm::pset::s_ProcessParameterSetID
static