Changeset 12527 for fact/tools/rootmacros/fbsl.C
- Timestamp:
- 11/15/11 20:54:13 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/rootmacros/fbsl.C
r12518 r12527 134 134 135 135 BookHistos( RegionOfInterest, npixel ); 136 136 size_t calib_RC = 1; 137 137 138 // loop over events 138 139 for ( int ev = firstevent; ev < firstevent + nevents; ev++) { … … 151 152 // apply the Drs Calibration and cut off 12 slices at the beginning 152 153 // and at the end. 153 applyDrsCalibration( Ameas,pix,12,12,154 calib_RC = applyDrsCalibration( Ameas,pix,12,12, 154 155 Offset, Gain, TriggerOffset, 155 156 RegionOfInterest, Data, StartCells); 157 if (calib_RC == 0){ 158 break; 159 } 156 160 157 161 // finds spikes in the raw data, and interpolates the value … … 168 172 } 169 173 } 170 } 174 175 if (calib_RC == 0){ 176 break; 177 } 178 179 } 180 181 182 if (calib_RC == 0){ 183 cout << "DRS Calibration didn't work ... aborting" << endl; 184 return 2; 185 } 171 186 172 187 FILE *fp;
Note:
See TracChangeset
for help on using the changeset viewer.