test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DropBoxMetadata.h
Go to the documentation of this file.
1 #ifndef CondFormatsCommon_DropBoxMetadata_H
2 #define CondFormatsCommon_DropBoxMetadata_H
3 
14 
15 #include <map>
16 #include <string>
17 
19 public:
22 
24  virtual ~DropBoxMetadata();
25 
26 
27  class Parameters {
28  public:
29 
30  void addParameter(const std::string& key, const std::string& vale);
31 
32  std::string getParameter(const std::string& key) const;
33 
34  const std::map<std::string, std::string> & getParameterMap() const;
35 
36  private:
37 
38  std::map<std::string, std::string> theParameters;
39 
41 };
42 
43  // Operations
44  void addRecordParameters(const std::string& record, const Parameters& params);
45 
46  const Parameters& getRecordParameters(const std::string& record) const;
47 
48  bool knowsRecord(const std::string& record) const;
49 
50 protected:
51 
52 private:
53  std::map<std::string, DropBoxMetadata::Parameters> recordSet;
54 
55 
57 };
58 #endif
59 
JetCorrectorParameters::Record record
Definition: classes.h:7
bool knowsRecord(const std::string &record) const
std::string getParameter(const std::string &key) const
std::map< std::string, std::string > theParameters
const std::map< std::string, std::string > & getParameterMap() const
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
void addParameter(const std::string &key, const std::string &vale)
#define COND_SERIALIZABLE
Definition: Serializable.h:37
std::map< std::string, DropBoxMetadata::Parameters > recordSet
void addRecordParameters(const std::string &record, const Parameters &params)
virtual ~DropBoxMetadata()
Destructor.
const Parameters & getRecordParameters(const std::string &record) const
DropBoxMetadata()
Constructor.