Ignore:
Timestamp:
09/16/04 00:08:33 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mcalib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MCalibColorSet.cc

    r5010 r5056  
    232232      if (proj.Contains(gre0))
    233233        { 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]");
    235235      if (proj.Contains(gre1))
    236236        { fPattern |= k1LedGreen; color = kGREEN;    }
     
    255255
    256256      // 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]");
    258258      if (proj.Contains(blu0))
    259259        { 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]");
    261261      if (proj.Contains(blu1))
    262262        { 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]");
    264264      if (proj.Contains(blu2))
    265265        { 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]");
    267267      if (proj.Contains(blu3))
    268268        { 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]");
    270270      if (proj.Contains(blu5))
    271271        { 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]");
    273273      if (proj.Contains(blu6))
    274274        { 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]");
    276276      if (proj.Contains(blu7))
    277277        { 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]");
    279279      if (proj.Contains(blu8))
    280280        { 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]");
    282282      if (proj.Contains(blu10))
    283283        { 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]");
    285285      if (proj.Contains(blu15))
    286286        { 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]");
    288288      if (proj.Contains(blu20))
    289289        { 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]");
    291291      if (proj.Contains(blu21))
    292292        { 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]");
    294294      if (proj.Contains(blu22))
    295295        { 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]");
    297297      if (proj.Contains(blu23))
    298298        { fPattern |= k23LedBlue; color = kBLUE;    }
  • trunk/MagicSoft/Mars/mcalib/MCalibColorSteer.cc

    r5055 r5056  
    148148    fChargeCalc   = (MCalibrationChargeCalc*)tlist->FindObject("MCalibrationChargeCalc");
    149149
    150     *fLog << inf << " Found MHCalibrationChargeCam ... " << endl;
     150    *fLog << inf << "Found MHCalibrationChargeCam ... " << flush;
    151151
    152152    if (!fIntensCharge)
     
    179179    fRelTimeCalc   = (MCalibrationRelTimeCalc*)tlist->FindObject(AddSerialNumber("MCalibrationRelTimeCalc"));
    180180
    181     *fLog << inf << GetDescriptor()
    182           << ": Found MHCalibrationRelTimeCam ... " << endl;
     181    *fLog << inf << "Found MHCalibrationRelTimeCam ... " << flush;
    183182
    184183    if (!fIntensRelTime)
     
    223222  //
    224223  *fLog << inf << GetDescriptor() << " : Finalize calibration histograms..." << flush;
    225   if (Finalize("MHCalibrationChargeCam"))   *fLog << "MHCalibrationChargeCam";
    226   if (Finalize("MHCalibrationChargeBlindCam"))    *fLog << "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"; 
    230229
    231230  //
    232231  // Finalize possible calibration calculation tasks
    233232  //
     233  *fLog << endl;
    234234  *fLog << inf << GetDescriptor() << " : Finalize calibration calculations..." << flush;
    235235  if (fChargeCalc)
     
    273273{
    274274
     275  *fLog << endl;
     276 
    275277  if (fIntensBad)
    276278    {
     
    288290      *fLog << inf << "New MCalibrationQECam with " << GetNamePattern() << endl;
    289291    }
    290   if (fIntensRelTime)
    291     {
    292       fIntensRelTime->AddToList(Form("MCalibrationRelTimeCam%s",GetNamePattern()),*fGeom);
    293       *fLog << inf << "New MCalibrationRelTimeCam with " << GetNamePattern() << endl;
     292  if (fIntensBlind)
     293    {
     294      fIntensBlind->AddToList(Form("MCalibrationBlindCam%s",GetNamePattern()),*fGeom);
     295      *fLog << inf << "New MCalibrationBlindCam with " << GetNamePattern() << endl;
    294296    }
    295297
     
    357359    number[MCalibrationCam::kCT1]   += 1;
    358360
    359   TString result;
     361  TString result = "";
    360362 
    361363  for (Int_t i=0; i<MCalibrationCam::gkNumPulserColors; i++)
Note: See TracChangeset for help on using the changeset viewer.