/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DetectorDescription/Core/src/DDAlgorithmHandler.cc
20 строк
979 B
Matti Kortelainen
Remove redundant unique_ptr constructor call from DDAlgorithmHandler
12 июн 2019, 17:16
12 июн 2019, 17:16
ee48640
Код
Авторство
О чём код?
#include "DetectorDescription/Core/interface/DDAlgorithmHandler.h" #include "DetectorDescription/Core/interface/DDAlgorithm.h" #include "DetectorDescription/Core/interface/DDAlgorithmFactory.h" #include "FWCore/PluginManager/interface/PluginFactory.h" class DDCompactView; void DDAlgorithmHandler::initialize(const DDName& algoName, const DDLogicalPart& parent, const DDNumericArguments& nArgs, const DDVectorArguments& vArgs, const DDMapArguments& mArgs, const DDStringArguments& sArgs, const DDStringVectorArguments& svArgs) { algo_ = DDAlgorithmFactory::get()->create(algoName.fullname()); algo_->setParent(parent); algo_->initialize(nArgs, vArgs, mArgs, sArgs, svArgs); } void DDAlgorithmHandler::execute(DDCompactView& cpv) { algo_->execute(cpv); }