In Init() check first if title is set before giving the default value
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Jan 2002 09:28:50 +0000 (09:28 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Jan 2002 09:28:50 +0000 (09:28 +0000)
PHOS/AliPHOSDigitizer.cxx

index 6580fb6..6f849ee 100644 (file)
@@ -510,8 +510,8 @@ Bool_t AliPHOSDigitizer::Init()
     
   if(fManager)
     SetTitle("aliroot") ;
-  //  else
-  //  SetTitle("galice.root") ;
+  else if (!GetTitle()) 
+   SetTitle("galice.root") ;
 
   if( strcmp(GetName(), "") == 0 )
     SetName("Default") ;