CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions
StaticFFTJetObjectFactory< Factory > Class Template Reference

#include <FFTJetObjectFactory.h>

Public Types

typedef Factory::Base::base_type base_type
 

Public Member Functions

 StaticFFTJetObjectFactory ()=delete
 

Static Public Member Functions

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

Detailed Description

template<class Factory>
class StaticFFTJetObjectFactory< Factory >

Definition at line 53 of file FFTJetObjectFactory.h.

Member Typedef Documentation

◆ base_type

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

Definition at line 55 of file FFTJetObjectFactory.h.

Constructor & Destructor Documentation

◆ StaticFFTJetObjectFactory()

template<class Factory >
StaticFFTJetObjectFactory< Factory >::StaticFFTJetObjectFactory ( )
delete

Member Function Documentation

◆ instance()

template<class Factory >
static const Factory& StaticFFTJetObjectFactory< Factory >::instance ( )
inlinestatic

Definition at line 57 of file FFTJetObjectFactory.h.

References getGTfromDQMFile::obj.

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

57  {
58  static Factory const obj;
59  return obj;
60  }

◆ registerType()

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

Definition at line 63 of file FFTJetObjectFactory.h.

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

63  {
64  Factory& rd = const_cast<Factory&>(instance());
65  delete rd[className];
67  }
static const Factory & instance()
std::string className(const T &t)
Definition: ClassName.h:31