fix limitation to 16 triggers in list
authorabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 4 Oct 2012 07:29:25 +0000 (07:29 +0000)
committerabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 4 Oct 2012 07:29:25 +0000 (07:29 +0000)
PWGPP/TRD/info/AliTRDtriggerInfo.cxx

index baae2c2..b0e778f 100644 (file)
@@ -50,7 +50,7 @@ Int_t AliTRDtriggerInfo::Add(const Char_t *trigger, Int_t nstat, Bool_t select)
     fTriggerStat[itrig]+= nstat;
   } else {
     if(!nt) fTriggerList = new TObjArray;
-    fTriggerList->AddAt(new TObjString(trigger), nt);
+    fTriggerList->Add(new TObjString(trigger));
     fTriggerStat[nt] = nstat;
     fTriggerSel[nt]  = select;
     nt++;