Ignore:
Timestamp:
08/05/05 18:33:55 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/datacenter/macros
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/macros/filldotraw.C

    r7260 r7265  
    133133}
    134134
    135 Int_t Process(MSQLServer &serv, TString fname, Bool_t dummy)
     135int Process(MSQLServer &serv, TString fname, Bool_t dummy)
    136136{
    137137    MRawRunHeader h;
     
    165165}
    166166
    167 Int_t filldotraw(TString fname, Bool_t dummy=kTRUE)
     167int filldotraw(TString fname, Bool_t dummy=kTRUE)
    168168{
    169169    TEnv env("sql.rc");
     
    186186}
    187187
    188 Int_t filldotraw(Int_t runno, Bool_t dummy=kTRUE)
     188int filldotraw(Int_t runno, Bool_t dummy=kTRUE)
    189189{
    190190    TEnv env("sql.rc");
  • trunk/MagicSoft/Mars/datacenter/macros/fillsinope.C

    r7262 r7265  
    9494    for (Int_t i=0 ; i<9 ; i++)
    9595    {
    96         cout << "value: " << values[i] << endl;
     96//        cout << "value: " << values[i] << endl;
     97//        cout << "str: " << str << endl;
    9798        str = env.GetValue(values[i], "");
    9899        if (str.IsNull())
     
    174175    }
    175176
    176     TString fname(Form("%s/sinope/%s/sinope%08d.txt",
     177    TString fname(Form("%s/sinope/%s/sinope-dat%08d.txt",
    177178                       datapath.Data(), date.Data(), runno));
    178179    cout << "file: " << fname << endl;
     
    180181                        datapath.Data(), date.Data(), runno));
    181182    cout << "file-cal: " << fnamecal << endl;
    182 
    183     fname="/home/bla/Mars.cvs/bla.txt";
    184     fnamecal="/home/bla/Mars.cvs/blacal.txt";
    185183
    186184    Int_t rc=0;
     
    190188
    191189    rc=Process(serv, fnamecal, runno, kTRUE, dummy);
    192 
    193190    return rc;
    194 
    195191}
  • trunk/MagicSoft/Mars/datacenter/macros/getdolist.C

    r7256 r7265  
    112112    query+=Form(" ORDER BY %s.%s DESC ", table.Data(), rc.GetValue(table+".Primary", ""));
    113113
     114    if (table="RunProcessStatus")
     115        query+="LIMIT 0, 500";
     116
    114117    cout << "query: " << query << endl;
    115118
    116119    TSQLResult *res = serv.Query(query);
    117120    if (!res)
     121    {
     122        cout << "ERROR - Query failed: " << query << endl;
    118123        return 0;
     124    }
    119125
    120126
  • trunk/MagicSoft/Mars/datacenter/macros/setupdb.C

    r7262 r7265  
    595595         "  fCaCoFileFound         INT       UNSIGNED   NULL,"
    596596         "  fRawFileAvail          DATETIME             NULL,"
    597          "  fFillDotRaw            DATETIME             NULL,"
     597         "  fDataCheckDone         DATETIME             NULL,"
    598598         "  fTimingCorrection      DATETIME             NULL,"
    599599         "  fMerpp                 DATETIME             NULL,"
Note: See TracChangeset for help on using the changeset viewer.