/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimGeneral/GFlash/interface/GflashHit.h
26 строк
692 B
Cms Build
Clang-Format
04 май 2019, 01:08
04 май 2019, 01:08
36bffb5
Код
Авторство
О чём код?
#ifndef GflashHit_H #define GflashHit_H #include "SimGeneral/GFlash/interface/Gflash3Vector.h" class GflashHit { public: GflashHit(); GflashHit(double time, double energy, Gflash3Vector &pos); ~GflashHit(); inline double getTime() const { return theTime; } inline double getEnergy() const { return theEnergy; } inline const Gflash3Vector &getPosition() const { return thePosition; } inline void setTime(const double time) { theTime = time; } inline void setEnergy(const double energy) { theEnergy = energy; } inline void setPosition(const Gflash3Vector &pos) { thePosition = pos; } private: double theTime; double theEnergy; Gflash3Vector thePosition; }; #endif