Public Member Functions | List of all members
protoana::ThinSliceDriverFactory< T > Class Template Reference

#include <ThinSliceDriverFactory.h>

Inheritance diagram for protoana::ThinSliceDriverFactory< T >:
protoana::BaseThinSliceDriverFactory

Public Member Functions

 ThinSliceDriverFactory (const std::string name)
 
virtual ThinSliceDriverInstantiate (const fhicl::ParameterSet &extra_options)
 

Detailed Description

template<typename T>
class protoana::ThinSliceDriverFactory< T >

Definition at line 16 of file ThinSliceDriverFactory.h.

Constructor & Destructor Documentation

template<typename T >
protoana::ThinSliceDriverFactory< T >::ThinSliceDriverFactory ( const std::string  name)
inline

Definition at line 20 of file ThinSliceDriverFactory.h.

20  {
22  }
static QCString name
Definition: declinfo.cpp:673
void AddFactory(std::string name, BaseThinSliceDriverFactory *factory)
static ThinSliceDriverRegistry * Instance()

Member Function Documentation

template<typename T >
virtual ThinSliceDriver* protoana::ThinSliceDriverFactory< T >::Instantiate ( const fhicl::ParameterSet extra_options)
inlinevirtual

Implements protoana::BaseThinSliceDriverFactory.

Definition at line 24 of file ThinSliceDriverFactory.h.

25  {
26  return new T(extra_options);
27  }

The documentation for this class was generated from the following file: