#include <WeightCalcFactory.h>
WeightCalc * sbn::evwgh::WeightCalcFactory::Create |
( |
const std::string & |
classname | ) |
|
|
static |
Definition at line 7 of file sbncode/sbncode/SBNEventWeight/Base/WeightCalcFactory.cxx.
8 std::map<std::string, WeightCalcCreator*>::iterator i;
12 return i->second->Create();
15 return (WeightCalc*) NULL;
auto end(FixedBins< T, C > const &) noexcept
static std::map< std::string, WeightCalcCreator * > & GetTable()
std::map< std::string, WeightCalcCreator * > & sbn::evwgh::WeightCalcFactory::GetTable |
( |
| ) |
|
|
staticprivate |
void sbn::evwgh::WeightCalcFactory::Register |
( |
const std::string & |
wghcalcname, |
|
|
WeightCalcCreator * |
creator |
|
) |
| |
|
static |
The documentation for this class was generated from the following files: