Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
AdSCFTMutex.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file AdSCFTMutex.cc
1
#include <vector>
2
#include <string>
3
#include <iostream>
4
#include <memory>
5
6
#include "
JetScapeTask.h
"
7
#include "
AdSCFTMutex.h
"
8
9
using namespace
std;
10
using
std::shared_ptr;
11
using namespace
Jetscape;
12
13
AdSCFTMutex::AdSCFTMutex
() {}
14
15
AdSCFTMutex::~AdSCFTMutex
() {}
16
17
bool
AdSCFTMutex::CheckMutex
(vector<
shared_ptr<JetScapeTask>
> modules) {
18
bool
isLbt =
false
;
19
bool
isMartini =
false
;
20
21
for
(
auto
module : modules) {
22
string
name
= module->GetId();
23
if
(!name.compare(
"LBT"
))
24
isLbt =
true
;
25
if
(!name.compare(
"Martini"
))
26
isMartini =
true
;
27
}
28
29
if
(isLbt || isMartini)
30
return
false
;
31
return
true
;
32
}
JETSCAPE
blob
main
src
jet
AdSCFTMutex.cc
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:25
using
1.8.2 with
sPHENIX GitHub integration