5 //////////////////////////////////////////////////////////////////////////
9 // This class implements an interface to the DIME event generator. //
11 //////////////////////////////////////////////////////////////////////////
13 #ifndef ROOT_TGenerator
14 #include "TGenerator.h"
18 class TDime : public TGenerator {
24 virtual void Initialize();
25 virtual void GenerateEvent();
26 virtual Int_t ImportParticles(TClonesArray *particles, Option_t *option="");
27 virtual TObjArray* ImportParticles(Option_t *option="");
28 //Parameters for the generation:
29 virtual void SetEnergyCMS(Float_t efrm) {fEfrm = efrm;}
30 virtual Float_t GetEnergyCMS() const {return fEfrm;}
32 Float_t fEfrm; // Energy in the centre of mass (CMS) or lab-frame (LAB)
33 ClassDef(TDime,1) //Interface to Dime Event Generator