1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
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
25 #include "TDatabasePDG.h"
29 void AliPDG::AddParticlesToPdgDataBase()
33 // Add particles to the PDG data base
35 TDatabasePDG *pdgDB = TDatabasePDG::Instance();
37 const Int_t kion=10000000;
38 const Int_t kspe=50000000;
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;
49 // mass and life-time from PDG
51 pdgDB->AddParticle("Upsilon(3S)","Upsilon(3S)",10.3552,kTRUE,
52 0,1,"Bottonium",200553);
54 // Done by default now from Pythia6 table!
60 pdgDB->AddParticle("Deuteron","Deuteron",2*kAu2Gev+8.071e-3,kTRUE,
61 0,1,"Ion",kion+10020);
62 pdgDB->AddParticle("Triton","Triton",3*kAu2Gev+14.931e-3,kFALSE,
63 khShGev/(12.33*kYear2Sec),1,"Ion",kion+10030);
64 pdgDB->AddParticle("Alpha","Alpha",4*kAu2Gev+2.424e-3,kTRUE,
65 khShGev/(12.33*kYear2Sec),2,"Ion",kion+20040);
66 pdgDB->AddParticle("HE3","HE3",3*kAu2Gev+14.931e-3,kFALSE,
67 0,2,"Ion",kion+20030);
70 pdgDB->AddParticle("Cherenkov","Cherenkov",0,kFALSE,
71 0,0,"Special",kspe+50);
72 pdgDB->AddParticle("FeedbackPhoton","FeedbackPhoton",0,kFALSE,
73 0,0,"Special",kspe+51);