Changeset 7073
- Timestamp:
- 05/20/05 15:44:18 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r7072 r7073 204 204 return ReadContainer(cont); 205 205 } 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 239 207 // -------------------------------------------------------------------------- 240 208 // -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r7071 r7073 1991 1991 if (fIsPixelCheck) 1992 1992 { 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(""); 1999 1995 2000 1996 if (IsRelTimes()) 2001 1997 { 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(""); 2007 2000 } 2008 2001 }
Note:
See TracChangeset
for help on using the changeset viewer.