f87cfe57 |
1 | #ifndef ALIGENDOUBLESCAN_H |
2 | #define ALIGENDOUBLESCAN_H |
df725edf |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ |
5 | |
6 | /* $Id$ */ |
7 | |
675e9664 |
8 | // As AliGenScan, generation of particles on a 3-dim grid |
9 | // but here double hits with a predefined distance are generated. |
10 | // Author: andreas.morsch@cern.ch |
11 | |
df725edf |
12 | #include "AliGenScan.h" |
df725edf |
13 | |
14 | class AliGenDoubleScan : public AliGenScan |
15 | { |
df725edf |
16 | public: |
17 | AliGenDoubleScan(); |
18 | AliGenDoubleScan(Int_t npart); |
19 | virtual ~AliGenDoubleScan(); |
df725edf |
20 | virtual void Generate(); |
21 | virtual void SetDistance(Float_t d) {fDistance=d;} |
f87cfe57 |
22 | private: |
23 | Float_t fDistance; // Distance between particles |
24 | ClassDef(AliGenDoubleScan,1) // Generation of particles (double hits) on a grid |
df725edf |
25 | }; |
26 | #endif |
27 | |
28 | |
29 | |
30 | |
31 | |
32 | |