/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimDataFormats/GEMDigiSimLink/interface/GEMDigiSimLink.h
40 строк
1 KB
Matti Kortelainen
Move stored types in io_v1 namespace, reset class versions to 3
22 май 2026, 18:18
22 май 2026, 18:18
909f324
Код
Авторство
О чём код?
#ifndef GEMOBJECTS_GEMDIGISIMLINK_H #define GEMOBJECTS_GEMDIGISIMLINK_H #include <map> #include "DataFormats/GeometryVector/interface/LocalPoint.h" #include "DataFormats/GeometryVector/interface/LocalVector.h" #include "SimDataFormats/EncodedEventId/interface/EncodedEventId.h" namespace io_v1 { class GEMDigiSimLink { public: GEMDigiSimLink(uint16_t strip, int8_t bx, int16_t particleType, uint32_t trackId, EncodedEventId eventId) { strip_ = strip; bx_ = bx; particleType_ = particleType; trackId_ = trackId; eventId_ = eventId; } GEMDigiSimLink() {} ~GEMDigiSimLink() {} unsigned int getStrip() const { return strip_; } int getBx() const { return bx_; } int getParticleType() const { return particleType_; } unsigned int getTrackId() const { return trackId_; } EncodedEventId getEventId() const { return eventId_; } inline bool operator<(const GEMDigiSimLink& other) const { return getStrip() < other.getStrip(); } private: uint16_t strip_; int8_t bx_; int16_t particleType_; uint32_t trackId_; EncodedEventId eventId_; }; } // namespace io_v1 using GEMDigiSimLink = io_v1::GEMDigiSimLink; #endif