Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:18:11

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