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__(), trackTools.MakeAODTrackCandidates::__init__(), coreTools.RunOnData::__init__(), HiCoreTools.RestrictInputToAOD::__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__(), trackTools.MakeTrackCandidates::__init__(), trigTools.SwitchOnTriggerMatching::__init__(), HiCoreTools.RemoveCleaning::__init__(), jetTools.AddJetCollection::__init__(), tauTools.AddTauCollection::__init__(), HiCoreTools.AddCleaning::__init__(), trigTools.SwitchOnTriggerMatchingStandAlone::__init__(), trigTools.SwitchOnTriggerMatchEmbedding::__init__(), jetTools.SwitchJetCollection::__init__(), jetTools.UpdateJetCollection::__init__(), jetTools.AddJetID::__init__(), and jetTools.SetTagInfos::__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 run_regression::ret.

Referenced by Mixins._Parameterizable::hasParameter().

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 }
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().