1 #ifndef AliGenParamPionsKaons_H
2 #define AliGenParamPionsKaons_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 //====================================================================================================================================================
9 // Parametric generator of primary pions and kaons
11 // Contact author: antonio.uras@cern.ch
13 //====================================================================================================================================================
15 #include "AliGenerator.h"
19 class AliGenParamPionsKaons : public AliGenerator {
23 AliGenParamPionsKaons();
24 AliGenParamPionsKaons(Int_t nPart, Char_t *inputFile);
26 virtual ~AliGenParamPionsKaons() {}
27 virtual void Generate();
29 virtual void SetPionOnly() { fGeneratePion=kTRUE; fGenerateKaon=kFALSE; }
30 virtual void SetKaonOnly() { fGeneratePion=kFALSE; fGenerateKaon=kTRUE; }
31 virtual void LoadInputHistos(Char_t *inputFile);
35 AliGenParamPionsKaons(const AliGenParamPionsKaons&);
36 AliGenParamPionsKaons &operator=(const AliGenParamPionsKaons&);
43 TH2D *fPtVsRapidityPrimaryPosPions, *fPtVsRapidityPrimaryNegPions;
44 TH2D *fPtVsRapidityPrimaryPosKaons, *fPtVsRapidityPrimaryNegKaons;
48 ClassDef(AliGenParamPionsKaons, 1)
52 //====================================================================================================================================================