Ignore:
Timestamp:
08/04/05 20:09:28 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/sinope.cc

    r7259 r7262  
    117117    {
    118118        gLog << warn << "No entries processed..." << endl;
    119         return kFALSE;
     119
     120        ofstream fout(Form("%stxt", kOutpath.Data()));
     121        if (!fout)
     122        {
     123            gLog << err << "Cannot open file: " << strerror(errno) << endl;
     124            return kERROR;
     125        }
     126
     127        fout << "Events:         " << events << endl;
     128        fout << endl;
     129
     130        return kTRUE;
    120131    }
    121132
     
    164175
    165176    fout << "Events:         " << events << endl;
    166     fout << "HasSignals:     " << (fwhm1>10?"No":"Yes") << endl;
    167     fout << "HasPedestal:    " << (fwhm1<20?"No":"Yes") << endl;
     177    fout << "HasSignal:      " << (fwhm1>10?"no":"yes") << endl;
     178    fout << "HasPedestal:    " << (fwhm1<20?"no":"yes") << endl;
    168179    fout << endl;
    169180    fout << "PositionSignal: " << h1.GetMaximumBin()-1 << endl;
    170181    fout << "PositionFWHM:   " << fwhm1 << endl;
    171     fout << "PositionAsym:   " << (asym1?"Yes":"No") << endl;
     182    fout << "PositionAsym:   " << (asym1?"yes":"no") << endl;
    172183    fout << endl;
    173184    fout << "HeightSignal:   " << h2.GetMaximumBin()-1 << endl;
    174185    fout << "HeightFWHM:     " << fwhm2 << endl;
    175     fout << "HeightAsym:     " << (asym2?"Yes":"No") << endl;
     186    fout << "HeightAsym:     " << (asym2?"yes":"no") << endl;
    176187    fout << endl;
    177188
Note: See TracChangeset for help on using the changeset viewer.