while (!fin->eof())
{
(*fin) >> tName >> tMult;
- PRINT_DEBUG_2(tName << " " << mDB->GetParticleTypeIndex(strdup(tName)) << " " << tMult);
+ PRINT_DEBUG_2(tName << " " << mDB->GetParticleTypeIndex(tName) << " " << tMult);
mAverageMultiplicities[mDB->GetParticleTypeIndex(strdup(tName))] = tMult;
}
fin->close();
}
+ delete tHash;
delete tMultName;
}
void Parser::ReadInput()
{
int j,tPartIter=0,l,tIter2, tIter; //variables
- char str[50];
- char str1[20];
+ char str[200];
+ char str1[200];
double spin1,spin2,value;
////// START OF "TABLES.M" /////////
tRatio *= atof(tBRatio)/atof(tBRatio+2);
else
tRatio *= atof(tBRatio);
+
+ delete tFather;
+ delete tDaughter1;
+ delete tDaughter2;
+ delete tBRatio;
}
//THREE-BODY DECAYS
// (mDB->GetParticleType(tFather))->AddDecayChannel(*newChannel);
// }
(mDB->GetParticleType(tFather))->AddDecayChannel(*newChannel);
+
+ delete newChannel;
}
if(str[0] == 's' && str[1] == 'e' && str[2] == '3')
mDB->GetParticleType(tDaughter3)->GetMass()
< mDB->GetParticleType(tFather)->GetMass())
(mDB->GetParticleType(tFather))->AddDecayChannel(*newChannel);
+
+ delete newChannel;
tRatio=tBRatio;
PRINT_DEBUG_2(tBRatio << '\t' << tRatio);