/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWCore/Framework/src/EndPathStatusInserter.cc
15 строк
527 B
Chris Jones
Simplify setting EDPutTokenT via call to produces
18 авг 2021, 16:06
18 авг 2021, 16:06
4011a22
Код
Авторство
О чём код?
#include "FWCore/Framework/src/EndPathStatusInserter.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Utilities/interface/StreamID.h" #include "DataFormats/Common/interface/EndPathStatus.h" #include <memory> namespace edm { EndPathStatusInserter::EndPathStatusInserter(unsigned int) : token_{produces()} {} void EndPathStatusInserter::produce(StreamID, edm::Event& event, edm::EventSetup const&) const { //Puts a default constructed EndPathStatus event.emplace(token_); } } // namespace edm