3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
9 // Generator for particles in a preset
10 // kinematic range (flat distribution)
11 // Comments and suggestions: andreas.morsch@cern.ch
14 #include "AliGenerator.h"
15 class AliGenBox : public AliGenerator
20 AliGenBox(Int_t npart);
21 virtual ~AliGenBox() {}
22 virtual void Generate();
24 virtual void SetEtaRange(Float_t etamin, Float_t etamax);
25 virtual void SetPart(Int_t part) {fIpart=part;}
26 virtual void SetParticleType(Int_t part) {SetPart(part);}
29 Int_t fIpart; // Particle type
30 Float_t fEtaMin; // Minimum eta
31 Float_t fEtaMax; // Maximum eta
32 ClassDef(AliGenBox,2) // Square box random generator