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