Better precision of the equalization factors.
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 13 Nov 2011 13:26:34 +0000 (13:26 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 13 Nov 2011 13:26:34 +0000 (13:26 +0000)
VZERO/AliVZEROPreprocessor.cxx
VZERO/VZEROPbPbda.cxx

index 8b85523..aaeb814 100644 (file)
@@ -231,7 +231,7 @@ UInt_t AliVZEROPreprocessor::Process(TMap* dcsAliasMap)
 
     // Check that everything was properly transmitted
     printf("Equalization factors (0->64): ");
-    for(Int_t j=0; j<64; ++j) printf("%.3f ",alpha[j+1]);
+    for(Int_t j=0; j<64; ++j) printf("%.5f ",alpha[j+1]);
     printf("\n");
 
     eqFactors->SetContent(alpha);
index 18d713e..191d679 100644 (file)
@@ -256,8 +256,8 @@ int main(int argc, char **argv) {
     for(int i = 0; i < 64; ++i) fMedian[i]->GetQuantiles(1,&beta[i],&q);
 
     for(Int_t i=0; i<64; i++) {
-      fprintf(fp," %d %.3f\n",GetOfflineChannel(i), beta[i]*64.);                                     
-      printf(" %d %.3f\n",GetOfflineChannel(i), beta[i]*64.);                                 
+      fprintf(fp," %d %.5f\n",GetOfflineChannel(i), beta[i]*64.);                                     
+      printf(" %d %.5f\n",GetOfflineChannel(i), beta[i]*64.);                                 
     }
 
     /* close local result file and FXS result file*/