1 #ifndef FWCore_ParameterSet_ProcessDesc_h
2 #define FWCore_ParameterSet_ProcessDesc_h
4 #include "boost/shared_ptr.hpp"
15 explicit ProcessDesc(boost::shared_ptr<ParameterSet> pset);
36 void addServices(std::vector<std::string>
const& defaultServices,
37 std::vector<std::string>
const& forcedServices = std::vector<std::string>());
39 std::string
dump()
const;
41 boost::shared_ptr<ParameterSet>
pset_;
42 boost::shared_ptr<std::vector<ParameterSet> >
services_;
void addDefaultService(std::string const &service)
add a service if it's not already there
boost::shared_ptr< std::vector< ParameterSet > > services_
void addServices(std::vector< std::string > const &defaultServices, std::vector< std::string > const &forcedServices=std::vector< std::string >())
add some default services and forced services
void addService(ParameterSet &pset)
void addForcedService(std::string const &service)
add a service and replace it if it's already there
boost::shared_ptr< ParameterSet > getProcessPSet() const
get the parameter set
boost::shared_ptr< ParameterSet > pset_
boost::shared_ptr< std::vector< ParameterSet > > getServicesPSets() const
get the descriptions of the services
ProcessDesc(boost::shared_ptr< ParameterSet > pset)