Backward compatibility protection added. AliTPC constructor will also work with the...
authorkowal2 <kowal2@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 25 Jun 2012 10:05:47 +0000 (10:05 +0000)
committerkowal2 <kowal2@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 25 Jun 2012 10:05:47 +0000 (10:05 +0000)
TPC/AliTPC.cxx

index 1d2e048..83c674c 100644 (file)
@@ -313,7 +313,7 @@ void AliTPC::CreateMaterials()
   zmat[1]=6.;
   zmat[2]=8.;
 
-  if(title == TString("Ne-CO2")){
+  if(title == TString("Ne-CO2") || title == TString("Default")){
     wmat[0]=0.8038965;
     wmat[1]= 0.053519;
     wmat[2]= 0.1425743;