]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Warnnings removal (Marian)
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 8 Nov 2008 09:40:11 +0000 (09:40 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 8 Nov 2008 09:40:11 +0000 (09:40 +0000)
TPC/AliTPCCalibTCF.cxx
TPC/AliTPCRF1D.cxx

index 23fffc02affcf963c91d8be761a513d5607d3a45..5511e7ef98659f8efc78ec78877c65630b11e6b0 100644 (file)
@@ -1763,7 +1763,7 @@ void AliTPCCalibTCF::MergeToOneFile(const char *nameFileSum) {
 
       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);
index 077193ccff354e95c818c5bcc610d7ec8fe9ca01..9b12840833f250a6ec2cce299cff3545b42b96bd 100644 (file)
@@ -57,18 +57,6 @@ static Double_t funCosh(Double_t *x, Double_t * par)
   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