Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /**
0002  \file      Declaration of class erhic::EventSimple. 
0003  \author    Barak Schmookler
0004  \date      2020-03-19
0005  */
0006 
0007 #ifndef INCLUDE_EICSMEAR_ERHIC_EVENTSIMPLE_H_
0008 #define INCLUDE_EICSMEAR_ERHIC_EVENTSIMPLE_H_
0009 
0010 #include <string>
0011 #include <Rtypes.h>
0012 #include "eicsmear/erhic/EventMC.h"
0013 
0014 namespace erhic {
0015 
0016 /**
0017  Describes an event from the generator SIMPLE.
0018  */
0019 class EventSimple : public EventMC {
0020  public:
0021   /**
0022    Constructor.
0023    */
0024   EventSimple();
0025 
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 numParticles
0032    \endverbatim
0033    Returns true in the event of a successful read operation,
0034    false in case of an error.
0035    */
0036   virtual bool Parse(const std::string&);
0037   const ParticleMC* ScatteredLepton() const;
0038 
0039   Double32_t numParticles;
0040 
0041   ClassDef(erhic::EventSimple, 1)
0042 };
0043 
0044 }  // namespace erhic
0045 
0046 #endif  // INCLUDE_EICSMEAR_ERHIC_EVENTSIMPLE_H_