Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:22:01

0001 #include "PHG4Subsystem.h"
0002 
0003 #include <TSystem.h>
0004 
0005 #include <iostream>
0006 
0007 void PHG4Subsystem::SetMotherSubsystem(PHG4Subsystem *subsys)
0008 {
0009   if (subsys->CanBeMotherSubsystem())
0010   {
0011     m_MyMotherSubsystem = subsys;
0012     return;
0013   }
0014   std::cout << "PHG4Subsystem::SetMotherSubsystem: "
0015             << subsys->Name() << " is not implemented as a mother subsystem"
0016             << std::endl;
0017   gSystem->Exit(1);
0018 }