Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-06-29 07:05:50

0001 /**
0002  \file
0003  Implementation of class erhic::EventDpmjet.
0004  
0005  \author    Thomas Burton
0006  \date      2011-08-19
0007  \copyright 2011 Brookhaven National Lab
0008  */
0009 
0010 #include "eicsmear/erhic/EventDpmjet.h"
0011 
0012 #include <sstream>
0013 #include <string>
0014 
0015 namespace erhic {
0016 
0017 bool EventDpmjet::Parse(const std::string& line) {
0018   static std::stringstream ss;
0019   ss.str("");
0020   ss.clear();
0021   ss << line;
0022   ss >> I >> ievent >> process1 >> process2 >> IP >> dtrueW2
0023   >> dtrueNu >> dtrueQ2 >> dtrueX >> dtrueY >> theta_Evt >> photonFlux
0024   >> tgtparton >> prjparton >> xtgtparton >> xprjparton >> nucleon
0025   >> nTracks;
0026   number = ievent;
0027   return !ss.fail();
0028 }
0029 
0030 }  // namespace erhic