CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
DropBoxMetadata::Parameters Class Reference

#include <DropBoxMetadata.h>

Public Member Functions

void addParameter (const std::string &key, const std::string &vale)
 
std::string getParameter (const std::string &key) const
 
const std::map< std::string,
std::string > & 
getParameterMap () const
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

std::map< std::string,
std::string > 
theParameters
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 27 of file DropBoxMetadata.h.

Member Function Documentation

void DropBoxMetadata::Parameters::addParameter ( const std::string &  key,
const std::string &  vale 
)

Definition at line 21 of file DropBoxMetadata.cc.

References relval_steps::key, theParameters, and relativeConstraints::value.

Referenced by editorTools.UserCodeTool::__init__(), metTools.AddMETCollection::__init__(), and editorTools.ChangeSource::__init__().

21  {
23 }
std::map< std::string, std::string > theParameters
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
string DropBoxMetadata::Parameters::getParameter ( const std::string &  key) const

Definition at line 25 of file DropBoxMetadata.cc.

References runTheMatrix::ret.

25  {
26  string ret;
27  map<string, string>::const_iterator thePair = theParameters.find(key);
28  if(thePair != theParameters.end()) {
29  ret = (*thePair).second;
30  }
31  return ret;
32 }
tuple ret
prodAgent to be discontinued
std::map< std::string, std::string > theParameters
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
const map< string, string > & DropBoxMetadata::Parameters::getParameterMap ( ) const

Definition at line 34 of file DropBoxMetadata.cc.

Referenced by PCLMetadataWriter::endRun().

34  {
35  return theParameters;
36 }
std::map< std::string, std::string > theParameters
template<class Archive >
void DropBoxMetadata::Parameters::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 40 of file DropBoxMetadata.h.

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 40 of file DropBoxMetadata.h.

Member Data Documentation

std::map<std::string, std::string> DropBoxMetadata::Parameters::theParameters
private

Definition at line 38 of file DropBoxMetadata.h.

Referenced by addParameter().