Setting of run number for the CDB manager deleted (fixing bug)
authorgvolpe <gvolpe@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 10 Oct 2012 14:37:08 +0000 (14:37 +0000)
committergvolpe <gvolpe@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 10 Oct 2012 14:37:08 +0000 (14:37 +0000)
HMPID/AliHMPIDQAChecker.cxx

index 5ba3d82..533884c 100644 (file)
@@ -618,10 +618,11 @@ void AliHMPIDQAChecker::InitOnlineThresholds()
     
   AliCDBManager* man = AliCDBManager::Instance(); 
   if(!man)  {     fIsOnlineThr = kFALSE;     return;   }
-  man->SetRun(AliQAChecker::Instance()->GetRunNumber()); //this should be the normal code
+  
+//  man->SetRun(AliQAChecker::Instance()->GetRunNumber()); //this should be the normal code
  //  man->SetSpecificStorage("GRP/Calib/QAThresholds","local://$ALICE_ROOT/OCDB/");// need for development machine testing
 
-  if( !man->Get("GRP/Calib/QAThresholds") )  {     fIsOnlineThr = kFALSE;    return;    }
+  if(!man->Get("GRP/Calib/QAThresholds"))  {     fIsOnlineThr = kFALSE;    return;    }
  
   AliCDBEntry* entry = man->Get("GRP/Calib/QAThresholds");
   if(!entry)    {     fIsOnlineThr = kFALSE;    return;    }