]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVGEN/AliGenThetaSlice.h
Replacing array of objects by array of pointers
[u/mrichter/AliRoot.git] / EVGEN / AliGenThetaSlice.h
1 #ifndef ALIGENTHETASLICE_H
2 #define ALIGENTHETASLICE_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8
9 // Generates n particles with in the same phi angle, varies theta
10 // In equidistant intervals
11 // Comments and suggestions: Jiri.Chudoba@cern.ch
12
13
14 #include "AliGenerator.h"
15 class AliGenThetaSlice : public AliGenerator
16 {
17  public:
18
19   AliGenThetaSlice();
20   AliGenThetaSlice(Int_t npart);
21   virtual ~AliGenThetaSlice() {}
22   virtual void Generate();
23   virtual void Init();
24   virtual void SetPart(Int_t part) {fIpart=part;}
25 protected:
26
27   Int_t fIpart; // Particle type
28
29   ClassDef(AliGenThetaSlice,1) // theta slices phi constant random generator
30 };
31
32 #endif