/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimDataFormats/CaloHit/src/PassiveHit.cc
10 строк
443 B
Sunanda
Add testing code to look at HCAL geometry
31 янв 2020, 18:30
31 янв 2020, 18:30
4980d96
Код
Авторство
О чём код?
#include "SimDataFormats/CaloHit/interface/PassiveHit.h" #include <iostream> std::ostream& operator<<(std::ostream& o, const PassiveHit& hit) { o << hit.vname() << " 0x" << std::hex << hit.id() << std::dec << ": Energy " << hit.energy() << " GeV: " << hit.energyTotal() << " GeV: Tof " << hit.time() << " ns: " << " Track # " << hit.trackId() << " Position " << hit.x() << ", " << hit.y() << ", " << hit.z() << ")"; return o; }