Changeset 7073


Ignore:
Timestamp:
05/20/05 15:44:18 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mjobs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc

    r7072 r7073  
    204204    return ReadContainer(cont);
    205205}
    206 /*
    207 Bool_t MJCalibrateSignal::ReadExtractorCosmics(MExtractor* &ext1) const
    208 {
    209 
    210   const TString fname = Form("pedy%08d.root",fSequence.GetSequence());
    211 
    212   *fLog << inf << "Reading from file: " << fname << endl;
    213 
    214   TFile file(fname, "READ");
    215   if (!file.IsOpen())
    216     {
    217       *fLog << warn << "Could not find or open file " << fname << endl;
    218       return kFALSE;
    219     }
    220 
    221   TObject *o = file.Get("ExtractSignal");
    222   if (o && !o->InheritsFrom(MExtractor::Class()))
    223     {
    224       *fLog << err << dbginf << "ERROR - ExtractSignal read from " << fname << " doesn't inherit from MExtractor!" << endl;
    225       return kFALSE;
    226     }
    227   if (o)
    228     {
    229       delete ext1;
    230       ext1 = (MExtractor*)o->Clone();
    231     }
    232   else
    233     *fLog << warn << "No signal extractor found in " << fname << endl;
    234 
    235   file.Close();
    236   return kTRUE;
    237 }
    238 */
     206
    239207// --------------------------------------------------------------------------
    240208//
  • trunk/MagicSoft/Mars/mjobs/MJCalibration.cc

    r7071 r7073  
    19911991    if (fIsPixelCheck)
    19921992    {
    1993         MHCalibrationChargeCam *hcam = (MHCalibrationChargeCam*)plist.FindObject("MHCalibrationChargeCam");
    1994         MHCalibrationChargePix &pix1 = (MHCalibrationChargePix&)(*hcam)[fCheckedPixId];
    1995         pix1.DrawClone("");
    1996 
    1997         MHCalibrationChargePix &pix2 = (MHCalibrationChargePix&)(*hcam)(fCheckedPixId);
    1998         pix2.DrawClone("");
     1993        chargecam[fCheckedPixId].DrawClone("");
     1994        chargecam(fCheckedPixId).DrawClone("");
    19991995
    20001996        if (IsRelTimes())
    20011997        {
    2002             MHCalibrationRelTimeCam *hccam = (MHCalibrationRelTimeCam*)plist.FindObject("MHCalibrationRelTimeCam");
    2003             MHCalibrationPix &pix11 = (*hccam)[fCheckedPixId];
    2004             pix11.DrawClone("");
    2005             MHCalibrationPix &pix12 = (*hccam)(fCheckedPixId);
    2006             pix12.DrawClone("");
     1998            reltimecam[fCheckedPixId].DrawClone("");
     1999            reltimecam(fCheckedPixId).DrawClone("");
    20072000        }
    20082001    }
Note: See TracChangeset for help on using the changeset viewer.