/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DetectorDescription/DDCMS/plugins/test/DDTestVectorAlgo.cc
18 строк
554 B
Ianna Osborne
remove SensitiveDetector
05 окт 2020, 12:44
05 окт 2020, 12:44
4c91583
Код
Авторство
О чём код?
#include "DD4hep/DetFactoryHelper.h" #include "DetectorDescription/DDCMS/interface/DDPlugins.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" using namespace std; using namespace dd4hep; using namespace cms; static long algorithm(Detector&, cms::DDParsingContext& ctxt, xml_h e) { cms::DDNamespace ns(ctxt, e, true); DDAlgoArguments args(ctxt, e); vector<string> materials = args.vecStr("MaterialNames"); return 1; } // first argument is the type from the xml file DECLARE_DDCMS_DETELEMENT(DDCMS_test_DDTestVectorAlgo, algorithm)