]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TMEVSIM/AliGenMevSim.h
Backward compatibility with old qthre in OCDB:
[u/mrichter/AliRoot.git] / TMEVSIM / AliGenMevSim.h
1 #ifndef ALIGENMEVSIM_H
2 #define ALIGENMEVSIM_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 // Implementation of the interface for TMevsim
9 // Author: Sylwester Radomski <radomski@if.pw.edu.pl>
10
11
12 #include "AliGenerator.h"
13
14 class AliMevSimConfig;
15 class AliMevSimParticle;
16
17 class TMevSim;
18
19 class AliGenMevSim : public AliGenerator { 
20
21 public:
22   AliGenMevSim();
23   AliGenMevSim(AliMevSimConfig *config);
24
25   virtual ~AliGenMevSim();
26
27   // 
28   virtual void SetConfig(AliMevSimConfig *config);
29   virtual void AddParticleType(AliMevSimParticle *type);
30
31   virtual void Init();
32   virtual void Generate();
33
34 protected:
35   TMevSim * fMevSim;           // Pointer to the MevSim generator
36   AliMevSimConfig *fConfig;    // Pointer to the Configuration class
37
38  private:
39   AliGenMevSim(const AliGenMevSim & gen);
40   AliGenMevSim & operator=(const AliGenMevSim & gen);
41       
42   ClassDef(AliGenMevSim,1) // Interface class for AliMevsim
43     
44 };
45 #endif