#ifndef MARS_MGenPrimaryParticle #define MARS_MGenPrimaryParticle #ifndef ROOT_TRandom #include #endif #ifndef MARS_MTask #include "MTask.h" #endif class TF1; class MParList; class MSinglePairInput; class MGenPrimaryParticle : public MTask { private: MParList *fList; TF1 *fSrc; TRandom fRand; Double_t fPi2; public: MGenPrimaryParticle(const char *name=NULL, const char *title=NULL); ~MGenPrimaryParticle(); Bool_t PreProcess(MParList *pList); Bool_t Process(); Bool_t PostProcess(); ClassDef(MGenPrimaryParticle, 0) // }; #endif