eic-smear  1.0.3
A collection of ROOT classes for Monte Carlo events and a fast-smearing code simulating detector effects for the Electron-Ion Collider task force
EventDpmjet.cxx
Go to the documentation of this file.
1 
11 
12 #include <sstream>
13 #include <string>
14 
15 namespace erhic {
16 
17 bool EventDpmjet::Parse(const std::string& line) {
18  static std::stringstream ss;
19  ss.str("");
20  ss.clear();
21  ss << line;
22  ss >> I >> ievent >> process1 >> process2 >> IP >> dtrueW2
23  >> dtrueNu >> dtrueQ2 >> dtrueX >> dtrueY >> theta_Evt >> photonFlux
24  >> tgtparton >> prjparton >> xtgtparton >> xprjparton >> nucleon
25  >> nTracks;
26  number = ievent;
27  return !ss.fail();
28 }
29 
30 } // namespace erhic
Int_t nTracks
Number of Particles in the event (intermediate + final)
Definition: EventMC.h:203
virtual bool Parse(const std::string &)
Definition: EventDpmjet.cxx:17
Int_t number
Event number.
Definition: EventMC.h:201