CMS 3D CMS Logo

ParticleTable.h
Go to the documentation of this file.
1 /*
2 
3 Nikolai Amelin, Ludmila Malinina, Timur Pocheptsov (C) JINR/Dubna
4 amelin@sunhe.jinr.ru, malinina@sunhe.jinr.ru, pocheptsov@sunhe.jinr.ru
5 November. 2, 2005
6 
7 */
8 
9 #ifndef PARTICLETABLE_INCLUDED
10 #define PARTICLETABLE_INCLUDED
11 
12 #include <map>
13 #include <Rtypes.h>
14 
15 struct ParticleInfo {
18  int fIsospin;
19  int fSpin;
20  int fCharge;
21 
22  ParticleInfo(int bN, int s, int s1, int s2, int c) {
23  fBaryonNumber = bN;
24  fStrangeness = s;
25  fIsospin = s1; //2S
26  fSpin = s2; //2I
27  fCharge = c; //fCharge = 2 * I3
28  }
29 };
30 
31 extern const std::map<const int, ParticleInfo> gParticleTable;
32 typedef std::map<const int, ParticleInfo>::const_iterator MapIt_t;
33 
34 #endif
gParticleTable
const std::map< const int, ParticleInfo > gParticleTable
ParticleInfo::fIsospin
int fIsospin
Definition: ParticleTable.h:18
ParticleInfo::fBaryonNumber
int fBaryonNumber
Definition: ParticleTable.h:16
alignCSCRings.s
s
Definition: alignCSCRings.py:92
ParticleInfo::fCharge
int fCharge
Definition: ParticleTable.h:20
ParticleInfo::fSpin
int fSpin
Definition: ParticleTable.h:19
ParticleInfo::ParticleInfo
ParticleInfo(int bN, int s, int s1, int s2, int c)
Definition: ParticleTable.h:22
ParticleInfo::fStrangeness
int fStrangeness
Definition: ParticleTable.h:17
MapIt_t
std::map< const int, ParticleInfo >::const_iterator MapIt_t
Definition: ParticleTable.h:32
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
ParticleInfo
Definition: ParticleTable.h:15