]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
correct warnings
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 20 Jul 2010 10:13:18 +0000 (10:13 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 20 Jul 2010 10:13:18 +0000 (10:13 +0000)
ESDCheck/AliEMCALQATask.cxx
ESDCheck/AliFMDQATask.cxx
ESDCheck/AliPHOSQATask.cxx
ESDCheck/AliTRDQATask.cxx

index 475a11b43619040a084ff7aa20f41460ad680a2d..8184a94287377f6927542811c9731c7af5b16c3b 100644 (file)
@@ -192,14 +192,14 @@ void AliEMCALQATask::Exec(Option_t *)
     AliESDCaloCluster * caloCluster = fESD->GetCaloCluster(emcalCluster) ;
     if (caloCluster) {
       Float_t pos[3] ;
-      if(caloCluster->GetClusterType() == AliESDCaloCluster::kEMCALClusterv1) {  
+      if(caloCluster->GetType() == AliESDCaloCluster::kEMCALClusterv1) {  
        caloCluster->GetPosition(pos) ;
        fhEMCALPos->Fill(pos[0],pos[1],pos[2]) ;
        fhEMCALEnergy->Fill(caloCluster->E()) ;
        fhEMCALDigits->Fill(entry, caloCluster->GetNCells()) ;
        numberOfEmcalClustersv1++ ;
        numberOfDigitsInEmcal += caloCluster->GetNCells() ;    
-       // Float_t * pid = clus->GetPid() ;
+       // const Double_t * pid = clus->GetPID() ;
        // if(pid[AliPID::kPhoton]>0.9){
        emcalVector[numberOfPhotonsInEmcal] = new TVector3(pos[0],pos[1],pos[2]) ;
        emcalPhotonsEnergy[numberOfPhotonsInEmcal] = caloCluster->E() ;
index 956d199dc6463ed5e7f25249a432433f7cd618ea..63980d753398c891b8494ec8e926d4042f22d303 100644 (file)
@@ -174,15 +174,15 @@ void AliFMDQATask::Exec(Option_t *)
   }
 
   if(nFMD1>100+10240)
-    AliWarning(Form("number of missing strips in FMD1i too high in event number %lld in file", entry, fChain->GetCurrentFile()->GetName())) ;
+    AliWarning(Form("number of missing strips in FMD1i too high in event number %lld in file %s", entry, fChain->GetCurrentFile()->GetName())) ;
   if(nFMD2i>100+10240)
-    AliWarning(Form("number of missing strips in FMD2i too high in event number %lld in file", entry, fChain->GetCurrentFile()->GetName())) ;
+    AliWarning(Form("number of missing strips in FMD2i too high in event number %lld in file %s", entry, fChain->GetCurrentFile()->GetName())) ;
   if(nFMD2o>100+10240)
-    AliWarning(Form("number of missing strips in FMD2o too high in event number %lld in file", entry, fChain->GetCurrentFile()->GetName())) ;
+    AliWarning(Form("number of missing strips in FMD2o too high in event number %lld in file %s", entry, fChain->GetCurrentFile()->GetName())) ;
   if(nFMD3i>100+10240)
-    AliWarning(Form("number of missing strips in FMD3i too high in event number %lld in file", entry, fChain->GetCurrentFile()->GetName())) ;
+    AliWarning(Form("number of missing strips in FMD3i too high in event number %lld in file %s", entry, fChain->GetCurrentFile()->GetName())) ;
   if(nFMD3o>100+10240)
-    AliWarning(Form("number of missing strips in FMD3o too high in event number %lld in file", entry, fChain->GetCurrentFile()->GetName())) ;
+    AliWarning(Form("number of missing strips in FMD3o too high in event number %lld in file %s", entry, fChain->GetCurrentFile()->GetName())) ;
   
   PostData(0, fOutputContainer);
 }
index 591769f86c817fc9cea288a025e2e783e47e1264..4fbc929ae7482edceeef48f1e63d23c8105a38cc 100644 (file)
@@ -198,7 +198,7 @@ void AliPHOSQATask::Exec(Option_t *)
       fhPHOSPos->Fill( pos[0], pos[1], pos[2] ) ;
       fhPHOSDigits->Fill(entry, caloCluster->GetNCells() ) ;
       numberOfDigitsInPhos += caloCluster->GetNCells() ;
-      Double_t * pid = caloCluster->GetPid() ;
+      const Double_t * pid = caloCluster->GetPID() ;
       if(pid[AliPID::kPhoton] > 0.9) {
        phosVector[numberOfPhotonsInPhos] = new TVector3(pos[0],pos[1],pos[2]) ;
        phosPhotonsEnergy[numberOfPhotonsInPhos]=caloCluster->E() ;
index 3c691d95116ede3d8bb47b92fbc7e25afa4dcc1e..dac3d819ae494b49a8d261abdff150aa4ea7ece1 100644 (file)
@@ -600,7 +600,7 @@ void AliTRDQATask::DrawGeoESD() const
     if (strstr(opt[i],"colz")) gPad->SetRightMargin(0.1);
     
     hist->Draw(opt[i]);    
-    AliInfo(Form("%s\t%d", names[i], hist->GetEntries()));
+    AliInfo(Form("%s\t%f", names[i], hist->GetEntries()));
   }
   
   cTRDGeo->Print("TRD_Geo.eps");
@@ -733,7 +733,7 @@ void AliTRDQATask::DrawPidESD() const
     if (strstr(names[i],"SigMom")) gPad->SetLogz(1);
 
     hist->Draw(opt[i]);    
-    AliInfo(Form("%s\t%d", names[i], hist->GetEntries()));
+    AliInfo(Form("%s\t%f", names[i], hist->GetEntries()));
   }
    cTRDPid->Print("TRD_Pid.eps");
 }