/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWCore/Framework/interface/InputSourceDescription.h
51 строка
2 KB
Chris Jones
Removed support for thinning
09 мар 2026, 22:07
09 мар 2026, 22:07
2bcf291
Код
Авторство
О чём код?
#ifndef FWCore_Framework_InputSourceDescription_h #define FWCore_Framework_InputSourceDescription_h /*---------------------------------------------------------------------- InputSourceDescription : the stuff that is needed to configure an input source that does not come in through the ParameterSet ----------------------------------------------------------------------*/ #include <memory> #include "DataFormats/Provenance/interface/ModuleDescription.h" #include "FWCore/Common/interface/FWCoreCommonFwd.h" #include "FWCore/Framework/interface/PreallocationConfiguration.h" namespace edm { class ProductRegistry; class ActivityRegistry; class BranchIDListHelper; class PreallocationConfiguration; struct InputSourceDescription { InputSourceDescription() : moduleDescription_(), actReg_(), maxEvents_(-1), maxLumis_(-1), allocations_(nullptr) {} InputSourceDescription(ModuleDescription const& md, std::shared_ptr<BranchIDListHelper> branchIDListHelper, std::shared_ptr<ProcessBlockHelper> const& processBlockHelper, std::shared_ptr<ActivityRegistry> areg, int maxEvents, int maxLumis, int maxSecondsUntilRampdown, PreallocationConfiguration const& allocations) : moduleDescription_(md), branchIDListHelper_(branchIDListHelper), processBlockHelper_(processBlockHelper), actReg_(areg), maxEvents_(maxEvents), maxLumis_(maxLumis), maxSecondsUntilRampdown_(maxSecondsUntilRampdown), allocations_(&allocations) {} ModuleDescription moduleDescription_; std::shared_ptr<BranchIDListHelper> branchIDListHelper_; std::shared_ptr<ProcessBlockHelper> processBlockHelper_; std::shared_ptr<ActivityRegistry> actReg_; // We do not use propagate_const because the registry itself is mutable. int maxEvents_; int maxLumis_; int maxSecondsUntilRampdown_; PreallocationConfiguration const* allocations_; }; } // namespace edm #endif