/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimG4CMS/Tracker/interface/TkSimHitPrinter.h
26 строк
737 B
Cms Build
Clang-Format
16 май 2019, 00:00
16 май 2019, 00:00
eed914b
Код
Авторство
О чём код?
#ifndef SimG4CMS_TkSimHitPrinter_H #define SimG4CMS_TkSimHitPrinter_H #include "DataFormats/GeometryVector/interface/LocalPoint.h" #include "DataFormats/GeometryVector/interface/LocalVector.h" #include <string> #include <fstream> class G4Track; class TkSimHitPrinter { public: TkSimHitPrinter(const std::string&); ~TkSimHitPrinter(); void startNewSimHit(const std::string&, const std::string&, int, int, int, int); void printLocal(const Local3DPoint&, const Local3DPoint&) const; void printGlobal(const Local3DPoint&, const Local3DPoint&) const; void printHitData(const std::string&, float, float, float) const; void printGlobalMomentum(float, float, float) const; private: static std::ofstream* theFile; }; #endif