Ignore:
Timestamp:
08/04/05 16:23:53 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7232 r7259  
    257257        return kFALSE;
    258258
    259     TString fname(Form("%s/sequences/%04d/sequence%08d.txt", sequpath.Data(), atoi(data[0])/10000, atoi(data[0])));
     259    TString fname(Form("%s/%04d/sequence%08d.txt", sequpath.Data(), atoi(data[0])/10000, atoi(data[0])));
    260260    cout << "Creating " << fname << "..." << flush;
    261261
     
    267267    }
    268268
    269     fout << "Sequence:        " << data[0] << endl;
    270     fout << "Period:          " << period  << endl;
    271     fout << "Night:           " << date    << endl;
    272     fout << "LightConditions: " << str[5] << endl;
    273     fout << endl;
    274     fout << "Start:           " << data[8] << endl;
    275     fout << "LastRun:         " << data[1] << endl;
    276     fout << "Project:         " << str[0]  << endl;
    277     fout << "Source:          " << str[1]  << endl;
    278     fout << "L1TriggerTable:  " << str[2]  << endl;
    279     fout << "L2TriggerTable:  " << str[3]  << endl;
    280     fout << "HvSettings:      " << str[4]  << endl;
    281     fout << "NumEvents:       " << data[9] << endl;
     269    fout << "Sequence:        " << data[0]  << endl;
     270    fout << "Period:          " << period   << endl;
     271    fout << "Night:           " << date     << endl;
     272    fout << "LightConditions: " << str[5]   << endl;
     273    fout << endl;
     274    fout << "Start:           " << data[8]  << endl;
     275    fout << "LastRun:         " << data[1]  << endl;
     276    fout << "Project:         " << str[0]   << endl;
     277    fout << "Source:          " << str[1]   << endl;
     278    fout << "ZdMin:           " << data[10] << endl;
     279    fout << "ZdMax:           " << data[11] << endl;
     280    fout << "L1TriggerTable:  " << str[2]   << endl;
     281    fout << "L2TriggerTable:  " << str[3]   << endl;
     282    fout << "HvSettings:      " << str[4]   << endl;
     283    fout << "NumEvents:       " << data[9]  << endl;
    282284    fout << endl;
    283285
     
    327329    TString query(Form("SELECT fSequenceFirst, fSequenceLast, fProjectKEY, fSourceKEY,"
    328330                       " fL1TriggerTableKEY, fL2TriggerTableKEY, fHvSettingsKEY, "
    329                        " fLightConditionsKEY, fRunStart, fNumEvents"
     331                       " fLightConditionsKEY, fRunStart, fNumEvents, "
     332                       " fZenithDistanceMin, fZenithDistanceMax "
    330333                       " FROM Sequences WHERE fSequenceFirst=%d", sequno));
    331334    TSQLResult *res = serv.Query(query);
Note: See TracChangeset for help on using the changeset viewer.