CMS 3D CMS Logo

Public Member Functions | Public Attributes

edm::MainParameterSet Struct Reference

#include <ParameterSetConverter.h>

List of all members.

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_.

                                                                                             :
      oldID_(oldID),
      parameterSet_(psetString),
      paths_(parameterSet_.getParameter<StringVector>("@paths")),
      endPaths_(),
      triggerPaths_() {
    if (parameterSet_.existsAs<StringVector>("@end_paths")) {
      endPaths_ = (parameterSet_.getParameter<StringVector>("@end_paths"));
    }
    for (StringVector::const_iterator i = paths_.begin(), e = paths_.end(); i != e; ++i) {
      if (!search_all(endPaths_, *i)) {
        triggerPaths_.insert(*i);
      }
    }
  }
edm::MainParameterSet::~MainParameterSet ( )

Definition at line 47 of file ParameterSetConverter.cc.

{}

Member Data Documentation

Definition at line 25 of file ParameterSetConverter.h.

Referenced by MainParameterSet().

Definition at line 22 of file ParameterSetConverter.h.

Definition at line 23 of file ParameterSetConverter.h.

Referenced by MainParameterSet().

Definition at line 24 of file ParameterSetConverter.h.

Referenced by MainParameterSet().

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

Definition at line 26 of file ParameterSetConverter.h.

Referenced by MainParameterSet().