CMS 3D CMS Logo

Public Types | Public Member Functions | Private Member Functions

DefaultFFTJetRcdMapper< DataType > Struct Template Reference

#include <FFTJetRcdMapper.h>

Inheritance diagram for DefaultFFTJetRcdMapper< DataType >:
map

List of all members.

Public Types

typedef DataType data_type

Public Member Functions

 DefaultFFTJetRcdMapper ()
void load (const edm::EventSetup &iSetup, const std::string &record, const std::string &label, edm::ESHandle< DataType > &handle) const
void load (const edm::EventSetup &iSetup, const std::string &record, edm::ESHandle< DataType > &handle) const
virtual ~DefaultFFTJetRcdMapper ()

Private Member Functions

 DefaultFFTJetRcdMapper (const DefaultFFTJetRcdMapper &)
DefaultFFTJetRcdMapperoperator= (const DefaultFFTJetRcdMapper &)

Detailed Description

template<class DataType>
struct DefaultFFTJetRcdMapper< DataType >

Definition at line 49 of file FFTJetRcdMapper.h.


Member Typedef Documentation

template<class DataType>
typedef DataType DefaultFFTJetRcdMapper< DataType >::data_type

Definition at line 52 of file FFTJetRcdMapper.h.


Constructor & Destructor Documentation

template<class DataType>
DefaultFFTJetRcdMapper< DataType >::DefaultFFTJetRcdMapper ( ) [inline]

Definition at line 54 of file FFTJetRcdMapper.h.

        : std::map<std::string, AbsFFTJetRcdMapper<DataType>*>() {}
template<class DataType>
virtual DefaultFFTJetRcdMapper< DataType >::~DefaultFFTJetRcdMapper ( ) [inline, virtual]

Definition at line 57 of file FFTJetRcdMapper.h.

    {
        for (typename std::map<std::string, AbsFFTJetRcdMapper<DataType>*>::
                 iterator it = this->begin(); it != this->end(); ++it)
            delete it->second;
    }
template<class DataType>
DefaultFFTJetRcdMapper< DataType >::DefaultFFTJetRcdMapper ( const DefaultFFTJetRcdMapper< DataType > &  ) [private]

Member Function Documentation

template<class DataType>
void DefaultFFTJetRcdMapper< DataType >::load ( const edm::EventSetup iSetup,
const std::string &  record,
edm::ESHandle< DataType > &  handle 
) const [inline]

Definition at line 64 of file FFTJetRcdMapper.h.

    {
        typename std::map<std::string, AbsFFTJetRcdMapper<DataType>*>::
            const_iterator it = this->find(record);
        if (it == this->end())
            throw cms::Exception("KeyNotFound")
                << "Record \"" << record << "\" is not registered\n";
        it->second->load(iSetup, handle);
    }
template<class DataType>
void DefaultFFTJetRcdMapper< DataType >::load ( const edm::EventSetup iSetup,
const std::string &  record,
const std::string &  label,
edm::ESHandle< DataType > &  handle 
) const [inline]

Definition at line 76 of file FFTJetRcdMapper.h.

    {
        typename std::map<std::string, AbsFFTJetRcdMapper<DataType>*>::
            const_iterator it = this->find(record);
        if (it == this->end())
            throw cms::Exception("KeyNotFound")
                << "Record \"" << record << "\" is not registered\n";
        it->second->load(iSetup, label, handle);
    }
template<class DataType>
DefaultFFTJetRcdMapper& DefaultFFTJetRcdMapper< DataType >::operator= ( const DefaultFFTJetRcdMapper< DataType > &  ) [private]