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
PHPy6GenTrigger.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHPy6GenTrigger.cc
1
#include "
PHPy6GenTrigger.h
"
2
3
#include <sstream>
4
5
//__________________________________________________________
6
PHPy6GenTrigger::PHPy6GenTrigger
(
const
std::string &
name
)
7
: m_Name(name)
8
{
9
}
10
11
//__________________________________________________________
12
PHPy6GenTrigger::~PHPy6GenTrigger
() {}
13
14
std::vector<int>
PHPy6GenTrigger::convertToInts
(std::string
s
)
15
{
16
std::vector<int> theVec;
17
std::stringstream ss(s);
18
int
i;
19
while
(ss >> i)
20
{
21
theVec.push_back(i);
22
if
(ss.peek() ==
','
||
23
ss.peek() ==
' '
||
24
ss.peek() ==
':'
||
25
ss.peek() ==
';'
) ss.ignore();
26
}
27
28
return
theVec;
29
}
coresoftware
blob
master
generators
PHPythia6
PHPy6GenTrigger.cc
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:33
using
1.8.2 with
ECCE GitHub integration