Ignore:
Timestamp:
12/22/08 14:47:10 (16 years ago)
Author:
snruegam
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r9006 r9196  
    3636// the macro can be executed either for a night or for a range of runnumbers
    3737// or for all nights
    38 // .x doexclusions.C+("night")
    39 // .x doexclusions.C+(startrun,stoprun)
     38// .x doexclusions.C+("night", telnum)
     39// .x doexclusions.C+(startrun,stoprun, telnum)
    4040// .x doexclusions.C+
    4141//
     
    121121    cout << "Connected to " << serv.GetName() << endl;
    122122    cout << "Date:      " << date << endl;
     123    cout << "Telescope: " << tel << endl;
    123124
    124125    serv.SetIsDummy(dummy);
     
    185186        {
    186187            TString vars(Form("fExcludedFDAKEY=%s", key.Data()));
    187             TString where(Form("fRunNumber=%s AND fFileNumber=%s", (*row2)[0], (*row2)[1]));
     188            TString where(Form("fRunNumber=%s AND fFileNumber=%s AND fTelescopeNumber=%d", (*row2)[0], (*row2)[1], tel));
    188189
    189190            if (serv.Update("RunData", vars, where)==kFALSE)
Note: See TracChangeset for help on using the changeset viewer.