CMS 3D CMS Logo

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 25 of file DropBoxMetadata.h.

Member Function Documentation

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

Definition at line 19 of file DropBoxMetadata.cc.

References crabWrapper::key, and relativeConstraints::value.

Referenced by editorTools.UserCodeTool::__init__(), metTools.AddMETCollection::__init__(), trackTools.MakeAODTrackCandidates::__init__(), HiCoreTools.RestrictInputToAOD::__init__(), coreTools.RunOnData::__init__(), runJetUncertainties.RunJetUncertainties::__init__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::__init__(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool::__init__(), editorTools.ChangeSource::__init__(), cmsswVersionTools.PickRelValInputFiles::__init__(), HiCoreTools.RemoveMCMatching::__init__(), coreTools.RemoveMCMatching::__init__(), trackTools.MakePATTrackCandidates::__init__(), trigTools.SwitchOnTrigger::__init__(), HiCoreTools.RemoveAllPATObjectsBut::__init__(), HiCoreTools.RemoveSpecificPATObjects::__init__(), trigTools.SwitchOnTriggerStandAlone::__init__(), tauTools.AddTauCollection::__init__(), trackTools.MakeTrackCandidates::__init__(), trigTools.SwitchOnTriggerMatching::__init__(), HiCoreTools.RemoveCleaning::__init__(), HiCoreTools.AddCleaning::__init__(), trigTools.SwitchOnTriggerMatchingStandAlone::__init__(), trigTools.SwitchOnTriggerMatchEmbedding::__init__(), jetTools.AddJetCollection::__init__(), jetTools.SwitchJetCollection::__init__(), jetTools.UpdateJetCollection::__init__(), jetTools.AddJetID::__init__(), and jetTools.SetTagInfos::__init__().

19 { theParameters[key] = value; }
std::map< std::string, std::string > theParameters
string DropBoxMetadata::Parameters::getParameter ( const std::string &  key) const

Definition at line 21 of file DropBoxMetadata.cc.

References runTheMatrix::ret.

Referenced by Mixins._Parameterizable::hasParameter().

21  {
22  string ret;
23  map<string, string>::const_iterator thePair = theParameters.find(key);
24  if (thePair != theParameters.end()) {
25  ret = (*thePair).second;
26  }
27  return ret;
28 }
ret
prodAgent to be discontinued
std::map< std::string, std::string > theParameters
const map< string, string > & DropBoxMetadata::Parameters::getParameterMap ( ) const

Definition at line 30 of file DropBoxMetadata.cc.

Referenced by PCLMetadataWriter::endRun().

30 { return theParameters; }
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 36 of file DropBoxMetadata.h.

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

Definition at line 36 of file DropBoxMetadata.h.

Member Data Documentation

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

Definition at line 34 of file DropBoxMetadata.h.