]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - macros/ConfigBeautyPPR.C
Phi range set consistently to 0 ... 360.
[u/mrichter/AliRoot.git] / macros / ConfigBeautyPPR.C
index 278ef035009c9400df804dd0d133439c6d46f250..7cac5f0171239c22816a9da2ee92435900a491c0 100644 (file)
@@ -11,7 +11,10 @@ void Config()
   gRandom->SetSeed(seed);
   cerr<<"Seed for random number generation= "<<seed<<endl; 
 
-  new AliGeant3("C++ Interface to Geant3");
+  // libraries required by geant321
+  gSystem->Load("libgeant321");
+
+  new TGeant3("C++ Interface to Geant3");
 
   //=======================================================================
   //  Create the output file
@@ -67,7 +70,7 @@ void Config()
   AliGenPythia *gener = new AliGenPythia(-1);
 
   gener->SetMomentumRange(0,999);
-  gener->SetPhiRange(-180.,180.);
+  gener->SetPhiRange(0.,360.);
   gener->SetThetaRange(0,180);
   gener->SetYRange(-999,999);
   //gener->SetPtRange(0,100);
@@ -103,7 +106,7 @@ void Config()
   gAlice->SetField(field);    
 
   Int_t iABSO=0;
-  Int_t iCASTOR=0;
+  Int_t iCRT=0;
   Int_t iDIPO=0;
   Int_t iFMD=0;
   Int_t iFRAME=0;
@@ -161,7 +164,7 @@ void Config()
   if(iSHIL) {
     //=================== SHIL parameters ============================
 
-    AliSHIL *SHIL  = new AliSHILv0("SHIL","Shielding");
+    AliSHIL *SHIL  = new AliSHILv2("SHIL","Shielding");
   }
 
 
@@ -286,10 +289,10 @@ void Config()
     AliZDC *ZDC  = new AliZDCv1("ZDC","normal ZDC");
   }
 
-  if(iCASTOR) {
-    //=================== CASTOR parameters ============================
+  if(iCRT) {
+    //=================== CRT parameters ============================
 
-    AliCASTOR *CASTOR  = new AliCASTORv1("CASTOR","normal CASTOR");
+    AliCRT *CRT  = new AliCRTv1("CRT","normal CRT");
   }
 
   if(iTRD) {