CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes | Friends
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 Member Functions

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

Private Attributes

std::map< std::string, DropBoxMetadata::ParametersrecordSet
 

Friends

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

Detailed Description

No description available.

Date
2011/02/23 16:55:18
Revision
1.1
Author
G. Cerminara - CERN

Definition at line 17 of file DropBoxMetadata.h.

Constructor & Destructor Documentation

DropBoxMetadata::DropBoxMetadata ( )

Constructor.

Definition at line 15 of file DropBoxMetadata.cc.

15 {}
DropBoxMetadata::~DropBoxMetadata ( )
virtual

Destructor.

Definition at line 17 of file DropBoxMetadata.cc.

17 {}

Member Function Documentation

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

Definition at line 32 of file DropBoxMetadata.cc.

References CalibrationSummaryClient_cfi::params, record, and recordSet.

32  {
34 }
JetCorrectorParameters::Record record
Definition: classes.h:7
std::map< std::string, DropBoxMetadata::Parameters > recordSet
const DropBoxMetadata::Parameters & DropBoxMetadata::getRecordParameters ( const std::string &  record) const

Definition at line 36 of file DropBoxMetadata.cc.

References recordSet.

Referenced by PCLMetadataWriter::endRun().

36  {
37  return recordSet.find(record)->second;
38 }
JetCorrectorParameters::Record record
Definition: classes.h:7
std::map< std::string, DropBoxMetadata::Parameters > recordSet
bool DropBoxMetadata::knowsRecord ( const std::string &  record) const

Definition at line 40 of file DropBoxMetadata.cc.

References recordSet.

Referenced by PCLMetadataWriter::endRun().

40  {
41  if (recordSet.find(record) != recordSet.end())
42  return true;
43 
44  return false;
45 }
JetCorrectorParameters::Record record
Definition: classes.h:7
std::map< std::string, DropBoxMetadata::Parameters > recordSet
template<class Archive >
void DropBoxMetadata::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 50 of file DropBoxMetadata.h.

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

Definition at line 50 of file DropBoxMetadata.h.

Member Data Documentation

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

Definition at line 48 of file DropBoxMetadata.h.

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