Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-11-16 09:02:04

0001 /**
0002  \file
0003  Declaration of class erhic::EventDpmjet.
0004 
0005  \author    Thomas Burton
0006  \date      2011-08-19
0007  \copyright 2011 Brookhaven National Lab
0008  */
0009 
0010 #ifndef INCLUDE_EICSMEAR_ERHIC_EVENTDPMJET_H_
0011 #define INCLUDE_EICSMEAR_ERHIC_EVENTDPMJET_H_
0012 
0013 #include <string>
0014 
0015 #include <Rtypes.h>
0016 
0017 #include "eicsmear/erhic/EventMC.h"
0018 
0019 namespace erhic {
0020 
0021 /**
0022  Describles the event from DPMJET.
0023  */
0024 class EventDpmjet : public EventMC {
0025  public:
0026   /**
0027    Parses the event information from a text string.
0028    
0029    The string must have the following format (no newlines):
0030    \verbatim
0031    "0 eventnumber subprocessId hardProcessId particleCombination y Q2 x W2 nu
0032    theta photonFlux targetParton projectileParton xTargetParton
0033    xProjectileParton nucleon numTracks"
0034    \endverbatim
0035    Returns true in the event of a successful read operation,
0036    false in case of an error.
0037    */
0038   virtual bool Parse(const std::string&);
0039 
0040   Int_t ievent;
0041   Int_t I;
0042   Int_t process1;
0043   Int_t process2;
0044   Int_t IP;
0045   Int_t tgtparton;
0046   Int_t prjparton;
0047   Int_t nucleon;
0048   Double32_t xtgtparton;
0049   Double32_t xprjparton;
0050   Double32_t dtrueW2;
0051   Double32_t dtrueNu;
0052   Double32_t dtrueQ2;
0053   Double32_t dtrueY;
0054   Double32_t dtrueX;
0055   Double32_t theta_Evt;
0056   Double32_t photonFlux;
0057 
0058   ClassDef(erhic::EventDpmjet, 1)
0059 };
0060 
0061 }  // namespace erhic
0062 
0063 #endif  // INCLUDE_EICSMEAR_ERHIC_EVENTDPMJET_H_