]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliPDG.cxx
bugfix: boundery check for static hit array
[u/mrichter/AliRoot.git] / STEER / AliPDG.cxx
CommitLineData
56050439 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
acd84897 16/* $Id$ */
56050439 17
18// Class to encapsulate the ALICE updates to TDatabasePDG.h
19// Can be used by TGeant3 and TGeant4
20// It contains also the constants for the PDG particle IDs.
21// Should evolve towards dynamical loading from external data base.
22// Comments to: andreas.morsch@cern.ch
23
24#include "AliPDG.h"
25#include "TDatabasePDG.h"
26
27ClassImp(AliPDG)
28
29 void AliPDG::AddParticlesToPdgDataBase()
30{
31
32//
33// Add particles to the PDG data base
34
35 TDatabasePDG *pdgDB = TDatabasePDG::Instance();
78329f9f 36 const Int_t kspe=50000000;
141f90e3 37/*
56050439 38 const Int_t kion=10000000;
56050439 39
40 const Double_t kAu2Gev=0.9314943228;
41 const Double_t khSlash = 1.0545726663e-27;
42 const Double_t kErg2Gev = 1/1.6021773349e-3;
43 const Double_t khShGev = khSlash*kErg2Gev;
44 const Double_t kYear2Sec = 3600*24*365.25;
141f90e3 45
46*/
56050439 47//
48// Bottom mesons
49// mass and life-time from PDG
56050439 50//
5c618045 51 pdgDB->AddParticle("Upsilon(3S)","Upsilon(3S)",10.3552,kTRUE,
52 0,1,"Bottonium",200553);
53
f51912a2 54// QCD diffractive states
55 pdgDB->AddParticle("rho_diff0","rho_diff0",0,kTRUE,
56 0,0,"QCD diffr. state",9900110);
57 pdgDB->AddParticle("pi_diffr+","pi_diffr+",0,kTRUE,
58 0,1,"QCD diffr. state",9900210);
59 pdgDB->AddParticle("omega_di","omega_di",0,kTRUE,
60 0,0,"QCD diffr. state",9900220);
61 pdgDB->AddParticle("phi_diff","phi_diff",0,kTRUE,
62 0,0,"QCD diffr. state",9900330);
63 pdgDB->AddParticle("J/psi_di","J/psi_di",0,kTRUE,
64 0,0,"QCD diffr. state",9900440);
65 pdgDB->AddParticle("n_diffr0","n_diffr0",0,kTRUE,
66 0,0,"QCD diffr. state",9902110);
67 pdgDB->AddParticle("p_diffr+","p_diffr+",0,kTRUE,
68 0,1,"QCD diffr. state",9902210);
aac346c3 69
70// Some particles produced by HERWIG
71 pdgDB->AddParticle("rho3(1690)0","rho(1690)0", 1.69, kTRUE,
72 0, 0,"rho", 117);
73 pdgDB->AddParticle("pion2(1670)0","pion2(1670)0", 1.67, kTRUE,
74 0, 0,"pion", 10115);
75 pdgDB->AddParticle("omega(1650)","omega(1650)", 1.65, kTRUE,
76 0, 0,"pion", 30223);
77
41fc1188 78// Done by default now from Pythia6 table!
79//
56050439 80//
81// Ions
82//
141f90e3 83/*
56050439 84 pdgDB->AddParticle("Deuteron","Deuteron",2*kAu2Gev+8.071e-3,kTRUE,
41fc1188 85 0,1,"Ion",kion+10020);
56050439 86 pdgDB->AddParticle("Triton","Triton",3*kAu2Gev+14.931e-3,kFALSE,
41fc1188 87 khShGev/(12.33*kYear2Sec),1,"Ion",kion+10030);
56050439 88 pdgDB->AddParticle("Alpha","Alpha",4*kAu2Gev+2.424e-3,kTRUE,
41fc1188 89 khShGev/(12.33*kYear2Sec),2,"Ion",kion+20040);
56050439 90 pdgDB->AddParticle("HE3","HE3",3*kAu2Gev+14.931e-3,kFALSE,
41fc1188 91 0,2,"Ion",kion+20030);
78329f9f 92*/
41fc1188 93// Special particles
56050439 94//
95 pdgDB->AddParticle("Cherenkov","Cherenkov",0,kFALSE,
96 0,0,"Special",kspe+50);
97 pdgDB->AddParticle("FeedbackPhoton","FeedbackPhoton",0,kFALSE,
98 0,0,"Special",kspe+51);
13313168 99 pdgDB->AddParticle("Lambda1520","Lambda1520",1.5195,kFALSE,
100 0.0156,0,"Resonance",3124);
101 pdgDB->AddAntiParticle("Lambda1520bar",-3124);
56050439 102}
41fc1188 103
104