Definition of additional particles moved to VMC (I.Hrivnacova)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 Oct 2002 16:26:39 +0000 (16:26 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 Oct 2002 16:26:39 +0000 (16:26 +0000)
STEER/AliPDG.cxx
STEER/AliRun.cxx

index 591758ab0fd247c14a3309d368eab8c8c99c7d97..8acdfc6353cdfb4f6752a8c9d31512c26c91ae39 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.5  2002/10/14 14:57:32  hristov
+Merging the VirtualMC branch to the main development branch (HEAD)
+
 Revision 1.3.10.2  2002/10/14 09:45:57  hristov
 Updating VirtualMC to v3-09-02
 
@@ -50,7 +53,7 @@ ClassImp(AliPDG)
 // Add particles to the PDG data base
 
     TDatabasePDG *pdgDB = TDatabasePDG::Instance();
-
+/*
     const Int_t kion=10000000;
     const Int_t kspe=50000000;
 
@@ -59,6 +62,8 @@ ClassImp(AliPDG)
     const Double_t kErg2Gev = 1/1.6021773349e-3;
     const Double_t khShGev = khSlash*kErg2Gev;
     const Double_t kYear2Sec = 3600*24*365.25;
+
+*/
 //
 // Bottom mesons
 // mass and life-time from PDG
@@ -71,7 +76,7 @@ ClassImp(AliPDG)
 //
 // Ions 
 //
-
+/*
   pdgDB->AddParticle("Deuteron","Deuteron",2*kAu2Gev+8.071e-3,kTRUE,
                      0,1,"Ion",kion+10020);
   pdgDB->AddParticle("Triton","Triton",3*kAu2Gev+14.931e-3,kFALSE,
@@ -86,7 +91,7 @@ ClassImp(AliPDG)
                     0,0,"Special",kspe+50);
   pdgDB->AddParticle("FeedbackPhoton","FeedbackPhoton",0,kFALSE,
                     0,0,"Special",kspe+51);
-
+*/
 }
 
 
index 5ce56e1003559bec5a711ef999e71a899b904f02..bf044a31a3b14e4227ff9f1b5dc3d6209ed61706 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.88  2002/10/14 14:57:32  hristov
+Merging the VirtualMC branch to the main development branch (HEAD)
+
 Revision 1.82.4.3  2002/10/14 09:45:57  hristov
 Updating VirtualMC to v3-09-02
 
@@ -288,8 +291,8 @@ Introduction of the Copyright and cvs Log
 #include "AliStack.h"
 #include "AliGenEventHeader.h"
 #include "AliHeader.h"
-
 #include "AliDetector.h"
+#include "AliPDG.h"
 
 AliRun *gAlice;
 
@@ -1367,6 +1370,7 @@ void AliRun::InitMC(const char *setup)
   gMC->SetStack(fStack);
 
   gMC->DefineParticles();  //Create standard MC particles
+  AliPDG::AddParticlesToPdgDataBase();  
 
   TObject *objfirst, *objlast;