]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDsimpleGen.h
Update of macros
[u/mrichter/AliRoot.git] / TRD / AliTRDsimpleGen.h
1 #ifndef ALITRDSIMPLEGEN_H
2 #define ALITRDSIMPLEGEN_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5  
6 /* $Id$ */
7  
8 #include <TObject.h>
9
10 class AliTRDsimpleGen : public TObject {
11  
12  public:     
13
14   AliTRDsimpleGen();
15   AliTRDsimpleGen(const AliTRDsimpleGen &g); 
16                                                                                 
17   virtual ~AliTRDsimpleGen();
18   AliTRDsimpleGen &operator=(const AliTRDsimpleGen &g);    
19
20   virtual void         Copy(TObject &g);
21   virtual void         NewParticle(Int_t ievent);
22
23   virtual void         SetMomentum(Double_t min, Double_t max) { fMomMin = min;
24                                                                  fMomMax = max; };
25   virtual void         SetPdg(Int_t pdg)                       { fPdg    = pdg; };
26
27  protected:
28
29   Int_t           fPdg;              //  Particle PDG code
30   Double_t        fMomMin;           //  Particle minimum momentum
31   Double_t        fMomMax;           //  Particle maximum momentum
32
33   ClassDef(AliTRDsimpleGen,1)        //  Particle generator for the simplified TRD simulator
34  
35 };
36 #endif