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.

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  }

References MillePedeFileConverter_cfg::e, endPaths_, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), mps_fire::i, parameterSet_, paths_, edm::search_all(), and 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().

mps_fire.i
i
Definition: mps_fire.py:428
edm::ParameterSet::existsAs
bool existsAs(std::string const &parameterName, bool trackiness=true) const
checks if a parameter exists as a given type
Definition: ParameterSet.h:171
edm::MainParameterSet::endPaths_
StringVector endPaths_
Definition: ParameterSetConverter.h:24
edm::MainParameterSet::paths_
StringVector paths_
Definition: ParameterSetConverter.h:23
edm::MainParameterSet::triggerPaths_
std::set< std::string > triggerPaths_
Definition: ParameterSetConverter.h:25
edm::StringVector
std::vector< std::string > StringVector
Definition: ParameterSetConverter.h:16
edm::MainParameterSet::parameterSet_
ParameterSet parameterSet_
Definition: ParameterSetConverter.h:22
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
edm::MainParameterSet::oldID_
ParameterSetID oldID_
Definition: ParameterSetConverter.h:21
edm::search_all
bool search_all(ForwardSequence const &s, Datum const &d)
Definition: Algorithms.h:36
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37