/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimG4Core/Generators/interface/HepMCParticle.h
27 строк
648 B
Cms Build
Clang-Format
04 май 2019, 12:10
04 май 2019, 12:10
ab77615
Код
Авторство
О чём код?
#ifndef SimG4Core_HepMCParticle_h #define SimG4Core_HepMCParticle_h #include "G4PrimaryParticle.hh" class HepMCParticle { public: HepMCParticle(); HepMCParticle(G4PrimaryParticle *pp, int status); ~HepMCParticle(); const HepMCParticle &operator=(const HepMCParticle &right); int operator==(const HepMCParticle &right) const; int operator!=(const HepMCParticle &right) const; private: G4PrimaryParticle *theParticle; /// status code of the entry /// set to 0 after generating links of G4PrimaryParticle object int status_code; public: G4PrimaryParticle *getTheParticle(); void done(); const int getStatus(); }; #endif