/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/Common/src/DetSetVectorNew.cc
29 строк
1 KB
W. David Dagenhart
From scram b code-format-all (clang-format)
10 май 2019, 17:51
10 май 2019, 17:51
82e0ab0
Код
Авторство
О чём код?
#include "DataFormats/Common/interface/DetSetVectorNew.h" #include "FWCore/Utilities/interface/EDMException.h" namespace edmNew { namespace dstvdetails { void errorFilling() { throw edm::Exception(edm::errors::LogicError, "Instantiating a second DetSetVector::FastFiller") << "only one DetSetVector::FastFiller can be active at a given time!"; } void notSafe() { throw edm::Exception(edm::errors::LogicError, "Instantiating a DetSetVector::FastFiller for OnDemand") << "use DetSetVector::TSFastFiller"; } void errorIdExists(det_id_type iid) { throw edm::Exception(edm::errors::InvalidReference) << "DetSetVector::inserv called with index already in collection;\n" << "index value: " << iid; } void throw_range(det_id_type iid) { throw edm::Exception(edm::errors::InvalidReference) << "DetSetVector::operator[] called with index not in collection;\n" << "index value: " << iid; } } // namespace dstvdetails } // namespace edmNew