File indexing completed on 2026-04-09 07:49:03
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #include <cuda_runtime.h>
0014 #include "SEventConfig.hh"
0015 #include "OPTICKS_LOG.hh"
0016 #include "G4CXOpticks.hh"
0017
0018 int main(int argc, char** argv)
0019 {
0020 OPTICKS_LOG(argc, argv);
0021
0022 LOG(info) << "[ cu first " ;
0023 cudaDeviceSynchronize();
0024 LOG(info) << "] cu first " ;
0025
0026 SEventConfig::SetRGModeRender();
0027 SEventConfig::Initialize();
0028
0029 LOG(info) << "[ SetGeometry " ;
0030 G4CXOpticks* gx = G4CXOpticks::SetGeometry() ;
0031 LOG(info) << "] SetGeometry " ;
0032
0033 gx->render();
0034
0035 return 0 ;
0036 }