/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/MuonReco/interface/MuonTime.h
31 строка
854 B
Cms Build
Clang-Format
03 июн 2019, 06:49
03 июн 2019, 06:49
ff00363
Код
Авторство
О чём код?
#ifndef MuonReco_MuonTime_h #define MuonReco_MuonTime_h namespace reco { struct MuonTime { enum Direction { OutsideIn = -1, Undefined = 0, InsideOut = 1 }; /// number of muon stations used int nDof; /// time of arrival at the IP for the Beta=1 hypothesis /// a) particle is moving from inside out float timeAtIpInOut; float timeAtIpInOutErr; /// b) particle is moving from outside in float timeAtIpOutIn; float timeAtIpOutInErr; /// direction estimation based on time dispersion Direction direction() const { if (nDof < 2) return Undefined; if (timeAtIpInOutErr > timeAtIpOutInErr) return OutsideIn; return InsideOut; } MuonTime() : nDof(0), timeAtIpInOut(0), timeAtIpInOutErr(0), timeAtIpOutIn(0), timeAtIpOutInErr(0) {} }; } // namespace reco #endif