CMS 3D CMS Logo

Public Types | Static Public Member Functions | Private Member Functions

StaticFFTJetObjectFactory< Factory > Class Template Reference

#include <FFTJetObjectFactory.h>

List of all members.

Public Types

typedef Factory::Base::base_type base_type

Static Public Member Functions

static const Factory & instance ()
template<class T >
static void registerType (const std::string &className)

Private Member Functions

 StaticFFTJetObjectFactory ()

Detailed Description

template<class Factory>
class StaticFFTJetObjectFactory< Factory >

Definition at line 65 of file FFTJetObjectFactory.h.


Member Typedef Documentation

template<class Factory >
typedef Factory::Base::base_type StaticFFTJetObjectFactory< Factory >::base_type

Definition at line 68 of file FFTJetObjectFactory.h.


Constructor & Destructor Documentation

template<class Factory >
StaticFFTJetObjectFactory< Factory >::StaticFFTJetObjectFactory ( ) [private]

Member Function Documentation

template<class Factory >
static const Factory& StaticFFTJetObjectFactory< Factory >::instance ( ) [inline, static]

Definition at line 70 of file FFTJetObjectFactory.h.

References getGTfromDQMFile::obj.

Referenced by parseFFTSpecificScaleCalculator(), and StaticFFTJetObjectFactory< Factory >::registerType().

    {
        static Factory obj;
        return obj;
    }
template<class Factory >
template<class T >
static void StaticFFTJetObjectFactory< Factory >::registerType ( const std::string &  className) [inline, static]

Definition at line 77 of file FFTJetObjectFactory.h.

References className(), and StaticFFTJetObjectFactory< Factory >::instance().

    {
        Factory& rd = const_cast<Factory&>(instance());
        delete rd[className];
        rd[className] = new ConcreteFFTJetObjectFactory<base_type,T>();
    }