Fix compilation warning.
authormtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 11 Jun 2009 17:05:18 +0000 (17:05 +0000)
committermtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 11 Jun 2009 17:05:18 +0000 (17:05 +0000)
EVE/EveBase/AliEveEventSelector.cxx

index 1b4df2f..9fda57f 100644 (file)
@@ -295,8 +295,8 @@ void AliEveEventSelector::SetTriggerSelectionString( TString str )
   const AliESDRun* run = fPEventManager->GetESD()->GetESDRun();
   for (Int_t i=0; i<run->kNTriggerClasses; i++)
   {
-    const char* name = run->GetTriggerClass(i);
-    if (name=="") continue;
+    TString name(run->GetTriggerClass(i));
+    if (name.IsNull()) continue;
     TString valuestr("(");
     valuestr += fTriggerMaskPatternString;
     valuestr += "&";