]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
fixing warnings
authorrpreghen <rpreghen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Aug 2010 13:54:08 +0000 (13:54 +0000)
committerrpreghen <rpreghen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Aug 2010 13:54:08 +0000 (13:54 +0000)
TOF/AliTOFChannelOnlineArray.cxx
TOF/AliTOFClusterFinderV1.cxx
TOF/AliTOFFEEReader.cxx
TOF/AliTOFPreprocessor.cxx
TOF/AliTOFSDigitizer.cxx
TOF/AliTOFT0.cxx
TOF/AliTOFcalib.cxx
TOF/AliTOFrawData.cxx
TOF/AliTOFtrackerV1.cxx
TOF/AliTOFv6T0.cxx

index 6c3289436d020411f8f09559d5dfd6a3b496fb46..ee7f2e5be685683d90b8fa39545f277544bcea6b 100644 (file)
@@ -75,9 +75,9 @@ AliTOFChannelOnlineArray &AliTOFChannelOnlineArray::operator=(const AliTOFChanne
 void AliTOFChannelOnlineArray::SetDelay(Int_t pos, Float_t parr)
 {
        // setting status for channel at position = pos
-       AliDebug(2,Form("status = %d",(Float_t)parr));
+       AliDebug(2,Form("status = %f",(Float_t)parr));
        if (pos>-1 && pos < fSize)fArray[pos] = parr;
-       AliDebug(2,Form("fArray[%d] = %d",pos,(Float_t)fArray[pos]));
+       AliDebug(2,Form("fArray[%d] = %f",pos,(Float_t)fArray[pos]));
 }
 //________________________________________________________________
 Float_t AliTOFChannelOnlineArray::GetDelay(Int_t pos) const 
index d3036a279792c0add31c152702f85814a455adb7..fe5f61e30389d1ab7ceff431d95ae2bcb00687ba 100644 (file)
@@ -578,7 +578,7 @@ void AliTOFClusterFinderV1::FillRecPoint()
          dummy4 = fNumberOfTofClusters;
          FindClustersPerStrip(iSector, iPlate, iStrip, 4); // 4 pads clusters
          if (fNumberOfTofClusters!=dummy4)
-           AliDebug(2, Form(" (4): n1= %5d, n2 = %5", dummy4, fNumberOfTofClusters));
+           AliDebug(2, Form(" (4): n1= %5d, n2 = %5d", dummy4, fNumberOfTofClusters));
 
 
          if (!(fTOFdigitMap->StripDigitCheck(iSector,iPlate,iStrip))) continue;
@@ -588,7 +588,7 @@ void AliTOFClusterFinderV1::FillRecPoint()
          dummy3 = fNumberOfTofClusters;
          FindClustersPerStrip(iSector, iPlate, iStrip, 3); // 3 pads clusters
          if (fNumberOfTofClusters!=dummy3)
-           AliDebug(2, Form(" (3): n1= %5d, n2 = %5", dummy3, fNumberOfTofClusters));
+           AliDebug(2, Form(" (3): n1= %5d, n2 = %5d", dummy3, fNumberOfTofClusters));
 
 
          if (!(fTOFdigitMap->StripDigitCheck(iSector,iPlate,iStrip))) continue;
@@ -598,7 +598,7 @@ void AliTOFClusterFinderV1::FillRecPoint()
          dummy2 = fNumberOfTofClusters;
          FindClustersPerStrip(iSector, iPlate, iStrip, 2); // 2 pads clusters
          if (fNumberOfTofClusters!=dummy2)
-           AliDebug(2, Form(" (2): n1= %5d, n2 =%5", dummy2, fNumberOfTofClusters));
+           AliDebug(2, Form(" (2): n1= %5d, n2 =%5d", dummy2, fNumberOfTofClusters));
 
 
          if (!(fTOFdigitMap->StripDigitCheck(iSector,iPlate,iStrip))) continue;
@@ -1114,7 +1114,7 @@ void AliTOFClusterFinderV1::FindClusters34(Int_t nSector,
        if (digitInteresting->GetToT()<=0) continue; // AdC
        digitIndexLocal++; // AdC
 
-       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %f %f %f %f  %5d  %5d %5d %5d",
+       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %d %d %d %d  %5d  %5d %5d %5d",
                        vol[0], vol[1], vol[2] ,vol[4], vol[3],
                        digitInteresting->GetTdc(), digitInteresting->GetAdc(),
                        digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
@@ -1147,7 +1147,7 @@ void AliTOFClusterFinderV1::FindClusters34(Int_t nSector,
        if (digitInteresting->GetToT()<=0) continue; // AdC
        digitIndexLocal++; // AdC
 
-       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %f %f %f %f  %5d  %5d %5d %5d",
+       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %d %d %d %d  %5d  %5d %5d %5d",
                        vol[0], vol[1], vol[2] ,vol[4], vol[3],
                        digitInteresting->GetTdc(), digitInteresting->GetAdc(),
                        digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
@@ -1180,7 +1180,7 @@ void AliTOFClusterFinderV1::FindClusters34(Int_t nSector,
        if (digitInteresting->GetToT()<=0) continue; // AdC
        digitIndexLocal++; // AdC
 
-       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %f %f %f %f  %5d  %5d %5d %5d",
+       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %d %d %d %d  %5d  %5d %5d %5d",
                        vol[0], vol[1], vol[2] ,vol[4], vol[3],
                        digitInteresting->GetTdc(), digitInteresting->GetAdc(),
                        digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
@@ -1213,7 +1213,7 @@ void AliTOFClusterFinderV1::FindClusters34(Int_t nSector,
        if (digitInteresting->GetToT()<=0) continue; // AdC
        digitIndexLocal++; // AdC
 
-       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %f %f %f %f  %5d  %5d %5d %5d",
+       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %d %d %d %d  %5d  %5d %5d %5d",
                        vol[0], vol[1], vol[2] ,vol[4], vol[3],
                        digitInteresting->GetTdc(), digitInteresting->GetAdc(),
                        digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
@@ -1578,7 +1578,7 @@ void AliTOFClusterFinderV1::FindClusters23(Int_t nSector,
        if (digitInteresting->GetToT()<=0) continue; // AdC
        digitIndexLocal++; // AdC
 
-       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %f %f %f %f  %5d  %5d %5d %5d",
+       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %d %d %d %d  %5d  %5d %5d %5d",
                        vol[0], vol[1], vol[2] ,vol[4], vol[3],
                        digitInteresting->GetTdc(), digitInteresting->GetAdc(),
                        digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
@@ -1610,7 +1610,7 @@ void AliTOFClusterFinderV1::FindClusters23(Int_t nSector,
        if (digitInteresting->GetToT()<=0) continue; // AdC
        digitIndexLocal++; // AdC
 
-       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %f %f %f %f  %5d  %5d %5d %5d",
+       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %d %d %d %d  %5d  %5d %5d %5d",
                        vol[0], vol[1], vol[2] ,vol[4], vol[3],
                        digitInteresting->GetTdc(), digitInteresting->GetAdc(),
                        digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
@@ -1642,7 +1642,7 @@ void AliTOFClusterFinderV1::FindClusters23(Int_t nSector,
        if (digitInteresting->GetToT()<=0) continue; // AdC
        digitIndexLocal++; // AdC
 
-       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %f %f %f %f  %5d  %5d %5d %5d",
+       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %d %d %d %d  %5d  %5d %5d %5d",
                        vol[0], vol[1], vol[2] ,vol[4], vol[3],
                        digitInteresting->GetTdc(), digitInteresting->GetAdc(),
                        digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
@@ -1674,7 +1674,7 @@ void AliTOFClusterFinderV1::FindClusters23(Int_t nSector,
        if (digitInteresting->GetToT()<=0) continue; // AdC
        digitIndexLocal++; // AdC
 
-       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %f %f %f %f  %5d  %5d %5d %5d",
+       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %d %d %d %d  %5d  %5d %5d %5d",
                        vol[0], vol[1], vol[2] ,vol[4], vol[3],
                        digitInteresting->GetTdc(), digitInteresting->GetAdc(),
                        digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
@@ -1984,7 +1984,7 @@ void AliTOFClusterFinderV1::FindClusters24(Int_t nSector,
        if (digitInteresting->GetToT()<=0) continue; // AdC
        digitIndexLocal++; // AdC
 
-       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %f %f %f %f  %5d  %5d %5d %5d",
+       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %d %d %d %d  %5d  %5d %5d %5d",
                        vol[0], vol[1], vol[2] ,vol[4], vol[3],
                        digitInteresting->GetTdc(), digitInteresting->GetAdc(),
                        digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
@@ -2016,7 +2016,7 @@ void AliTOFClusterFinderV1::FindClusters24(Int_t nSector,
        if (digitInteresting->GetToT()<=0) continue; // AdC
        digitIndexLocal++; // AdC
 
-       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %f %f %f %f  %5d  %5d %5d %5d",
+       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %d %d %d %d  %5d  %5d %5d %5d",
                        vol[0], vol[1], vol[2] ,vol[4], vol[3],
                        digitInteresting->GetTdc(), digitInteresting->GetAdc(),
                        digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
@@ -2048,7 +2048,7 @@ void AliTOFClusterFinderV1::FindClusters24(Int_t nSector,
        if (digitInteresting->GetToT()<=0) continue; // AdC
        digitIndexLocal++; // AdC
 
-       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %f %f %f %f  %5d  %5d %5d %5d",
+       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %d %d %d %d  %5d  %5d %5d %5d",
                        vol[0], vol[1], vol[2] ,vol[4], vol[3],
                        digitInteresting->GetTdc(), digitInteresting->GetAdc(),
                        digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
@@ -2080,7 +2080,7 @@ void AliTOFClusterFinderV1::FindClusters24(Int_t nSector,
        if (digitInteresting->GetToT()<=0) continue; // AdC
        digitIndexLocal++; // AdC
 
-       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %f %f %f %f  %5d  %5d %5d %5d",
+       AliDebug(1,Form(" %2d %1d %2d %1d %2d  %d %d %d %d  %5d  %5d %5d %5d",
                        vol[0], vol[1], vol[2] ,vol[4], vol[3],
                        digitInteresting->GetTdc(), digitInteresting->GetAdc(),
                        digitInteresting->GetToT(), digitInteresting->GetToT()*digitInteresting->GetToT(),
@@ -2549,7 +2549,7 @@ void AliTOFClusterFinderV1::FindClustersPerStrip(Int_t nSector,
                continue;
              }
 
-             AliDebug(1, Form(" %1d %1d (0x%x) %1d %1d (0x%x)", adesso1, firstIndex,selectedDigit[adesso1][firstIndex],
+             AliDebug(1, Form(" %1d %1d (0x%p) %1d %1d (0x%p)", adesso1, firstIndex,selectedDigit[adesso1][firstIndex],
                               adesso2, secondIndex,selectedDigit[adesso2][secondIndex]));
 
              interestingTOF[0] = selectedDigit[adesso1][firstIndex]->GetTDC();
index c19ff41622f5422b38fd043805f5faef72bafc99..c8fd0b8798b62d4c009b6da31634950bed842b13 100644 (file)
@@ -445,7 +445,7 @@ AliTOFFEEReader::DumpFEEConfig()
   AliInfo("dumping TOF FEE config");
   AliInfo("-------------------------------------");
   AliInfo(Form("version: %d", feeConfig->GetVersion()));
-  AliInfo(Form("dump time: %d", feeConfig->GetDumpTime()));
+  AliInfo(Form("dump time: %d", (Int_t)feeConfig->GetDumpTime()));
   AliInfo(Form("run number: %d", feeConfig->GetRunNumber()));
   AliInfo(Form("run type: %d", feeConfig->GetRunType()));
   AliInfo("-------------------------------------");
index c0b06988b814ae022e097ef5c6560edc2d544cfd..d118074a761c9c7a02ea3fb1b852b6381bbc77a8 100644 (file)
@@ -448,7 +448,7 @@ UInt_t AliTOFPreprocessor::ProcessOnlineDelays()
                          integralThr = tmpstr.Atof();
                  }
                  else {
-                         Log(Form("No IntegralThr value found in Map from Config entry in CDB, using default value: IntegralThr = %i",integralThr));
+                         Log(Form("No IntegralThr value found in Map from Config entry in CDB, using default value: IntegralThr = %f",integralThr));
                  }
                  TObjString *strThrPar = (TObjString*)configMap->GetValue("ThrPar");
                  if (strThrPar) {
@@ -456,7 +456,7 @@ UInt_t AliTOFPreprocessor::ProcessOnlineDelays()
                          thrPar = tmpstr.Atof();
                  }
                  else {
-                         Log(Form("No ThrPar value found in Map from Config entry in CDB, using default value: ThrPar = %i",thrPar));
+                         Log(Form("No ThrPar value found in Map from Config entry in CDB, using default value: ThrPar = %f",thrPar));
                  }
          }
   }
@@ -992,17 +992,17 @@ AliTOFPreprocessor::ProcessNoiseCalibTrg()
   Float_t noiseThr = 1000.;   // setting default threshold for noise to 1000 Hz
   // reading config map
   AliCDBEntry *cdbEntry = GetFromOCDB("Calib","ConfigNoise");
-  if (!cdbEntry) Log(Form("No Configuration entry found in CDB, using default values: NoiseThr = %d",noiseThr));
+  if (!cdbEntry) Log(Form("No Configuration entry found in CDB, using default values: NoiseThr = %f",noiseThr));
   else {
     TMap *configMap = (TMap*)cdbEntry->GetObject();
-    if (!configMap) Log(Form("No map found in Config entry in CDB, using default values: NoiseThr = %d", noiseThr));
+    if (!configMap) Log(Form("No map found in Config entry in CDB, using default values: NoiseThr = %f", noiseThr));
     else {
       TObjString *strNoiseThr = (TObjString*)configMap->GetValue("NoiseThr");
       if (strNoiseThr) {
        TString tmpstr = strNoiseThr->GetString();
        noiseThr = tmpstr.Atoi();
       }
-      else Log(Form("No NoiseThr value found in Map from ConfigNoise entry in CDB, using default value: NoiseThr = %i",noiseThr));
+      else Log(Form("No NoiseThr value found in Map from ConfigNoise entry in CDB, using default value: NoiseThr = %f",noiseThr));
     }
   }
 
@@ -1426,12 +1426,12 @@ UInt_t AliTOFPreprocessor::ProcessNoiseData()
   // reading config map
   AliCDBEntry *cdbEntry = GetFromOCDB("Calib","ConfigNoise");
   if (!cdbEntry) {
-         Log(Form("No Configuration entry found in CDB, using default values: NoiseThr = %d",noiseThr));
+         Log(Form("No Configuration entry found in CDB, using default values: NoiseThr = %f",noiseThr));
   }
   else {
          TMap *configMap = (TMap*)cdbEntry->GetObject();
          if (!configMap){
-                 Log(Form("No map found in Config entry in CDB, using default values: NoiseThr = %d", noiseThr));
+                 Log(Form("No map found in Config entry in CDB, using default values: NoiseThr = %f", noiseThr));
          }
          else{
                  TObjString *strNoiseThr = (TObjString*)configMap->GetValue("NoiseThr");
@@ -1440,7 +1440,7 @@ UInt_t AliTOFPreprocessor::ProcessNoiseData()
                          noiseThr = tmpstr.Atoi();
                  }
                  else {
-                         Log(Form("No NoiseThr value found in Map from ConfigNoise entry in CDB, using default value: NoiseThr = %i",noiseThr));
+                         Log(Form("No NoiseThr value found in Map from ConfigNoise entry in CDB, using default value: NoiseThr = %f",noiseThr));
                  }
          }
   }
index e1a02e1e80d5000fbb898b9d10a6547380dec9e4..1f5444d0f5fe927754e7026097315417bb7e1b46 100644 (file)
@@ -936,29 +936,29 @@ void AliTOFSDigitizer::PrintParameters()const
   
   AliInfo(Form(" Number of events:                       %i ", (fEvent2-fEvent1)));
   AliInfo(Form(" from event %i to event %i", fEvent1, (fEvent2-1)));
-  AliInfo(Form(" Time Resolution (ns) %d  Pad Efficiency: %d ", fTimeResolution, fpadefficiency));
+  AliInfo(Form(" Time Resolution (ns) %f  Pad Efficiency: %f ", fTimeResolution, fpadefficiency));
   AliInfo(Form(" Edge Effect option:  %d", fEdgeEffect));
 
   AliInfo(" Boundary Effect Simulation Parameters ");
-  AliInfo(Form(" Hparameter: %d  H2parameter: %d  Kparameter: %d  K2parameter: %d", fHparameter, fH2parameter, fKparameter, fK2parameter));
-  AliInfo(Form(" Efficiency in the central region of the pad: %d", fEffCenter));
-  AliInfo(Form(" Efficiency at the boundary region of the pad: %d", fEffBoundary));
-  AliInfo(Form(" Efficiency value at H2parameter %d", fEff2Boundary));
-  AliInfo(Form(" Efficiency value at K2parameter %d", fEff3Boundary));
-  AliInfo(Form(" Resolution (ps) in the central region of the pad: %d", fResCenter));
-  AliInfo(Form(" Resolution (ps) at the boundary of the pad      : %d", fResBoundary));
-  AliInfo(Form(" Slope (ps/K) for neighbouring pad               : %d", fResSlope));
-  AliInfo(Form(" Time walk (ps) in the central region of the pad : %d", fTimeWalkCenter));
-  AliInfo(Form(" Time walk (ps) at the boundary of the pad       : %d", fTimeWalkBoundary));
-  AliInfo(Form(" Slope (ps/K) for neighbouring pad               : %d", fTimeWalkSlope));
+  AliInfo(Form(" Hparameter: %f  H2parameter: %f  Kparameter: %f  K2parameter: %f", fHparameter, fH2parameter, fKparameter, fK2parameter));
+  AliInfo(Form(" Efficiency in the central region of the pad: %f", fEffCenter));
+  AliInfo(Form(" Efficiency at the boundary region of the pad: %f", fEffBoundary));
+  AliInfo(Form(" Efficiency value at H2parameter %f", fEff2Boundary));
+  AliInfo(Form(" Efficiency value at K2parameter %f", fEff3Boundary));
+  AliInfo(Form(" Resolution (ps) in the central region of the pad: %f", fResCenter));
+  AliInfo(Form(" Resolution (ps) at the boundary of the pad      : %f", fResBoundary));
+  AliInfo(Form(" Slope (ps/K) for neighbouring pad               : %f", fResSlope));
+  AliInfo(Form(" Time walk (ps) in the central region of the pad : %f", fTimeWalkCenter));
+  AliInfo(Form(" Time walk (ps) at the boundary of the pad       : %f", fTimeWalkBoundary));
+  AliInfo(Form(" Slope (ps/K) for neighbouring pad               : %f", fTimeWalkSlope));
   AliInfo(" Pulse Heigth Simulation Parameters ");
   AliInfo(Form(" Flag for delay due to the PulseHeightEffect  : %d", fTimeDelayFlag));
-  AliInfo(Form(" Pulse Height Slope                           : %d", fPulseHeightSlope));
-  AliInfo(Form(" Time Delay Slope                             : %d", fTimeDelaySlope));
-  AliInfo(Form(" Minimum charge amount which could be induced : %d", fMinimumCharge));
-  AliInfo(Form(" Smearing in charge in (q1/q2) vs x plot      : %d", fChargeSmearing));
-  AliInfo(Form(" Smearing in log of charge ratio              : %d", fLogChargeSmearing));
-  AliInfo(Form(" Smearing in time in time vs log(q1/q2) plot  : %d", fTimeSmearing));
+  AliInfo(Form(" Pulse Height Slope                           : %f", fPulseHeightSlope));
+  AliInfo(Form(" Time Delay Slope                             : %f", fTimeDelaySlope));
+  AliInfo(Form(" Minimum charge amount which could be induced : %f", fMinimumCharge));
+  AliInfo(Form(" Smearing in charge in (q1/q2) vs x plot      : %f", fChargeSmearing));
+  AliInfo(Form(" Smearing in log of charge ratio              : %f", fLogChargeSmearing));
+  AliInfo(Form(" Smearing in time in time vs log(q1/q2) plot  : %f", fTimeSmearing));
   AliInfo(Form(" Flag for average time                        : %d", fAverageTimeFlag));
   AliInfo(Form(" Edge tails option                            : %d", fEdgeTails));
   
index 0b76103ffa8757172686596354753c1f2e34eabc..890b8fadc339b82b36e868ab734e035e0e0f8fc2 100644 (file)
@@ -268,7 +268,7 @@ void AliTOFT0::Exec(Option_t *option)
   }
 
   if(strstr(option,"all")){
-    AliInfo(Form("Selecting primary tracks with momentum between %d GeV/c and %d GeV/c",  fLowerMomBound, fUpperMomBound));
+    AliInfo(Form("Selecting primary tracks with momentum between %f GeV/c and %f GeV/c",  fLowerMomBound, fUpperMomBound));
     AliInfo("Memorandum: 0 means PION | 1 means KAON | 2 means PROTON")
   }
 
@@ -446,8 +446,8 @@ void AliTOFT0::Exec(Option_t *option)
            if(strstr(option,"all")){
              AliInfo(Form("True Assignment %d  %d  %d  %d  %d  %d  %d  %d  %d  %d", truparticle[0], truparticle[1], truparticle[2], truparticle[3], truparticle[4], truparticle[5], truparticle[6], truparticle[7], truparticle[8], truparticle[9]));
              AliInfo(Form("Best Assignment %d  %d  %d  %d  %d  %d  %d  %d  %d  %d", assparticle[0], assparticle[1], assparticle[2], assparticle[3], assparticle[4], assparticle[5], assparticle[6], assparticle[7], assparticle[8], assparticle[9]));
-             AliInfo(Form("Minimum ChiSquare for current set   %d ", chisquare));
-             AliInfo(Form("Confidence Level (Minimum ChiSquare) %d", confLevel));
+             AliInfo(Form("Minimum ChiSquare for current set   %f ", chisquare));
+             AliInfo(Form("Confidence Level (Minimum ChiSquare) %f", confLevel));
            }
            if (strstr(option,"visual") && itimes && (itimes%kUPDATE) == 0) {
              if (itimes == kUPDATE){
@@ -481,10 +481,10 @@ void AliTOFT0::Exec(Option_t *option)
     nmisidentified=(nmisidentified0+nmisidentified1+nmisidentified2+nmisidentified3+nmisidentified4+nmisidentified5+nmisidentified6+nmisidentified7+nmisidentified8+nmisidentified9);
     AliInfo(Form("total number of tracks token into account  %i", 10*5*fNevents));
     Float_t badPercentage=100.*(Float_t)nmisidentified/(10*5*fNevents);
-    AliInfo(Form("total misidentified                       %i (%d %) ", nmisidentified, badPercentage));
+    AliInfo(Form("total misidentified                       %i (%d %%) ", nmisidentified, badPercentage));
     AliInfo(Form("Total Number of set token into account     %i", 5*fNevents));
     Float_t goodSetPercentage=100.*(Float_t)ngood/(5*fNevents);
-    AliInfo(Form("Number of set with no misidentified tracks %i (%d %)", ngood, goodSetPercentage));
+    AliInfo(Form("Number of set with no misidentified tracks %i (%d %%)", ngood, goodSetPercentage));
   }
 
   // free used memory for canvas
index 5572055686a320ed40e5823c04ab480a4f446b93..b977a648d8b6e306d111a035dbab320f90fff04f 100644 (file)
@@ -1406,7 +1406,7 @@ Int_t AliTOFcalib::Calibrate(Int_t nch, Int_t *ch, Option_t *optionSave, Option_
       ntracksTotal+=nentries/3;
     }
     if (ntracksTotal < MEANENTRIES) {
-      AliInfo(Form(" Too small mean number of entires in channel %i (number of tracks = %f), not calibrating channel and continuing.....",i,ntracksTotal));
+      AliInfo(Form(" Too small mean number of entires in channel %i (number of tracks = %d), not calibrating channel and continuing.....",i,ntracksTotal));
       continue;
     }
   
@@ -1522,7 +1522,7 @@ Int_t AliTOFcalib::CalibrateFromProfile(Int_t ich, Option_t *optionSave, Option_
   }
 
   if (ntracksTotal < MEANENTRIES) {  
-    AliInfo(Form(" Too small mean number of entires per channel (mean number = %f) not calibrating and exiting.....",ntracksTotal));
+    AliInfo(Form(" Too small mean number of entires per channel (mean number = %d) not calibrating and exiting.....",ntracksTotal));
     return 2;
   }
 
@@ -1621,7 +1621,7 @@ Int_t AliTOFcalib::Calibrate(Option_t *optionSave, Option_t *optionFit){
       ntracksTotal+=nentries/3;
     }
     if (ntracksTotal < MEANENTRIES) {
-      AliInfo(Form(" Too small mean number of entires in channel %i (number of tracks = %f), not calibrating channel and continuing.....",ii,ntracksTotal));
+      AliInfo(Form(" Too small mean number of entires in channel %i (number of tracks = %d), not calibrating channel and continuing.....",ii,ntracksTotal));
       continue;
     }
     Float_t meantime=0;
index 0378f577b02845574ca831de891aea93cc9cdfcf..70f87e4d7826a45c4f5047f829fecb22d35927bb 100644 (file)
@@ -175,7 +175,7 @@ void AliTOFrawData::Update(Int_t tof, Int_t tot, Int_t leading, Int_t trailing,
   //  to evaluate the time-of-flight and time-over-threshold measurements
   //
 
-  AliDebug(2,Form(" %10.0f %10.0f %10.0f %1i %1i %1i",tof, tot, leading, psBit, acq, errorFlag));
+  AliDebug(2,Form(" %d %d %d %d %d %d",tof, tot, leading, psBit, acq, errorFlag));
 
   if (fLeading!=-1 /*&& fTime==-1*/ && fToT==-1 && trailing!=-1) { // adc
 
index 0686365f1a4e180ac5d043dd35d02761b2c4f82c..6acfc41088b8b7dc778b0eb29fdf1fca48e37fe1 100644 (file)
@@ -271,7 +271,7 @@ Int_t AliTOFtrackerV1::PropagateBack(AliESDEvent * const event) {
                        covB[13],covA[13],
                        covB[14],covA[14]
                        ));
-       AliDebug(3,Form(" %6d  %f %f %f %f % %6d %3d %f  %f %f %f %f %f",
+       AliDebug(3,Form(" %6d  %f %f %f %f %f %6d %3d %f  %f %f %f %f %f",
                        i,
                        t->GetTOFsignalRaw(),
                        t->GetTOFsignal(),
index aa3c856894fe32deea3cc1d45a8d2c57a1ec8588..82f49bca8498e637c829266252da93f1af4abd0d 100644 (file)
@@ -378,10 +378,10 @@ void AliTOFv6T0::TOFpc(Float_t xtof, Float_t ytof, Float_t zlenA)
   //
 
   AliDebug(1, "************************* TOF geometry **************************");
-  AliDebug(1,Form(" xtof   %d",  xtof));
-  AliDebug(1,Form(" ytof   %d",  ytof));
-  AliDebug(1,Form(" zlenA   %d", zlenA));
-  AliDebug(2,Form(" zlenA*0.5 = %d", zlenA*0.5));
+  AliDebug(1,Form(" xtof   %f",  xtof));
+  AliDebug(1,Form(" ytof   %f",  ytof));
+  AliDebug(1,Form(" zlenA   %f", zlenA));
+  AliDebug(2,Form(" zlenA*0.5 = %f", zlenA*0.5));
 
   Float_t xFLT, yFLT, zFLTA;
   xFLT  = xtof     - 2.*fgkModuleWallThickness;