Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /**
0002  \file
0003  Declaration of class erhic::hadronic::EventPythiaPP.
0004  
0005  \author    Thomas Burton
0006  \date      2012-05-02
0007  \copyright 2012 Brookhaven National Lab
0008  */
0009 
0010 #ifndef INCLUDE_EICSMEAR_HADRONIC_EVENTPYTHIA_H_
0011 #define INCLUDE_EICSMEAR_HADRONIC_EVENTPYTHIA_H_
0012 
0013 #include <Rtypes.h>  // For ClassDef macro
0014 
0015 #include <eicsmear/hadronic/EventMC.h>
0016 
0017 namespace erhic {
0018 namespace hadronic {
0019 
0020 class EventPythiaPP : public EventMC {
0021  public:
0022   /**
0023    Destructor.
0024    */
0025   virtual ~EventPythiaPP();
0026 
0027   /**
0028    Default constructor.
0029    */
0030   EventPythiaPP();
0031 
0032   /**
0033    Initialise event kinematics.
0034    */
0035   EventPythiaPP(double Q2, double x1, double x2);
0036 
0037   /**
0038    Copy constructor.
0039    */
0040   EventPythiaPP(const EventPythiaPP&);
0041 
0042   /**
0043    Assignment operator.
0044    */
0045   EventPythiaPP& operator=(const EventPythiaPP&);
0046 
0047   /**
0048    Q-squared of the interaction.
0049    */
0050   virtual Double_t GetQ2() const;
0051 
0052   /**
0053    x of the parton from the +z beam.
0054    */
0055   virtual Double_t GetX1() const;
0056 
0057   /**
0058    x of the parton from the -z beam.
0059    */
0060   virtual Double_t GetX2() const;
0061 
0062  protected:
0063   Double32_t QSquared;
0064   Double32_t x1;
0065   Double32_t x2;
0066 
0067   ClassDef(erhic::hadronic::EventPythiaPP, 1)
0068 };
0069 
0070 }  // namespace hadronic
0071 }  // namespace erhic
0072 
0073 #endif  // INCLUDE_EICSMEAR_HADRONIC_EVENTPYTHIA_H_