minor changes in the normalization (Marian)
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 8 Oct 2007 07:43:39 +0000 (07:43 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 8 Oct 2007 07:43:39 +0000 (07:43 +0000)
TPC/macros/MakeTreeStat.C

index 06bf9f7..422df2a 100644 (file)
@@ -40,7 +40,6 @@
 
 
 
-
 TTree     *fTree;   // tree of interest
 TObjArray aReport;  // array with branch statistic
 TArrayF   totSize;  // total size for branch
@@ -68,11 +67,14 @@ void PrintSorted(Bool_t zipSort){
     Int_t ib = indexes[i];
     Float_t ratio0= 100.*totSize[ib]/totBytes;
     Float_t ratio1= 100.*zipSize[ib]/zipBytes;
-    if (i==0) 
+    if (i==0) {
       printf("\n------------------------------------------------------------\n");
-
+      printf("%d  \t\t%5.f(%.2f\%)  \t\t%5.f(%.2f\%)  \t%.2f  \t%s\n",i, 
+            totSize[ib],100., zipSize[ib],100., 100.*zipRatio[ib], aReport.At(ib)->GetName());
+    }else{
     printf("%d  \t\t%5.f(%.2f\%)  \t\t%5.f(%.2f\%)  \t%.2f  \t%s\n",i, 
           totSize[ib],ratio0, zipSize[ib],ratio1, 100.*zipRatio[ib], aReport.At(ib)->GetName());
+    }
   }