/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CondFormats/SiPixelTransient/interface/SimplePixel.h
32 строки
778 B
Cms Build
Clang-Format
05 июн 2019, 13:52
05 июн 2019, 13:52
f950c83
Код
Авторство
О чём код?
// // SimplePixel.h (v1.00) // #ifndef SimplePixel_h #define SimplePixel_h 1 class SimplePixel { //!< struck pixel class for use in simpletemplate2D public: SimplePixel() { s = 0.; x = 0.; y = 0.; i = 0; j = 0; btype = 0; } //!< Default constructor bool operator<(const SimplePixel& rhs) const { return (this->s < rhs.s); } //!< define < operator so that std::list can sort these by path length float s; //!< distance from track entry float x; //!< x coordinate of boundary intersection float y; //!< y coordinate of boundary intersection int i; //!< x index of traversed pixel int j; //!< y index of traversed pixel int btype; //!< type of boundary (0=end, 1 = x-boundary, 2 = y-boundary) }; #endif