update following table schema change in DAQ
authorjgrosseo <jgrosseo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 4 Apr 2008 09:55:16 +0000 (09:55 +0000)
committerjgrosseo <jgrosseo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 4 Apr 2008 09:55:16 +0000 (09:55 +0000)
STEER/AliGRPPreprocessor.cxx

index e6561ab..53403cd 100644 (file)
@@ -693,7 +693,7 @@ Int_t AliGRPPreprocessor::ReceivePromptRecoParameters(UInt_t run, const char* db
        
        // main logbook
        TString sqlQuery;
-       sqlQuery.Form("SELECT time_start, run_type, detectorMask FROM logbook WHERE run = %d", run);
+       sqlQuery.Form("SELECT DAQ_time_start, run_type, detectorMask FROM logbook WHERE run = %d", run);
        TSQLResult* result = server->Query(sqlQuery);
        if (!result) 
        {
@@ -719,7 +719,7 @@ Int_t AliGRPPreprocessor::ReceivePromptRecoParameters(UInt_t run, const char* db
        TString runType(row->GetField(1));
        
        TMap grpData;
-       grpData.Add(new TObjString("time_start"), new TObjString(row->GetField(0)));
+       grpData.Add(new TObjString("DAQ_time_start"), new TObjString(row->GetField(0)));
        grpData.Add(new TObjString("run_type"), new TObjString(runType));
        grpData.Add(new TObjString("detectorMask"), new TObjString(row->GetField(2)));