Changeset 5056 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 09/16/04 00:08:33 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mcalib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibColorSet.cc
r5010 r5056 232 232 if (proj.Contains(gre0)) 233 233 { fPattern |= k01LedGreen; color = kGREEN; } 234 TRegexp gre1(" [1][lL]?[eE]?[dD]?[sS]?[gG][rR][eE][eE]");234 TRegexp gre1("1[lL]?[eE]?[dD]?[sS]?[gG][rR][eE][eE]"); 235 235 if (proj.Contains(gre1)) 236 236 { fPattern |= k1LedGreen; color = kGREEN; } … … 255 255 256 256 // Possible green combinations 257 TRegexp blu0(" [0.1][lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]");257 TRegexp blu0("0.1[lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]"); 258 258 if (proj.Contains(blu0)) 259 259 { fPattern |= k01LedBlue; color = kBLUE; } 260 TRegexp blu1(" [1][lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]");260 TRegexp blu1("1[lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]"); 261 261 if (proj.Contains(blu1)) 262 262 { fPattern |= k1LedBlue; color = kBLUE; } 263 TRegexp blu2(" [2][lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]");263 TRegexp blu2("2[lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]"); 264 264 if (proj.Contains(blu2)) 265 265 { fPattern |= k2LedBlue; color = kBLUE; } 266 TRegexp blu3(" [3][lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]");266 TRegexp blu3("3[lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]"); 267 267 if (proj.Contains(blu3)) 268 268 { fPattern |= k3LedBlue; color = kBLUE; } 269 TRegexp blu5(" [5][lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]");269 TRegexp blu5("5[lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]"); 270 270 if (proj.Contains(blu5)) 271 271 { fPattern |= k5LedBlue1; color = kBLUE; } 272 TRegexp blu6(" [6][lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]");272 TRegexp blu6("6[lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]"); 273 273 if (proj.Contains(blu6)) 274 274 { fPattern |= k6LedBlue; color = kBLUE; } 275 TRegexp blu7(" [7][lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]");275 TRegexp blu7("7[lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]"); 276 276 if (proj.Contains(blu7)) 277 277 { fPattern |= k7LedBlue; color = kBLUE; } 278 TRegexp blu8(" [8][lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]");278 TRegexp blu8("8[lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]"); 279 279 if (proj.Contains(blu8)) 280 280 { fPattern |= k8LedBlue; color = kBLUE; } 281 TRegexp blu10(" [10][lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]");281 TRegexp blu10("10[lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]"); 282 282 if (proj.Contains(blu10)) 283 283 { fPattern |= k10LedBlue; color = kBLUE; } 284 TRegexp blu15(" [15][lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]");284 TRegexp blu15("15[lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]"); 285 285 if (proj.Contains(blu15)) 286 286 { fPattern |= k15LedBlue; color = kBLUE; } 287 TRegexp blu20(" [20][lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]");287 TRegexp blu20("20[lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]"); 288 288 if (proj.Contains(blu20)) 289 289 { fPattern |= k20LedBlue; color = kBLUE; } 290 TRegexp blu21(" [21][lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]");290 TRegexp blu21("21[lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]"); 291 291 if (proj.Contains(blu21)) 292 292 { fPattern |= k21LedBlue; color = kBLUE; } 293 TRegexp blu22(" [22][lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]");293 TRegexp blu22("22[lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]"); 294 294 if (proj.Contains(blu22)) 295 295 { fPattern |= k22LedBlue; color = kBLUE; } 296 TRegexp blu23(" [23][lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]");296 TRegexp blu23("23[lL]?[eE]?[dD]?[sS]?[bB][lL][uU][eE]"); 297 297 if (proj.Contains(blu23)) 298 298 { fPattern |= k23LedBlue; color = kBLUE; } -
trunk/MagicSoft/Mars/mcalib/MCalibColorSteer.cc
r5055 r5056 148 148 fChargeCalc = (MCalibrationChargeCalc*)tlist->FindObject("MCalibrationChargeCalc"); 149 149 150 *fLog << inf << " Found MHCalibrationChargeCam ... " << endl;150 *fLog << inf << "Found MHCalibrationChargeCam ... " << flush; 151 151 152 152 if (!fIntensCharge) … … 179 179 fRelTimeCalc = (MCalibrationRelTimeCalc*)tlist->FindObject(AddSerialNumber("MCalibrationRelTimeCalc")); 180 180 181 *fLog << inf << GetDescriptor() 182 << ": Found MHCalibrationRelTimeCam ... " << endl; 181 *fLog << inf << "Found MHCalibrationRelTimeCam ... " << flush; 183 182 184 183 if (!fIntensRelTime) … … 223 222 // 224 223 *fLog << inf << GetDescriptor() << " : Finalize calibration histograms..." << flush; 225 if (Finalize("MHCalibrationChargeCam")) *fLog << "MHCalibrationChargeCam";226 if (Finalize("MHCalibrationChargeBlindCam")) 227 if (Finalize("MHCalibrationRelTimeCam")) *fLog << "MHCalibrationRelTimeCam";228 if (Finalize("MHCalibrationTestCam")) *fLog << "MHCalibrationChargeCam";229 if (Finalize("MHCalibrationTestTimeCam")) *fLog << "MHCalibrationChargeCam";224 if (Finalize("MHCalibrationChargeCam")) *fLog << "MHCalibrationChargeCam"; 225 if (Finalize("MHCalibrationChargeBlindCam")) *fLog << "MHCalibrationChargeBlindCam"; 226 if (Finalize("MHCalibrationRelTimeCam")) *fLog << "MHCalibrationRelTimeCam"; 227 if (Finalize("MHCalibrationTestCam")) *fLog << "MHCalibrationChargeCam"; 228 if (Finalize("MHCalibrationTestTimeCam")) *fLog << "MHCalibrationChargeCam"; 230 229 231 230 // 232 231 // Finalize possible calibration calculation tasks 233 232 // 233 *fLog << endl; 234 234 *fLog << inf << GetDescriptor() << " : Finalize calibration calculations..." << flush; 235 235 if (fChargeCalc) … … 273 273 { 274 274 275 *fLog << endl; 276 275 277 if (fIntensBad) 276 278 { … … 288 290 *fLog << inf << "New MCalibrationQECam with " << GetNamePattern() << endl; 289 291 } 290 if (fIntens RelTime)291 { 292 fIntens RelTime->AddToList(Form("MCalibrationRelTimeCam%s",GetNamePattern()),*fGeom);293 *fLog << inf << "New MCalibration RelTimeCam with " << GetNamePattern() << endl;292 if (fIntensBlind) 293 { 294 fIntensBlind->AddToList(Form("MCalibrationBlindCam%s",GetNamePattern()),*fGeom); 295 *fLog << inf << "New MCalibrationBlindCam with " << GetNamePattern() << endl; 294 296 } 295 297 … … 357 359 number[MCalibrationCam::kCT1] += 1; 358 360 359 TString result ;361 TString result = ""; 360 362 361 363 for (Int_t i=0; i<MCalibrationCam::gkNumPulserColors; i++)
Note:
See TracChangeset
for help on using the changeset viewer.