Changeset 15530 for trunk/Mars/fact


Ignore:
Timestamp:
05/08/13 00:19:06 (12 years ago)
Author:
Daniela Dorner
Message:
bugfix: variable night was not treated properly so that insert did not work
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/fact/processing/numevents.C

    r15529 r15530  
    2424    //and only data runs
    2525    query+=" WHERE fRunTypeKEY=1 ";
    26     query+=" AND fNight>"+night;
     26    query+=" AND fNight="+night;
    2727    //query+=" AND fRunID=128 ";
    2828    if (pernight)
    2929        query+=" GROUP BY fNight";
    3030
    31     //cout << "Q: " << query << endl;
     31    cout << "Q: " << query << endl;
    3232
    3333    //post the query
     
    209209                    " fNumBgEvts=%6.1f, "
    210210                    " fNumSigEvts=%6.1f, "
    211                     " fNumExcEvts=%6.1f "
     211                    " fNumExcEvts=%6.1f ",
    212212                    fNumEvtsAfterQualCuts,
    213213                    fNumEvtsAfterBgCuts,
Note: See TracChangeset for help on using the changeset viewer.