File indexing completed on 2025-08-03 08:20:26
0001 #ifndef MACRO_G4PSTOF_C
0002 #define MACRO_G4PSTOF_C
0003
0004 #include <g4detectors/PHG4PSTOFSubsystem.h>
0005 #include <g4main/PHG4Reco.h>
0006
0007 R__LOAD_LIBRARY(libg4detectors.so)
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 namespace Enable
0019 {
0020 bool PSTOF = false;
0021 }
0022
0023 void PSTOFInit()
0024 {
0025 }
0026
0027 double PSTOF(PHG4Reco* g4Reco, double radius)
0028 {
0029 PHG4PSTOFSubsystem* pstof = new PHG4PSTOFSubsystem("PSTOF");
0030 pstof->SuperDetector("PSTOF");
0031
0032 g4Reco->registerSubsystem(pstof);
0033
0034
0035 return 90.;
0036 }
0037 #endif