CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ParameterSetConverter.h
Go to the documentation of this file.
1 #ifndef FWCore_ParameterSet_ParameterSetConverter_h
2 #define FWCore_ParameterSet_ParameterSetConverter_h
3 
4 #include <map>
5 #include <list>
6 #include <set>
7 #include <string>
8 #include <utility>
9 #include <vector>
10 #include "boost/utility.hpp"
14 
15 namespace edm {
16 
17  typedef std::vector<std::string> StringVector;
18 
20  MainParameterSet(ParameterSetID const& oldID, std::string const& psetString);
26  std::set<std::string> triggerPaths_;
27  };
28 
29  struct TriggerPath {
31  ~TriggerPath();
34  std::set<std::string> triggerPaths_;
35  };
36 
37  //------------------------------------------------------------
38  // Class ParameterSetConverter
39 
40  typedef std::map<ParameterSetID, ParameterSetBlob> ParameterSetMap;
41  class ParameterSetConverter : private boost::noncopyable {
42  public:
43  typedef std::list<std::string> StringList;
44  typedef std::map<std::string, std::string> StringMap;
45  typedef std::list<std::pair<std::string, ParameterSetID> > StringWithIDList;
46  typedef std::map<ParameterSetID, ParameterSetID> ParameterSetIdConverter;
47  ParameterSetConverter(ParameterSetMap const& psetMap, ParameterSetIdConverter& idConverter, bool alreadyByReference);
50  private:
51  void convertParameterSets();
54  std::vector<MainParameterSet> mainParameterSets_;
55  std::vector<TriggerPath> triggerPaths_;
58  };
59 }
60 #endif
ParameterSetIdConverter const & parameterSetIdConverter() const
TriggerPath(ParameterSet const &pset)
std::vector< std::string > StringVector
ParameterSetIdConverter & parameterSetIdConverter_
ParameterSetConverter(ParameterSetMap const &psetMap, ParameterSetIdConverter &idConverter, bool alreadyByReference)
std::vector< MainParameterSet > mainParameterSets_
std::vector< TriggerPath > triggerPaths_
std::map< ParameterSetID, ParameterSetID > ParameterSetIdConverter
std::map< std::string, std::string > StringMap
ParameterSet parameterSet_
std::map< ParameterSetID, ParameterSetBlob > ParameterSetMap
std::set< std::string > triggerPaths_
std::list< std::pair< std::string, ParameterSetID > > StringWithIDList
std::list< std::string > StringList
MainParameterSet(ParameterSetID const &oldID, std::string const &psetString)
std::set< std::string > triggerPaths_