/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/ParticleFlowReco/src/PreId.cc
22 строки
474 B
Cms Build
Clang-Format
03 июн 2019, 06:34
03 июн 2019, 06:34
08e36f7
Код
Авторство
О чём код?
#include "DataFormats/ParticleFlowReco/interface/PreId.h" #include <iostream> using namespace reco; void PreId::setMatching(MatchingType type, bool result, unsigned n) { if (n < matching_.size()) { if (result) { matching_[n] |= (1 << type); } else { matching_[n] &= ~(1 << type); } } else { std::cout << " Out of range " << std::endl; } } float PreId::mva(unsigned n) const { if (n < mva_.size()) return mva_[n]; return -999.; }