New histograms (C.Cheshkov)
[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() {;}
21 AliIonPDGCodes(const AliIonPDGCodes &PDGCodes) {;}
22 virtual void AddParticlesToPdgDataBase();
23// virtual void MapPDGGEant3Codes();
24 virtual void SetPDGCode(Int_t i, Int_t val) {fPDGCode[i]=val;}
25 Int_t IdFromPDG(Int_t pdg) const;
26 Int_t PDGFromId(Int_t pdg) const;
27
28protected:
29
30 Int_t fNIon;
31 Int_t fPDGCode[200];
32
33 ClassDef(AliIonPDGCodes,1)
34
35};
36#endif