CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
edm::MainParameterSet Struct Reference

#include <ParameterSetConverter.h>

Public Member Functions

 MainParameterSet (ParameterSetID const &oldID, std::string const &psetString)
 
 ~MainParameterSet ()
 

Public Attributes

StringVector endPaths_
 
ParameterSetID oldID_
 
ParameterSet parameterSet_
 
StringVector paths_
 
std::set< std::string > triggerPaths_
 

Detailed Description

Definition at line 18 of file ParameterSetConverter.h.

Constructor & Destructor Documentation

◆ MainParameterSet()

edm::MainParameterSet::MainParameterSet ( ParameterSetID const &  oldID,
std::string const &  psetString 
)

Definition at line 30 of file ParameterSetConverter.cc.

References MillePedeFileConverter_cfg::e, endPaths_, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), mps_fire::i, parameterSet_, paths_, edm::search_all(), and triggerPaths_.

31  : oldID_(oldID),
32  parameterSet_(psetString),
34  endPaths_(),
35  triggerPaths_() {
36  if (parameterSet_.existsAs<StringVector>("@end_paths")) {
38  }
39  for (StringVector::const_iterator i = paths_.begin(), e = paths_.end(); i != e; ++i) {
40  if (!search_all(endPaths_, *i)) {
41  triggerPaths_.insert(*i);
42  }
43  }
44  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
std::vector< std::string > StringVector
bool existsAs(std::string const &parameterName, bool trackiness=true) const
checks if a parameter exists as a given type
Definition: ParameterSet.h:171
bool search_all(ForwardSequence const &s, Datum const &d)
Definition: Algorithms.h:36
std::set< std::string > triggerPaths_

◆ ~MainParameterSet()

edm::MainParameterSet::~MainParameterSet ( )

Definition at line 46 of file ParameterSetConverter.cc.

46 {}

Member Data Documentation

◆ endPaths_

StringVector edm::MainParameterSet::endPaths_

Definition at line 24 of file ParameterSetConverter.h.

Referenced by MainParameterSet().

◆ oldID_

ParameterSetID edm::MainParameterSet::oldID_

Definition at line 21 of file ParameterSetConverter.h.

◆ parameterSet_

ParameterSet edm::MainParameterSet::parameterSet_

Definition at line 22 of file ParameterSetConverter.h.

Referenced by MainParameterSet().

◆ paths_

StringVector edm::MainParameterSet::paths_

◆ triggerPaths_

std::set<std::string> edm::MainParameterSet::triggerPaths_

Definition at line 25 of file ParameterSetConverter.h.

Referenced by MainParameterSet().