ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4Subsystem.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4Subsystem.cc
1 #include "PHG4Subsystem.h"
2 
3 #include <TSystem.h>
4 
5 #include <iostream>
6 
7 using namespace std;
8 
10 {
11  if (subsys->CanBeMotherSubsystem())
12  {
13  m_MyMotherSubsystem = subsys;
14  return;
15  }
16  cout << "PHG4Subsystem::SetMotherSubsystem: "
17  << subsys->Name() << " is not implemented as a mother subsystem"
18  << endl;
19  gSystem->Exit(1);
20 }