]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
allow names with the '-' character in items. This is a temporary solution like in...
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 8 Nov 2009 12:07:59 +0000 (12:07 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 8 Nov 2009 12:07:59 +0000 (12:07 +0000)
It has beendeactivated in r36097, but it turns out to be necessary again for the correct
evaluation of the trigger menu until the final concept is in place
See https://savannah.cern.ch/bugs/index.php?58205

HLT/trigger/AliHLTGlobalTriggerComponent.cxx

index d56c588bcb5770cedf64c7bf899df665422cb81d..bb490b43ed8c10fb917694972da0cb7f61fe288e 100644 (file)
@@ -685,7 +685,7 @@ int AliHLTGlobalTriggerComponent::GenerateTrigger(
   for (Int_t i = 0; i < symbols.GetEntriesFast(); i++)
   {
     AliHLTTriggerMenuSymbol* symbol = static_cast<AliHLTTriggerMenuSymbol*>( symbols.UncheckedAt(i) );
-    code << "      if (strcmp(symbol->Name(), \"" << symbol->Name() << "\") == 0) {" << endl;
+    code << "      if (strcmp(symbol->Name(), \"" << symbol->RealName() << "\") == 0) {" << endl;
     if (fDebugMode)
     {
       code << "        HLTDebug(Form(\"Assinging domain entry value corresponding with symbol '%s' to '%s'.\","
@@ -788,7 +788,7 @@ int AliHLTGlobalTriggerComponent::GenerateTrigger(
     if (isTrigDecision)
     {
       code << "strcmp(" << symbol->Name() << "_object_->Name(), \""
-           << symbol->Name() << "\") == 0 && ";
+           << symbol->RealName() << "\") == 0 && ";
     }
     code << symbol->Name() << "DomainEntry == _type_spec_) {" << endl;
     TString fullname = symbol->Name();