/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Validation/MuonRPCGeometry/interface/PTStatistics.h
25 строк
589 B
Cms Build
Clang-Format
11 май 2019, 12:09
11 май 2019, 12:09
02cea70
Код
Авторство
О чём код?
#ifndef RPCPatts_PTStatistics_h #define RPCPatts_PTStatistics_h #include <vector> #include <string> #include <algorithm> #include "Validation/MuonRPCGeometry/interface/Constants.h" class PTStatistics : public std::vector<long long> { public: PTStatistics(); void update(PTStatistics& otherPtStats); long int sum(const int& ptCut) const; long int sum() const; long double sumR() const; long double sumR(const int& ptCut) const; long double eff(int ptCut); std::string toString(); static const std::vector<long double> m_rates; // used for pur calculation }; #endif