/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CommonTools/ParticleFlow/interface/EventHypothesis.h
37 строк
963 B
Cms Build
Clang-Format
05 июн 2019, 13:57
05 июн 2019, 13:57
a7d7e58
Код
Авторство
О чём код?
#ifndef __CommonTools_ParticleFlow_interface_EventHypothesis__ #define __CommonTools_ParticleFlow_interface_EventHypothesis__ #include "FWCore/ParameterSet/interface/ParameterSet.h" #include <map> #include <string> namespace pf2pat { class EventHypothesis { public: /// the name of the parameter set is given to the event hypothesis /// the parameter set must contain a vstring named "sequence" /// and at least a parameter set named after each string in the /// sequence. EventHypothesis(const edm::ParameterSet& ps); private: // need a base class for all algorithms/producers typedef std::string Producer; typedef std::map<std::string, Producer> Producers; typedef std::vector<std::string> Sequence; /// unique name std::string name_; /// map of producers, indexed by producer name Producers producers_; /// sequence of producers Sequence sequence_; }; } // namespace pf2pat #endif