Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LBTMutex.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file LBTMutex.cc
1 #include <vector>
2 #include <string>
3 #include <iostream>
4 #include <memory>
5 
6 #include "JetScapeTask.h"
7 #include "LBTMutex.h"
8 
9 using namespace std;
10 using std::shared_ptr;
11 using namespace Jetscape;
12 
14 
16 
18  bool isMartini = false;
19  bool isAdscft = false;
20 
21  for (auto module : modules) {
22  string name = module->GetId();
23  if (!name.compare("Martini"))
24  isMartini = true;
25  if (!name.compare("AdSCFT"))
26  isAdscft = true;
27  }
28 
29  if (isMartini || isAdscft)
30  return false;
31  return true;
32 }