CMS 3D CMS Logo

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>
13 
14 namespace edm {
15 
16  typedef std::vector<std::string> StringVector;
17 
19  MainParameterSet(ParameterSetID const& oldID, std::string const& psetString);
25  std::set<std::string> triggerPaths_;
26  };
27 
28  struct TriggerPath {
30  ~TriggerPath();
33  std::set<std::string> triggerPaths_;
34  };
35 
36  //------------------------------------------------------------
37  // Class ParameterSetConverter
38 
39  typedef std::map<ParameterSetID, ParameterSetBlob> ParameterSetMap;
41  public:
42  typedef std::list<std::string> StringList;
43  typedef std::map<std::string, std::string> StringMap;
44  typedef std::list<std::pair<std::string, ParameterSetID> > StringWithIDList;
45  typedef std::map<ParameterSetID, ParameterSetID> ParameterSetIdConverter;
47  ParameterSetIdConverter& idConverter,
48  bool alreadyByReference);
52 
54 
55  private:
56  void convertParameterSets();
59  std::vector<MainParameterSet> mainParameterSets_;
60  std::vector<TriggerPath> triggerPaths_;
63  };
64 } // namespace edm
65 #endif
TriggerPath(ParameterSet const &pset)
std::vector< std::string > StringVector
ParameterSetIdConverter & parameterSetIdConverter_
ParameterSetConverter(ParameterSetMap const &psetMap, ParameterSetIdConverter &idConverter, bool alreadyByReference)
std::vector< MainParameterSet > mainParameterSets_
ParameterSetConverter & operator=(const ParameterSetConverter &)=delete
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_
HLT enums.
std::list< std::pair< std::string, ParameterSetID > > StringWithIDList
ParameterSetIdConverter const & parameterSetIdConverter() const
std::list< std::string > StringList
MainParameterSet(ParameterSetID const &oldID, std::string const &psetString)
std::set< std::string > triggerPaths_