11 return i->second->Create();
23 static std::map<std::string, WeightCalcCreator*> table;
static WeightCalc * Create(const std::string &classname)
static std::map< std::string, WeightCalcCreator * > & GetTable()
std::vector< evd::details::RawDigitInfo_t >::const_iterator end(RawDigitCacheDataClass const &cache)
static void Register(const std::string &wghcalcname, WeightCalcCreator *creator)