rcal.C 268 Bytes
Newer Older
Pavel Sharov's avatar
Pavel Sharov committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
void rcall(const char* name)
{
	TNeDet1 *pDet 
	= (TNeDet1*)(TGo4Analysis::Instance())->GetParameter(name);
	if(!pDet)
	{
		printf("OBJECT: %s WAS NOT FOUND \n",name);
		return;
	}
	TString fname(name);
	fname.ToLower();
	fname += ".cal";
	pDet->Read(fname.Data());
}