]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVGEN/AliGenScan.h
- dimuon Dalitz included
[u/mrichter/AliRoot.git] / EVGEN / AliGenScan.h
CommitLineData
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
0af12c00 8// Realisation of AliGenerator that generates particles with
9// vertices on a user defined grid.
10// Author: andreas.morsch@cern.ch
11
b0418df4 12#include "AliGenerator.h"
b0418df4 13
b0418df4 14class AliGenScan : public AliGenerator
15{
b0418df4 16public:
f87cfe57 17 AliGenScan();
18 AliGenScan(Int_t npart);
19 virtual ~AliGenScan();
20 // Set Scanning Range
21 virtual void SetRange(Int_t nx, Float_t xmin, Float_t xmax,
22 Int_t ny, Float_t ymin, Float_t ymax,
23 Int_t nz, Float_t zmin, Float_t zmax);
b0418df4 24
f87cfe57 25 // Initialise
26 virtual void Init() {}
27 // generate event
28 virtual void Generate();
29 virtual void SetPart(Int_t part) {fIpart=part;}
30 protected:
38f1bd58 31 Float_t fXCmin; // Minimum x on grid
32 Float_t fXCmax; // Maximum x on grid
33 Int_t fNx; // Number of divisions in x
34 Float_t fYCmin; // Minimum y on grid
35 Float_t fYCmax; // Maximum y on grid
36 Int_t fNy; // Number of divisions in y
37 Float_t fZmin; // Minimum z on grid
38 Float_t fZmax; // Maximum z on grid
39 Int_t fNz; // Number of divisions in z
40 Int_t fIpart; // Particle type
f87cfe57 41
b0418df4 42
f87cfe57 43 ClassDef(AliGenScan,1) //Partcles on a regular grid
b0418df4 44};
45#endif
46
47
48
49
50
51