]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TUHKMgen/UHKM/ParticleTable.h
updated macros for making PPR plots
[u/mrichter/AliRoot.git] / TUHKMgen / UHKM / ParticleTable.h
CommitLineData
b1c2e580 1#ifndef PARTICLETABLE_INCLUDED
2#define PARTICLETABLE_INCLUDED
3
4/*
5
6 Nikolai Amelin, Ludmila Malinina, Timur Pocheptsov (C) JINR/Dubna
7 amelin@sunhe.jinr.ru, malinina@sunhe.jinr.ru, pocheptsov@sunhe.jinr.ru
8 November. 2, 2005
9
10*/
11
12#include <map>
13
14#include <Rtypes.h>
15
16struct ParticleInfo {
17 Int_t fBaryonNumber;
18 Int_t fStrangeness;
19 Int_t fIsospin;
20 Int_t fSpin;
21 Int_t fCharge;
22
23 ParticleInfo(Int_t bN, Int_t s, Int_t s1, Int_t s2, Int_t c) {
24 fBaryonNumber = bN;
25 fStrangeness = s;
26 fIsospin = s1; //2S
27 fSpin = s2; //2I
28 fCharge = c; //fCharge = 2 * I3
29 }
30};
31
32extern const std::map<const Int_t, ParticleInfo> gParticleTable;
33typedef std::map<const Int_t, ParticleInfo>::const_iterator MapIt_t;
34
35#endif