/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimG4Core/Geometry/interface/DDG4Dispatchable.h
19 строк
528 B
Ianna Osborne
Move Dispatchable container to Geometry where it's used
30 июл 2019, 16:15
30 июл 2019, 16:15
29d1638
Код
Авторство
О чём код?
#ifndef SimG4Core_DDG4Dispatchable_H #define SimG4Core_DDG4Dispatchable_H #include "DetectorDescription/Core/interface/DDLogicalPart.h" #include "G4LogicalVolume.hh" class DDG4Dispatchable { public: DDG4Dispatchable(const DDLogicalPart* ddL, G4LogicalVolume* g4L) : ddLogical(ddL), g4Logical(g4L) {} const DDLogicalPart* getDDLogicalPart() const { return ddLogical; } G4LogicalVolume* getG4LogicalVolume() const { return g4Logical; } private: const DDLogicalPart* ddLogical; G4LogicalVolume* g4Logical; }; #endif