]>
Commit | Line | Data |
---|---|---|
f87cfe57 | 1 | #ifndef ALIGENSCAN_H |
2 | #define ALIGENSCAN_H | |
3da30618 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
b0418df4 | 8 | #include "AliGenerator.h" |
b0418df4 | 9 | |
b0418df4 | 10 | class AliGenScan : public AliGenerator |
11 | { | |
b0418df4 | 12 | public: |
f87cfe57 | 13 | AliGenScan(); |
14 | AliGenScan(Int_t npart); | |
15 | virtual ~AliGenScan(); | |
16 | // Set Scanning Range | |
17 | virtual void SetRange(Int_t nx, Float_t xmin, Float_t xmax, | |
18 | Int_t ny, Float_t ymin, Float_t ymax, | |
19 | Int_t nz, Float_t zmin, Float_t zmax); | |
b0418df4 | 20 | |
f87cfe57 | 21 | // Initialise |
22 | virtual void Init() {} | |
23 | // generate event | |
24 | virtual void Generate(); | |
25 | virtual void SetPart(Int_t part) {fIpart=part;} | |
26 | protected: | |
38f1bd58 | 27 | Float_t fXCmin; // Minimum x on grid |
28 | Float_t fXCmax; // Maximum x on grid | |
29 | Int_t fNx; // Number of divisions in x | |
30 | Float_t fYCmin; // Minimum y on grid | |
31 | Float_t fYCmax; // Maximum y on grid | |
32 | Int_t fNy; // Number of divisions in y | |
33 | Float_t fZmin; // Minimum z on grid | |
34 | Float_t fZmax; // Maximum z on grid | |
35 | Int_t fNz; // Number of divisions in z | |
36 | Int_t fIpart; // Particle type | |
f87cfe57 | 37 | |
b0418df4 | 38 | |
f87cfe57 | 39 | ClassDef(AliGenScan,1) //Partcles on a regular grid |
b0418df4 | 40 | }; |
41 | #endif | |
42 | ||
43 | ||
44 | ||
45 | ||
46 | ||
47 |