Changeset 7262 for trunk/MagicSoft/Mars/sinope.cc
- Timestamp:
- 08/04/05 20:09:28 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/sinope.cc
r7259 r7262 117 117 { 118 118 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; 120 131 } 121 132 … … 164 175 165 176 fout << "Events: " << events << endl; 166 fout << "HasSignal s: " << (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; 168 179 fout << endl; 169 180 fout << "PositionSignal: " << h1.GetMaximumBin()-1 << endl; 170 181 fout << "PositionFWHM: " << fwhm1 << endl; 171 fout << "PositionAsym: " << (asym1?" Yes":"No") << endl;182 fout << "PositionAsym: " << (asym1?"yes":"no") << endl; 172 183 fout << endl; 173 184 fout << "HeightSignal: " << h2.GetMaximumBin()-1 << endl; 174 185 fout << "HeightFWHM: " << fwhm2 << endl; 175 fout << "HeightAsym: " << (asym2?" Yes":"No") << endl;186 fout << "HeightAsym: " << (asym2?"yes":"no") << endl; 176 187 fout << endl; 177 188
Note:
See TracChangeset
for help on using the changeset viewer.