CMS 3D CMS Logo

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

#include <DropBoxMetadata.h>

Classes

class  Parameters
 

Public Member Functions

void addRecordParameters (const std::string &record, const Parameters &params)
 
 DropBoxMetadata ()
 Constructor. More...
 
const ParametersgetRecordParameters (const std::string &record) const
 
bool knowsRecord (const std::string &record) const
 
virtual ~DropBoxMetadata ()
 Destructor. More...
 

Private Attributes

std::map< std::string,
DropBoxMetadata::Parameters
recordSet
 

Detailed Description

No description available.

Date:
2011/03/02 17:09:28
Revision:
1.2
Author
G. Cerminara - CERN

Definition at line 16 of file DropBoxMetadata.h.

Constructor & Destructor Documentation

DropBoxMetadata::DropBoxMetadata ( )

Constructor.

Definition at line 16 of file DropBoxMetadata.cc.

16 {}
DropBoxMetadata::~DropBoxMetadata ( )
virtual

Destructor.

Definition at line 18 of file DropBoxMetadata.cc.

18 {}

Member Function Documentation

void DropBoxMetadata::addRecordParameters ( const std::string &  record,
const Parameters params 
)

Definition at line 41 of file DropBoxMetadata.cc.

References record, and recordSet.

41  {
42  recordSet[record] = params;
43 }
JetCorrectorParameters::Record record
Definition: classes.h:11
std::map< std::string, DropBoxMetadata::Parameters > recordSet
const DropBoxMetadata::Parameters & DropBoxMetadata::getRecordParameters ( const std::string &  record) const

Definition at line 45 of file DropBoxMetadata.cc.

References recordSet.

Referenced by PCLMetadataWriter::endRun().

45  {
46  return recordSet.find(record)->second;
47 }
JetCorrectorParameters::Record record
Definition: classes.h:11
std::map< std::string, DropBoxMetadata::Parameters > recordSet
bool DropBoxMetadata::knowsRecord ( const std::string &  record) const

Definition at line 49 of file DropBoxMetadata.cc.

References recordSet.

Referenced by PCLMetadataWriter::endRun().

49  {
50  if(recordSet.find(record) != recordSet.end()) return true;
51 
52  return false;
53 }
JetCorrectorParameters::Record record
Definition: classes.h:11
std::map< std::string, DropBoxMetadata::Parameters > recordSet

Member Data Documentation

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

Definition at line 49 of file DropBoxMetadata.h.

Referenced by addRecordParameters(), getRecordParameters(), and knowsRecord().