/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/HGCalReco/src/throwOutOfBoundsException.cc
14 строк
501 B
Christopher Jones
TICLLayerTile throws exception if fill request is out of bounds
06 май 2026, 22:40
06 май 2026, 22:40
4b01f0e
Код
Авторство
О чём код?
#include "DataFormats/HGCalReco/interface/throwOutOfBoundsException.h" #include "FWCore/Utilities/interface/Exception.h" namespace ticllayer { void throwOutOfBoundsException(float eta, float phi, int bin, int size) noexcept(false) { cms::Exception e("TiclOutOfBound"); e.format("bin index {} is out of bounds (container size is {}). It was generated from eta: {} phi: {}", bin, size, eta, phi); throw e; } } // namespace ticllayer