EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHSartreGenTrigger.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHSartreGenTrigger.cc
1
#include "
PHSartreGenTrigger.h
"
2
3
#include <sstream>
4
5
using namespace
std;
6
7
//__________________________________________________________
8
PHSartreGenTrigger::PHSartreGenTrigger
(
const
std::string &
name
)
9
: m_Verbosity(0)
10
, m_Name(name)
11
{
12
}
13
14
//__________________________________________________________
15
PHSartreGenTrigger::~PHSartreGenTrigger
() {}
16
17
std::vector<int>
PHSartreGenTrigger::convertToInts
(std::string
s
)
18
{
19
vector<int> theVec;
20
stringstream ss(s);
21
int
i;
22
while
(ss >> i)
23
{
24
theVec.push_back(i);
25
if
(ss.peek() ==
','
||
26
ss.peek() ==
' '
||
27
ss.peek() ==
':'
||
28
ss.peek() ==
';'
) ss.ignore();
29
}
30
31
return
theVec;
32
}
fun4all_coresoftware
blob
master
generators
PHSartre
PHSartreGenTrigger.cc
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:42
using
1.8.2 with
EIC GitHub integration