/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/Scouting/interface/Run3ScoutingHBHERecHit.h
30 строк
957 B
Patin Inkaew
add time info to Run3ScoutingHBHERecHit and update HLTScoutingRecHitProducer accordingly
03 янв 2026, 17:07
03 янв 2026, 17:07
c8746be
Код
Авторство
О чём код?
#ifndef DataFormats_Scouting_Run3ScoutingHBHERecHit_h #define DataFormats_Scouting_Run3ScoutingHBHERecHit_h #include <vector> // Updated Run 3 HLT-Scouting data format to include calo recHits information: // - HBHERecHits collection (HCAL Barrel and Endcap) // Saved information is specific to each hit type: energy and detId are available for HCAL recHits // // -- IMPORTANT: any changes to Run3ScoutingHBHERecHit must be backward-compatible! class Run3ScoutingHBHERecHit { public: Run3ScoutingHBHERecHit(float energy, float time, unsigned int detId) : energy_{energy}, time_{time}, detId_{detId} {} Run3ScoutingHBHERecHit() : energy_{0}, time_{0}, detId_{0} {} float energy() const { return energy_; } float time() const { return time_; } unsigned int detId() const { return detId_; } private: float energy_; float time_; unsigned int detId_; }; using Run3ScoutingHBHERecHitCollection = std::vector<Run3ScoutingHBHERecHit>; #endif