All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sbncode/sbncode/SBNEventWeight/Base/WeightCalcCreator.cxx
Go to the documentation of this file.
1 #include "WeightCalcCreator.h"
2 #include "WeightCalcFactory.h"
3 
4 namespace sbn {
5  namespace evwgh {
6 
7 WeightCalcCreator::WeightCalcCreator(const std::string& wghcalcname) {
8  WeightCalcFactory::Register(wghcalcname, this);
9 }
10 
11  } // namespace evwgh
12 } // namespace sbn
13 
static void Register(const std::string &wghcalcname, WeightCalcCreator *creator)