Correct GetWire check on even/odd fnWires
[u/mrichter/AliRoot.git] / EVGEN / AliGenScan.h
CommitLineData
b0418df4 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/////////////////////////////////////////////////////////
9// Manager and hits classes for set:MUON version 0 //
10/////////////////////////////////////////////////////////
11#include "AliGenerator.h"
12#include "TNamed.h"
13#include "TF1.h"
14#include "TArrayF.h"
15#include "TTree.h"
16
17// Read background particles from a FLUKA boundary source file
18
19class AliGenScan : public AliGenerator
20{
21
22protected:
23 Float_t fXmin;
24 Float_t fXmax;
25 Int_t fNx;
26 Float_t fYmin;
27 Float_t fYmax;
28 Int_t fNy;
29 Float_t fZmin;
30 Float_t fZmax;
31 Int_t fNz;
32 Int_t fIpart; // Particle type
33
34public:
35 AliGenScan();
36 AliGenScan(Int_t npart);
37 virtual ~AliGenScan();
38 // Set Scanning Range
39 virtual void SetRange(Int_t nx, Float_t xmin, Float_t xmax,
40 Int_t ny, Float_t ymin, Float_t ymax,
41 Int_t nz, Float_t zmin, Float_t zmax);
42
43 // Initialise
44 virtual void Init() {}
45 // generate event
46 virtual void Generate();
47 virtual void SetPart(Int_t part) {fIpart=part;}
48
49 ClassDef(AliGenScan,1) //Boundary source
50};
51#endif
52
53
54
55
56
57