]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVGEN/AliGenScan.h
Added the entry for the IRST code checking utility
[u/mrichter/AliRoot.git] / EVGEN / AliGenScan.h
CommitLineData
b0418df4 1#ifndef AliGenScan_H
2#define AliGenScan_H
3/////////////////////////////////////////////////////////
4// Manager and hits classes for set:MUON version 0 //
5/////////////////////////////////////////////////////////
6#include "AliGenerator.h"
7#include "TNamed.h"
8#include "TF1.h"
9#include "TArrayF.h"
10#include "TTree.h"
11
12// Read background particles from a FLUKA boundary source file
13
14class AliGenScan : public AliGenerator
15{
16
17protected:
18 Float_t fXmin;
19 Float_t fXmax;
20 Int_t fNx;
21 Float_t fYmin;
22 Float_t fYmax;
23 Int_t fNy;
24 Float_t fZmin;
25 Float_t fZmax;
26 Int_t fNz;
27 Int_t fIpart; // Particle type
28
29public:
30 AliGenScan();
31 AliGenScan(Int_t npart);
32 virtual ~AliGenScan();
33 // Set Scanning Range
34 virtual void SetRange(Int_t nx, Float_t xmin, Float_t xmax,
35 Int_t ny, Float_t ymin, Float_t ymax,
36 Int_t nz, Float_t zmin, Float_t zmax);
37
38 // Initialise
39 virtual void Init() {}
40 // generate event
41 virtual void Generate();
42 virtual void SetPart(Int_t part) {fIpart=part;}
43
44 ClassDef(AliGenScan,1) //Boundary source
45};
46#endif
47
48
49
50
51
52