]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliMillePede2.cxx
Forgotten to commit in previous commit
[u/mrichter/AliRoot.git] / STEER / AliMillePede2.cxx
index 2c6402d45798e09aa112464cd1550b179e9d1e59..66a0530e7a121494bd02e65db20eafd568f7b5ee 100644 (file)
@@ -1004,7 +1004,7 @@ Int_t AliMillePede2::SolveGlobalMatEq()
   if (!res) {
     const char* faildump = "fgmr_failed.dat";
     int defout = dup(1);
-    int slvDump = open(faildump, O_RDWR|O_CREAT);
+    int slvDump = open(faildump, O_RDWR|O_CREAT, 0666);
     dup2(slvDump,1);
     //
     printf("#Failed to solve using solver %d with PreCond: %d MaxIter: %d Tol: %e NKrylov: %d\n",
@@ -1119,7 +1119,7 @@ Int_t AliMillePede2::PrintGlobalParameters() const
 Bool_t AliMillePede2::IsRecordAcceptable() const
 {
   // validate record according run lists set by the user
-  static Long_t prevRunID = 0xffffffffff;
+  static Long_t prevRunID = kMaxInt;
   static Bool_t prevAns   = kTRUE;
   Long_t runID = fRecord->GetRunID();
   if (runID!=prevRunID) {