]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliPDG.cxx
Add Upsilon(3S) to particle data base.
[u/mrichter/AliRoot.git] / STEER / AliPDG.cxx
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$
18 Revision 1.3  2001/03/16 09:48:35  morsch
19 Exclude pdg particle definitions. Done by root now by default from Pythia6 table.
20
21 Revision 1.2  2001/01/31 14:32:42  morsch
22 Some B mesons added
23
24 Revision 1.1  2000/12/21 16:48:39  morsch
25 AliPDG class, first commit.
26
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
38 ClassImp(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
59 //
60   pdgDB->AddParticle("Upsilon(3S)","Upsilon(3S)",10.3552,kTRUE,
61                      0,1,"Bottonium",200553);
62
63 // Done by default now from Pythia6 table!
64 //
65 //
66 // Ions 
67 //
68
69   pdgDB->AddParticle("Deuteron","Deuteron",2*kAu2Gev+8.071e-3,kTRUE,
70                      0,1,"Ion",kion+10020);
71   pdgDB->AddParticle("Triton","Triton",3*kAu2Gev+14.931e-3,kFALSE,
72                      khShGev/(12.33*kYear2Sec),1,"Ion",kion+10030);
73   pdgDB->AddParticle("Alpha","Alpha",4*kAu2Gev+2.424e-3,kTRUE,
74                      khShGev/(12.33*kYear2Sec),2,"Ion",kion+20040);
75   pdgDB->AddParticle("HE3","HE3",3*kAu2Gev+14.931e-3,kFALSE,
76                      0,2,"Ion",kion+20030);
77 // Special particles
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);
83
84 }
85
86