test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 19 of file ParameterSetConverter.h.

Constructor & Destructor Documentation

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

Definition at line 31 of file ParameterSetConverter.cc.

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

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

Definition at line 47 of file ParameterSetConverter.cc.

47 {}

Member Data Documentation

StringVector edm::MainParameterSet::endPaths_

Definition at line 25 of file ParameterSetConverter.h.

Referenced by MainParameterSet().

ParameterSetID edm::MainParameterSet::oldID_

Definition at line 22 of file ParameterSetConverter.h.

ParameterSet edm::MainParameterSet::parameterSet_

Definition at line 23 of file ParameterSetConverter.h.

Referenced by MainParameterSet().

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

Definition at line 26 of file ParameterSetConverter.h.

Referenced by MainParameterSet().