/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/HcalRecHit/src/ZDCRecHit.cc
18 строк
684 B
Matti Kortelainen
Move stored types in io_v1 namespace, reset class versions to 3
22 май 2026, 18:18
22 май 2026, 18:18
909f324
Код
Авторство
О чём код?
#include "DataFormats/HcalRecHit/interface/ZDCRecHit.h" namespace io_v1 { ZDCRecHit::ZDCRecHit() : CaloRecHit(), lowGainEnergy_(), energySOIp1_(-99), ratioSOIp1_(-99), TDCtime_(-99), chargeWeightedTime_(-99) {} ZDCRecHit::ZDCRecHit(const HcalZDCDetId& id, float energy, float time, float lowGainEnergy) : CaloRecHit(id, energy, time), lowGainEnergy_(lowGainEnergy), energySOIp1_(-99), ratioSOIp1_(-99), TDCtime_(-99), chargeWeightedTime_(-99) {} std::ostream& operator<<(std::ostream& s, const ZDCRecHit& hit) { return s << hit.id() << ": " << hit.energy() << " GeV, " << hit.time() << " ns"; } } // namespace io_v1