]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliPDG.cxx
Bugfix in AliPoints2Memory
[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
16/*
17$Log$
5c618045 18Revision 1.3 2001/03/16 09:48:35 morsch
19Exclude pdg particle definitions. Done by root now by default from Pythia6 table.
20
41fc1188 21Revision 1.2 2001/01/31 14:32:42 morsch
22Some B mesons added
23
7f13be08 24Revision 1.1 2000/12/21 16:48:39 morsch
25AliPDG class, first commit.
26
56050439 27*/
28
29// Class to encapsulate the ALICE updates to TDatabasePDG.h
30// Can be used by TGeant3 and TGeant4
31// It contains also the constants for the PDG particle IDs.
32// Should evolve towards dynamical loading from external data base.
33// Comments to: andreas.morsch@cern.ch
34
35#include "AliPDG.h"
36#include "TDatabasePDG.h"
37
38ClassImp(AliPDG)
39
40 void AliPDG::AddParticlesToPdgDataBase()
41{
42
43//
44// Add particles to the PDG data base
45
46 TDatabasePDG *pdgDB = TDatabasePDG::Instance();
47
48 const Int_t kion=10000000;
49 const Int_t kspe=50000000;
50
51 const Double_t kAu2Gev=0.9314943228;
52 const Double_t khSlash = 1.0545726663e-27;
53 const Double_t kErg2Gev = 1/1.6021773349e-3;
54 const Double_t khShGev = khSlash*kErg2Gev;
55 const Double_t kYear2Sec = 3600*24*365.25;
56//
57// Bottom mesons
58// mass and life-time from PDG
56050439 59//
5c618045 60 pdgDB->AddParticle("Upsilon(3S)","Upsilon(3S)",10.3552,kTRUE,
61 0,1,"Bottonium",200553);
62
41fc1188 63// Done by default now from Pythia6 table!
64//
56050439 65//
66// Ions
67//
68
69 pdgDB->AddParticle("Deuteron","Deuteron",2*kAu2Gev+8.071e-3,kTRUE,
41fc1188 70 0,1,"Ion",kion+10020);
56050439 71 pdgDB->AddParticle("Triton","Triton",3*kAu2Gev+14.931e-3,kFALSE,
41fc1188 72 khShGev/(12.33*kYear2Sec),1,"Ion",kion+10030);
56050439 73 pdgDB->AddParticle("Alpha","Alpha",4*kAu2Gev+2.424e-3,kTRUE,
41fc1188 74 khShGev/(12.33*kYear2Sec),2,"Ion",kion+20040);
56050439 75 pdgDB->AddParticle("HE3","HE3",3*kAu2Gev+14.931e-3,kFALSE,
41fc1188 76 0,2,"Ion",kion+20030);
77// Special particles
56050439 78//
79 pdgDB->AddParticle("Cherenkov","Cherenkov",0,kFALSE,
80 0,0,"Special",kspe+50);
81 pdgDB->AddParticle("FeedbackPhoton","FeedbackPhoton",0,kFALSE,
82 0,0,"Special",kspe+51);
41fc1188 83
56050439 84}
41fc1188 85
86