Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / TDPMjet / AliIonPDGCodes.h
CommitLineData
1a52e0ed 1#ifndef AliIonPDGCodes_h
2#define AliIonPDGCodes_h
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6#include <TArrayI.h>
7#include <TParticlePDG.h>
8#include <TParticleClassPDG.h>
9
10class TArrayI;
11class TParticle;
12class TDatabasePDG;
13
14class AliIonPDGCodes : public TObject
15{
16
17public:
18
19 AliIonPDGCodes();
20 virtual ~AliIonPDGCodes() {;}
ba758f5a 21 AliIonPDGCodes(const AliIonPDGCodes &PDGCodes);
4a6fdbad 22 AliIonPDGCodes& operator=(const AliIonPDGCodes& pdg);
1a52e0ed 23 virtual void AddParticlesToPdgDataBase();
24// virtual void MapPDGGEant3Codes();
25 virtual void SetPDGCode(Int_t i, Int_t val) {fPDGCode[i]=val;}
26 Int_t IdFromPDG(Int_t pdg) const;
27 Int_t PDGFromId(Int_t pdg) const;
28
29protected:
30
31 Int_t fNIon;
32 Int_t fPDGCode[200];
33
34 ClassDef(AliIonPDGCodes,1)
35
36};
37#endif