/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
RecoLocalMuon/RPCRecHit/plugins/RPCCluster.h
42 строки
818 B
Shahzad Malik Muzaffar
[Reco] Fixes needed to avoid exposing private headers via interface dir
17 авг 2021, 19:18
17 авг 2021, 19:18
f613a65
Код
Авторство
О чём код?
#include <cstdint> #ifndef RecoLocalMuon_RPCCluster_h #define RecoLocalMuon_RPCCluster_h class RPCCluster { public: RPCCluster(); RPCCluster(int fs, int ls, int bx); ~RPCCluster(); int firstStrip() const; int lastStrip() const; int clusterSize() const; int bx() const; bool hasTime() const; float time() const; float timeRMS() const; bool hasY() const; float y() const; float yRMS() const; void addTime(const float time); void addY(const float y); void merge(const RPCCluster& cl); bool operator<(const RPCCluster& cl) const; bool operator==(const RPCCluster& cl) const; bool isAdjacent(const RPCCluster& cl) const; private: uint16_t fstrip; uint16_t lstrip; int16_t bunchx; float sumTime, sumTime2; uint16_t nTime; float sumY, sumY2; uint16_t nY; }; #endif