Updated buspatch and DDL numbers for station 345 and started buspatch at 1
[u/mrichter/AliRoot.git] / TMEVSIM / TMevSimConverter.h
1 #ifndef ROOT_TMevSimConverter
2 #define ROOT_TMevSimConverter
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 /* $Id$ */
8
9 #include "TObject.h"
10
11 class TMevSimConverter : public TObject {
12
13     enum {kMaxParticles = 35};
14
15     Int_t  fNPDGCodes;                   // Number of PDG codes known by G3
16     Int_t  fPDGCode [kMaxParticles];     // Translation table of PDG codes
17
18     void DefineParticles();
19
20   public:
21
22     TMevSimConverter() : fNPDGCodes(0) {DefineParticles();}
23     virtual ~TMevSimConverter() {}
24
25     Int_t PDGFromId(Int_t gpid);
26     Int_t IdFromPDG(Int_t pdg); 
27     
28     ClassDef(TMevSimConverter,1)
29 };
30
31 #endif
32
33
34
35