All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
evwgh::WeightCalcImpl< T > Class Template Reference

#include <WeightCalcCreator.h>

Inheritance diagram for evwgh::WeightCalcImpl< T >:
evwgh::WeightCalcCreator

Public Member Functions

 WeightCalcImpl (const std::string &classname)
 
virtual ~WeightCalcImpl ()
 
virtual WeightCalcCreate ()
 
- Public Member Functions inherited from evwgh::WeightCalcCreator
 WeightCalcCreator (const std::string &classname)
 
virtual ~WeightCalcCreator ()=default
 

Detailed Description

template<class T>
class evwgh::WeightCalcImpl< T >

Definition at line 20 of file larsim/larsim/EventWeight/Base/WeightCalcCreator.h.

Constructor & Destructor Documentation

template<class T >
evwgh::WeightCalcImpl< T >::WeightCalcImpl ( const std::string &  classname)
inline

Definition at line 23 of file larsim/larsim/EventWeight/Base/WeightCalcCreator.h.

23 : WeightCalcCreator(classname) {std::cout << __PRETTY_FUNCTION__ << " called." << std::endl;}
BEGIN_PROLOG could also be cout
template<class T >
virtual evwgh::WeightCalcImpl< T >::~WeightCalcImpl ( )
inlinevirtual

Definition at line 24 of file larsim/larsim/EventWeight/Base/WeightCalcCreator.h.

24 {}

Member Function Documentation

template<class T >
virtual WeightCalc* evwgh::WeightCalcImpl< T >::Create ( )
inlinevirtual

Implements evwgh::WeightCalcCreator.

Definition at line 25 of file larsim/larsim/EventWeight/Base/WeightCalcCreator.h.

25 { return new T; }

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