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