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