printf("Sector file %s found\n",nameFileSumSec);
TIter next(fileSumSec->GetListOfKeys());
- while( key=(TKey*)next() ) {
+ while( (key=(TKey*)next()) ) {
const char *hisName = key->GetName();
hisIn=(TH1F*)fileSumSec->Get(hisName);
return 1/TMath::CosH(3.14159*x[0]/(2*par[0]));
}
-static Double_t funGamma4(Double_t *x, Double_t * par)
-{
- //
- // Gamma 4 function
- //
- if (x[0]<0) return 0;
- Double_t g1 = TMath::Exp(-4.*x[0]/par[1]);
- Double_t g2 = TMath::Power(x[0]/par[1],4);
- return par[0]*g1*g2;
-}
-
-
static Double_t funGati(Double_t *x, Double_t * par)
{
//Gati function -needde by the generic function object