/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CondFormats/EcalObjects/interface/EcalSimPulseShape.h
25 строк
848 B
Shahzad Malik Muzaffar
[ALCA-DB] Changes suggested by new llvm18 clang-format
05 сен 2024, 17:06
05 сен 2024, 17:06
d09a7ed
Код
Авторство
О чём код?
#ifndef CondFormats_EcalObjects_EcalSimPulseShape_hh #define CondFormats_EcalObjects_EcalSimPulseShape_hh #include "CondFormats/Serialization/interface/Serializable.h" #include <vector> class EcalSimPulseShape { public: EcalSimPulseShape() {} ~EcalSimPulseShape() {} void setTimeInterval(float x) { time_interval = x; }; float getTimeInterval() { return time_interval; }; std::vector<double> barrel_shape; // there is no need to getters/setters, just access data directly std::vector<double> endcap_shape; // there is no need to getters/setters, just access data directly std::vector<double> apd_shape; // there is no need to getters/setters, just access data directly double barrel_thresh; double endcap_thresh; double apd_thresh; float time_interval; // time interval of the shape COND_SERIALIZABLE; }; #endif