EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EventPepsi.cxx
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file EventPepsi.cxx
1 
11 
12 #include <sstream>
13 #include <string>
14 
15 namespace erhic {
16 
17 bool EventPepsi::Parse(const std::string& line) {
18  static std::stringstream ss;
19  ss.str("");
20  ss.clear();
21  ss << line;
22  ss >>
23  number >> number >> // Skip first int in the line
25  partontrck >> trueY >> trueQ2 >> trueX >> trueW2 >> trueNu >>
27  Dilute >> F1 >> F2 >> A1 >> A2 >> R >> DePol >> D >> Eta >> Eps >> Chi >>
28  gendilut >> genF1 >> genF2 >> genA1 >> genA2 >> genR >> genDepol >>
30  // Protect against errors in the input file or the stream
31  return !ss.fail();
32 }
33 
34 } // namespace erhic