/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CondFormats/ESObjects/interface/ESThresholds.h
29 строк
720 B
Cms Build
Clang-Format
20 май 2019, 13:01
20 май 2019, 13:01
a27185a
Код
Авторство
О чём код?
#ifndef CondFormats_ESObjects_ESThresholds_H #define CondFormats_ESObjects_ESThresholds_H #include "CondFormats/Serialization/interface/Serializable.h" #include <iostream> class ESThresholds { public: ESThresholds(); ESThresholds(const float& ts2, const float& zs); ~ESThresholds(); void setTS2Threshold(const float& value) { ts2_ = value; } float getTS2Threshold() const { return ts2_; } void setZSThreshold(const float& value) { zs_ = value; } float getZSThreshold() const { return zs_; } void print(std::ostream& s) const { s << "ESThresholds: 2nd time sample / ZS threshold" << ts2_ << " / " << zs_ << " [ADC count]"; } private: float ts2_; float zs_; COND_SERIALIZABLE; }; #endif