]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliMillePede2.cxx
fixed memory leak
[u/mrichter/AliRoot.git] / STEER / AliMillePede2.cxx
index 281a110ca9fdf9794c2b7e08a7c40e07976411dc..7540eb4ae631001bde378e741931021301d8bb81 100644 (file)
@@ -239,7 +239,7 @@ Bool_t AliMillePede2::InitDataRecStorage(Bool_t read)
     fTreeData = (TTree*)fDataRecFile->Get("AliMillePedeRecords_Data");
     if (!fTreeData) {AliFatal(Form("Did not find data records tree in %s",GetDataRecFName())); return kFALSE;}
     fTreeData->SetBranchAddress("Record_Data",&fRecord);
-    AliInfo(Form("Found %l derivatives records",fTreeData->GetEntries()));
+    AliInfo(Form("Found %lld derivatives records",fTreeData->GetEntries()));
   }
   else {
     fTreeData = new TTree("AliMillePedeRecords_Data","Data Records for AliMillePede2");
@@ -268,7 +268,7 @@ Bool_t AliMillePede2::InitConsRecStorage(Bool_t read)
     fTreeConstr = (TTree*)fConsRecFile->Get("AliMillePedeRecords_Constraints");
     if (!fTreeConstr) {AliInfo(Form("Did not find constraints records tree in %s",GetConsRecFName())); return kFALSE;}
     fTreeConstr->SetBranchAddress("Record_Constraints",&fRecord);
-    AliInfo(Form("Found %l constraints records",fTreeConstr->GetEntries()));
+    AliInfo(Form("Found %lld constraints records",fTreeConstr->GetEntries()));
     //
   }
   else {
@@ -775,7 +775,7 @@ Int_t AliMillePede2::GlobalFitIteration()
   Long_t last  = fSelLast<1   ? ndr : (fSelLast>=ndr ? ndr : fSelLast+Long_t(1));
   ndr = last - first;
   //
-  AliInfo(Form("Building the Global matrix from data records %l : %l",first,last));
+  AliInfo(Form("Building the Global matrix from data records %ld : %ld",first,last));
   if (ndr<1) return 0;
   //
   TStopwatch swt; swt.Start();