Fix of a bug that arises when adding more than 1 function to AliRsnPairFunctions
authorpulvir <pulvir@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 15 Feb 2011 14:51:10 +0000 (14:51 +0000)
committerpulvir <pulvir@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 15 Feb 2011 14:51:10 +0000 (14:51 +0000)
PWG2/RESONANCES/AliRsnPairFunctions.cxx

index 80351b68ffc1d942f1430e0152cd9e2fbb89bea5..8d21ba9784029bc823d196627ddce0eaf635a888 100644 (file)
@@ -118,7 +118,7 @@ void AliRsnPairFunctions::Init(const char *prefix, TList *list)
    AliRsnFunction *fcn = 0;
    for (i = 0; i < fFunctions.GetEntries(); i++) {
       fcn = (AliRsnFunction*)fFunctions.At(i);
-      hName += prefix;
+      hName  = prefix;
       hName += '_';
       hName += GetName();
       hName += '_';