CMS 3D CMS Logo

Public Types | Static Public Member Functions | Private Member Functions

StaticFFTJetRcdMapper< Mapper > Class Template Reference

#include <FFTJetRcdMapper.h>

List of all members.

Public Types

typedef Mapper::Base::data_type data_type

Static Public Member Functions

static const Mapperinstance ()
template<class Record >
static void registerRecord (const std::string &record)

Private Member Functions

 StaticFFTJetRcdMapper ()

Detailed Description

template<class Mapper>
class StaticFFTJetRcdMapper< Mapper >

Definition at line 98 of file FFTJetRcdMapper.h.


Member Typedef Documentation

template<class Mapper >
typedef Mapper::Base::data_type StaticFFTJetRcdMapper< Mapper >::data_type

Definition at line 101 of file FFTJetRcdMapper.h.


Constructor & Destructor Documentation

template<class Mapper >
StaticFFTJetRcdMapper< Mapper >::StaticFFTJetRcdMapper ( ) [private]

Member Function Documentation

template<class Mapper >
static const Mapper& StaticFFTJetRcdMapper< Mapper >::instance ( ) [inline, static]

Definition at line 103 of file FFTJetRcdMapper.h.

References getGTfromDQMFile::obj.

Referenced by StaticFFTJetRcdMapper< Mapper >::registerRecord().

    {
        static Mapper obj;
        return obj;
    }
template<class Mapper >
template<class Record >
static void StaticFFTJetRcdMapper< Mapper >::registerRecord ( const std::string &  record) [inline, static]

Definition at line 110 of file FFTJetRcdMapper.h.

References StaticFFTJetRcdMapper< Mapper >::instance(), and record.

    {
        Mapper& rd = const_cast<Mapper&>(instance());
        delete rd[record];
        rd[record] = new ConcreteFFTJetRcdMapper<data_type,Record>();
    }