ECCE @ EIC Software
Reference for
ECCE @ 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
}
coresoftware
blob
master
generators
PHSartre
PHSartreGenTrigger.cc
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:33
using
1.8.2 with
ECCE GitHub integration