Transition to NewIO
[u/mrichter/AliRoot.git] / TRD / AliTRDsimpleGen.h
CommitLineData
16bf9884 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$ */
88cb7938 7
0a29d0f1 8///////////////////////////////////////////////////////////////////////////////
9// //
10// Particle generator for the simplescopic TRD simulator //
11// //
12///////////////////////////////////////////////////////////////////////////////
13
16bf9884 14#include <TObject.h>
15
16class AliTRDsimpleGen : public TObject {
17
18 public:
19
20 AliTRDsimpleGen();
21 AliTRDsimpleGen(const AliTRDsimpleGen &g);
22
23 virtual ~AliTRDsimpleGen();
24 AliTRDsimpleGen &operator=(const AliTRDsimpleGen &g);
25
26 virtual void Copy(TObject &g);
27 virtual void NewParticle(Int_t ievent);
28
29 virtual void SetMomentum(Double_t min, Double_t max) { fMomMin = min;
30 fMomMax = max; };
31 virtual void SetPdg(Int_t pdg) { fPdg = pdg; };
32
33 protected:
34
35 Int_t fPdg; // Particle PDG code
36 Double_t fMomMin; // Particle minimum momentum
37 Double_t fMomMax; // Particle maximum momentum
38
39 ClassDef(AliTRDsimpleGen,1) // Particle generator for the simplified TRD simulator
40
41};
42#endif